| 47 | } |
| 48 | |
| 49 | std::string getOutputBagPath(const ros::NodeHandle& nh) { |
| 50 | std::string outputRosbagName, folderPath; |
| 51 | nh.param<std::string>("folder_path", folderPath, ""); |
| 52 | nh.param<std::string>("output_grid_map", outputRosbagName, "output_grid_map.bag"); |
| 53 | std::string pathToOutputBag = folderPath + "/" + outputRosbagName; |
| 54 | return pathToOutputBag; |
| 55 | } |
| 56 | |
| 57 | std::string getPcdFilePath(const ros::NodeHandle& nh) { |
| 58 | std::string inputCloudName, folderPath; |