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

Gmapping without landmarks

asked 2015-02-23 12:39:26 -0600

HassanNadeem gravatar image

I am running gmapping on husky bot with hokoyo scanner in gazebo simulation environment. I am experimenting with gmapping in an empty world. Gmapping does not create any map and the map frame jumps around. Why does gmapping not create a map or mark cells as vacant if the laser scanner is not detecting any obstacles. And if the laser scanner can't see any landmarks, why is the map frame not equal to odom frame?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-02-23 15:51:21 -0600

tfoote gravatar image

If there are no obstacles in the world, the laser will not reflect off of anything and give no response. This is an error condition which may have several causes (such as absorptive bodies) and the data cannot be treated as having been cleared to max range. Thus without any obstacles the laser is always reporting no data and gmapping cannot build a map. You can update the configuration to make this work, but it's a very specific edge case which is rarely encountered in the real world and can lead to false negatives on obstacles.

I expect the reason the map is jumping around is that it's trying to optimize based on close to zero data. Almost any point is equally likely so as gmapping samples possible locations different ones win out due to noise in the system.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-02-23 12:39:26 -0600

Seen: 404 times

Last updated: Feb 23 '15