You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is some value in my experience in having the static layer that is navigable stay unmarked, but I agree that's not an intuitive result and could cause problems if you don't have good localization. Usually, if you end up navigating over a static map cell, its because that belonged to something that is no longer present in the scene to care about. But, if you have bad localization with alot of jumps, you could accidentally unmark alot of map cells that you may or may not have current sensor visibility to resolve.
I think this should be a parameter whether we should repopulate the static layer cells once cleared under footprint, but I agree with the premise of your issue. If you see the comment I left on your PR, the way I recommend approaching it would make it easy to parameterize the repopulation by simply checking a parameter in the last SET step!
Bug report
When
footprint_clearing_enabled
is enabled, the areas that the static layer clears for footprint are not restored after footprint is changed.Required Info:
Steps to reproduce issue
Just run with this bringup config and then play with it.
Expected behavior
After the robot gets out of the cleared region, the cleared region must be restored from
map_buffer
as my PR does it.Screencast.from.01-05-2025.01.29.15.AM.webm
Actual behavior
After the robot gets out of the cleared region, the cleared region must remain as FREE_SPACE.
Screencast.from.01-05-2025.01.40.56.AM.webm
Implementation considerations
I have needed to add some methods into Costmap2D class in order to fix this bug.
Additional information
Thanks @BCKSELFDRIVEWORLD for finding out this bug.
The text was updated successfully, but these errors were encountered: