Skip to content

Commit

Permalink
increased scan matching freq and saving the world map
Browse files Browse the repository at this point in the history
  • Loading branch information
patweatharva committed Apr 30, 2024
1 parent 8d22355 commit 65980b9
Show file tree
Hide file tree
Showing 6 changed files with 2,447 additions and 1,603 deletions.
3 changes: 3 additions & 0 deletions include/scan_match_node.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ class ScanHandler
void storeWorldPointCloud(const pcl::PointCloud<pcl::PointXYZ>::Ptr &cloud)
{
map_storedPointClouds_.push_back(cloud);
std::string packagePath = ros::package::getPath("turtlebot_graph_slam");
std::string directory = "/pcl_viz/";
pcl::io::savePCDFileASCII(packagePath + directory + "world_map.pcd", *cloud);
};

private:
Expand Down
Loading

0 comments on commit 65980b9

Please sign in to comment.