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

Changing map_saver map size and resolution?

asked 2012-07-13 04:27:58 -0500

Pi Robot gravatar image

updated 2012-07-13 04:33:04 -0500


When running 'rosrun map_server map_saver -f my_map' to save a map generated by gmapping, the default size of the map appears to be 4000x4000 pixels and the resolution is 0.05 meters. I could have sworn there was a way to change these defaults but now I can't find it. I tried running gmapping with _delta:=0.01 but the map resolution was still 0.05. Can the resolution and map size be changed during map creation?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-07-13 05:19:41 -0500

dornhege gravatar image

gmapping documents xmin, xmax, delta, etc. to set its map size. That should change the size. If it doesn't it's a bug.

edit flag offensive delete link more


Thanks @dornhege. I was able to get the parameters to stick using a launch file around gmapping so perhaps I was just messing up trying to put them on the command line.

Pi Robot gravatar image Pi Robot  ( 2012-07-13 06:52:50 -0500 )edit

Question Tools

1 follower


Asked: 2012-07-13 04:27:58 -0500

Seen: 3,396 times

Last updated: Jul 13 '12