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

how to increase resolution of map in yaml file

asked 2021-07-13 07:15:19 -0500

Ivan4815162342 gravatar image


I am using rtabmap to get map of environment. For saving 2D projection of map I type:

rosrun map_server map_saver -f map

As a result I get a yaml file with a resolution is equal to 0.05. Is there a way to increase this resolution?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-07-13 12:02:57 -0500

abhishek47 gravatar image

There's a parameter Grid/CellSize whose value can be modified from the default 0.05 (source code).

As stated in the documentation, call the node rtabmap with --params to show all available parameters.

edit flag offensive delete link more


I tried to launch rtabmap with Grid/CellSize parameter is equal to 0.05 and 0.5 but the resolution in the yaml file was the same for both cases.

Ivan4815162342 gravatar image Ivan4815162342  ( 2021-07-14 06:06:40 -0500 )edit

The parameter may not be correctly set:

<node pkg="rtabmap_ros" type="rtabmap" name="rtabmap" args:="--delete_db_on_start --Grid/CellSize 0.1">


<node pkg="rtabmap_ros" type="rtabmap" name="rtabmap" args:="--delete_db_on_start">
   <param name="Grid/CellSize" value="0.1"/>
matlabbe gravatar image matlabbe  ( 2021-07-30 08:58:03 -0500 )edit

Question Tools

1 follower


Asked: 2021-07-13 07:15:19 -0500

Seen: 328 times

Last updated: Jul 13 '21