ros-navigation / navigation2

ROS 2 Navigation Framework and System
https://nav2.org/
Other
2.3k stars 1.2k forks source link

Remove start clear #4418

Closed SteveMacenski closed 3 weeks ago

SteveMacenski commented 3 weeks ago

We found that clearing the start made other orientations in the same pose also be "free" even though those might be in critical collision at other orientations. We know the start is "free" because it has to be definitionally since the robot is there.

This removes the clearing to fix that issue. Conveniently, we have defensive programming elsewhere that this makes it the only required change. Within the planner plugins themselves we already interpret 1 iteration as being start occupied and thus no valid potential path solution could be found, so we keep that contextual failure mode if there's no way out from the start.

Addresses https://github.com/ros-navigation/navigation2/issues/4271

tonynajjar commented 3 weeks ago

Regression test?