Gmapping map has mixed colors

asked 2016-09-11 02:03:09 -0500

kaiyu gravatar image

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 use_sim_time). I have much more (2 times) odometry messages than laser scan messages.

edit retag flag offensive close merge delete

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).

spmaniato gravatar image spmaniato  ( 2016-09-11 05:50:54 -0500 )edit