ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Laser scan wont update although decay time set to zero- gmapping

asked 2015-01-28 07:12:49 -0600

AlexR gravatar image


I am having this issue when playing the bag file dropbox link. I recorded this bag file with /scan and /tf on a p3dx which has a UHG-08lx laser sensor. The gmapping works fine. But the laser scans wont update and accumulate into the map, although the decay time is set to zero. This problem is for every bag file that I record. See attached screenshot

Can someone suggest as to why this is happening and how can I resolve it.


edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2015-01-28 11:48:35 -0600

AlexR gravatar image

ok i figured out the problem. I was not playing the bag file with the clock running. I was only playing using $r rosbag play bagfile.bag , when inserting the --clock topic in the end the scans are updating nicely. Thanks for looking into the problem.

edit flag offensive delete link more

answered 2015-01-28 09:35:43 -0600

dornhege gravatar image

Decay time of 0 in rviz means to not accumulate.

edit flag offensive delete link more


Hi, as you can see from the screenshot the decay time is set to 0. But the scans are still accumulating. I dont see the reason. Thanks

AlexR gravatar image AlexR  ( 2015-01-28 10:18:18 -0600 )edit

OK, so the problem is that they do accumulate and you don't want them to? Have you tried just unticking and ticking the display again to reset that? If it still persists to accumulate after that it looks like a bug.

dornhege gravatar image dornhege  ( 2015-01-28 10:31:04 -0600 )edit

I have tried unticking and ticking. This happens only when I am playing the bag file with gmapping, with hector mapping the scan runs fine.

AlexR gravatar image AlexR  ( 2015-01-28 11:15:25 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-01-28 07:12:49 -0600

Seen: 287 times

Last updated: Jan 28 '15