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

gmapping output very large 4000X4000?

asked 2012-03-20 01:43:28 -0600

prince gravatar image

updated 2012-03-20 03:19:47 -0600


We just ran Pioneer with ROS navigation stack with slam_gmapping node. The output of the map is 4000x4000 (appx. 15 MB) irrespective of size of environment explored.

If I try to use this map for sbpl_lattice_planner, it just waits for the map. I can visualize map in rviz. The map is grey (may be to refer to unknown area). But rviz & system hangs.

Is this behaviour because of big size of map?? I can not find which parameters to use to set map bounds? Any ideas?

Update 1: I tested it one other laptop. I may be because of hardware problem , not able to handle Rviz! is it possible with i5 processor? prince

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-03-20 03:42:50 -0600

Ben_S gravatar image

Have a look at the parameter section of the gmapping documentation. You can set the parameters xmin, xmax, ymin, ymax to some small values (like 5 meters or so). You can also adjust the resolution by setting delta.

Here is an example for an launch file with the values set. (10m x 10m map, 2cm resolution)

Regards Ben

edit flag offensive delete link more


Thanks ben, i got about size.

prince gravatar image prince  ( 2012-03-20 03:53:05 -0600 )edit

hey example link is not working....

cooper gravatar image cooper  ( 2019-05-30 04:16:53 -0600 )edit

Question Tools


Asked: 2012-03-20 01:43:28 -0600

Seen: 12,306 times

Last updated: Mar 20 '12