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

Command line parameter to change gmapping resolution

asked 2011-04-27 16:48:33 -0600

BlackManta gravatar image

I have another question with gmapping, is there a parameter that can be set at runtime that will change the resolution of the map generated?
Also is there a paramter to set the size of the map generated?

I am kind of looking for something like this:

rosrun gmapping slam_gmapping scan:=base_scan resolution=1 width=200 height=200

But this doesn't work. I don't want the occupancy grid to be 4k X 4k. Thanks, BM

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2011-04-27 21:47:17 -0600

tfoote gravatar image

You can set the gmapping ROS parameters on the command line using the _PARAM_NAME:=foo See documentation of ROS commandline arguments for Private Parameters on the wiki.

edit flag offensive delete link more

answered 2011-04-29 18:49:17 -0600

BlackManta gravatar image

Thanks that helps a lot!

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2011-04-27 16:48:33 -0600

Seen: 3,147 times

Last updated: Apr 29 '11