saving automatically a final map using map_saver

asked 2018-01-25 04:17:39 -0500

StanSmooth gravatar image

updated 2018-01-25 04:18:33 -0500

Hi everyone, I'm currently trying to save a map that I'm creating. For that purpose, I use the map_saver from the map-server package like this :

$ rosrun map_server map_saver map:=robot1/map (something like this)

and it's working fine. Now i would like to use this in a roslaunch. i would like to to execute this command line on a certain condition (for example, when i'm ending my exploration by killing the roslauch) is this possible ?

Thank you in advance !

edit retag flag offensive close merge delete