ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Saving grid map in crsm_slam, how to?

asked 2015-02-24 20:42:53 -0500

AlexR gravatar image


I have been using the crsm_slam package so far nicely. I am however unable to save the grid map using the command :

rosrun map_server map_saver -f map

The node gives the message : Waiting for the map and nothing happens. I had to ctrl-c to kill the map_server, but the map is not saved.

Can someone suggest a way to save the map or what could be the problem?



edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-02-27 08:30:43 -0500

bvbdort gravatar image

By default ros map_saver subscribes to topic name "map" to save grid map.

And by default crsm_slam publishes map on topic "/slam/occupancyGridMap" . check here

So, to save map

 rosrun map_server map_saver map:=/slam/occupancyGridMap -f map
edit flag offensive delete link more


thank you this solved my problem.

AlexR gravatar image AlexR  ( 2015-03-02 05:08:58 -0500 )edit

Question Tools

1 follower


Asked: 2015-02-24 20:42:53 -0500

Seen: 1,248 times

Last updated: Feb 27 '15