Robotics StackExchange | Archived questions

Gmapping map has mixed colors

As shown in the following picture, the resulting map produced by gmapping has mixed color dots. I have only seen gmapping producing maps with black dots for occupied grid, but not with these many colors. Is this normal behavior? If not, what might be wrong?

image description

I am playing a rosbag file, which publishes laser scans, odometry, tf transforms and time (to /clock since I am using usesimtime). I have much more (2 times) odometry messages than laser scan messages.

Asked by zkytony on 2016-09-11 02:03:09 UTC

Comments

Are you sure the colored dots are not the measurements in the LaserScan messages? Try checking the LaserScan checkbox off. Maybe it's set to visualize past measurements as well (see "decay time" field).

Asked by spmaniato on 2016-09-11 05:50:54 UTC

Answers