How can I save an Octomap using a launch file?

asked 2018-04-18 04:30:57 -0600

hefver gravatar image

I am running Ubuntu 16.04 with ROS kinetic version. Besides, I am using octomap_server package to obtain an octomap and see it in RVIZ. Now, we need to save this generated octomap. For that, I am using the next command:

$ rosrun octomap_server octomap_saver -f file.ot

It works succesfully and I can save the file. My question is: Is it possible to save the octomap from a launch file? How can I do that?


edit retag flag offensive close merge delete