Ask Your Question
0

Saving grid map in crsm_slam, how to?

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

AlexR gravatar image

Hi,

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?

Thanks

Alex

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

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

Comments

thank you this solved my problem.

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 988 times

Last updated: Feb 27 '15