slam_toolbox icon indicating copy to clipboard operation
slam_toolbox copied to clipboard

Which lifelong mapping parameter forces the new LaserScans to take precedence over old LaserScans?

Open BA8F0D39 opened this issue 3 years ago • 4 comments

I am running ROS2 galatic with Navigation 2 and slam_toolbox (galatic branch).

I work in an environment where there are lots of people moving around, and they create obstacles. The dynamic obstacles appear as "ghost points" on the grid map, and lifelong mapping takes a long while to clear the dynamic obstacles. Also, the global costmap of Navigation 2 doesn't clear.

I want to make the old LaserScans decay faster and new LaserScans to take precedence in the mapping process. Which parameter do I change in lifelong to make the dynamic obstacles clear faster?

BA8F0D39 avatar Oct 29 '21 03:10 BA8F0D39

That probability value is not currently exposed but it is in the grid generation process. I’d be happy to review a PR to expose it for tuning though!

SteveMacenski avatar Oct 29 '21 04:10 SteveMacenski

Which value in the source code controls it?

Peek 2021-10-29 23-09

BA8F0D39 avatar Oct 30 '21 19:10 BA8F0D39

That probability value is not currently exposed but it is in the grid generation process. I’d be happy to review a PR to expose it for tuning though!

Same problem, please

dzysdhr123 avatar Jul 01 '22 05:07 dzysdhr123

https://github.com/SteveMacenski/slam_toolbox/blob/ros2/lib/karto_sdk/include/karto_sdk/Karto.h#L5920

This is the ratio

SteveMacenski avatar Jul 01 '22 18:07 SteveMacenski