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

previous scanned map areas disappeared

asked 2015-08-10 04:22:56 -0500

vonyud gravatar image

Currently I am using rtabmap_ros for SLAM and frontier_exploration for exploration. The problems are as followed:

1). The map will not be updated, where there are no obstacles.

2). the previous scanned map areas between the obstacles disappeared.

Thanks in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-08-10 16:35:09 -0500

matlabbe gravatar image

updated 2015-08-10 16:36:17 -0500

Are you using laser scans? You can also check the 3D map projection /rtabmap/proj_map from the Kinect, which fills empty spaces by detecting the floor.

For the map created from laser scans (/rtabmap/grid_map), by default only empty cells between the robot and the obstacles are set as "Empty". If the laser doesn't hit anything, the cells remain "Unknown". On version 0.10.5, the parameter grid_unknown_space_filled can be used:

<node name="rtabmap" pkg="rtabmap_ros" type="rtabmap">
    [...]
    <param name="grid_unknown_space_filled" type="bool"   value="true"/>
</node>

The unknown space between the obstacles should then be filled by "Empty" cells, up to laser scan range.

There is also the parameter map_filter_radius that can make some parts of the map disappearing, you can set to 0 to disable the node filtering. See rtabmap_ros doc.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-08-10 04:17:20 -0500

Seen: 296 times

Last updated: Aug 10 '15