| 55 | } |
| 56 | |
| 57 | std::string getPcdFilePath(const ros::NodeHandle& nh) { |
| 58 | std::string inputCloudName, folderPath; |
| 59 | nh.param<std::string>("folder_path", folderPath, ""); |
| 60 | nh.param<std::string>("pcd_filename", inputCloudName, "input_cloud"); |
| 61 | std::string pathToCloud = folderPath + "/" + inputCloudName; |
| 62 | return pathToCloud; |
| 63 | } |
| 64 | |
| 65 | std::string getMapFrame(const ros::NodeHandle& nh) { |
| 66 | std::string mapFrame; |