Files
dock_planner/test/dock_planner_test.cpp
duongtd 7c93fe47aa fix: drop the start-footprint check from the back-off pivot
The back-off pivot rejected a robot standing 0.375 m from a charger goal with about
10 deg of yaw ("current footprint does not clear the dock along the approach axis").
With dock_anchor=face the dock is modelled at the goal, which is the docked base pose,
while the real charger face lies 0.40 m behind it. So a rear corner that projected
behind the goal line was read as inside the dock, although it had 0.45 m of clearance.

The robot physically stands at its start pose, and the back-off only moves it away from
the dock, so the check guards nothing. Rotation sweeps and approach legs are still
checked against the costmap when pivot_check_costmap is on. Test: the 29/10 15:36 robot
start now yields backoff_pivot_straight; with the key at 0 it still fails as before.
2026-10-29 15:46:30 +07:00

50 KiB