A differential robot that stood closer to the dock than the safe pivot point had no
maneuver at all. Direct entry lacked curve room, the single cusp exceeded
maximum_forward_extension, and straight-pivot-straight requires the vertex between the
robot and the dock. Two charger dockings on the KIT robot failed this way (start
0.579/0.292 m and 0.427/0.155 m).
- New shape backoff_pivot_straight, differential only. It is tried only after every
existing shape failed. The robot drives straight along its current heading (no rotation
at the start) until it is past the pivot vertex, then follows the existing
straight-pivot-straight geometry. Its feasibility does not depend on the turning radius.
- maneuver/pivot_backoff_max_distance [m]: longest allowed back-off; 0 disables the shape.
- maneuver/pivot_check_costmap: rejects a pivot shape when a rotation sweep (circumscribed
radius + pivot_safety_margin) or an approach-leg footprint covers a LETHAL cell. The
terminal into the dock is not checked: it ends in contact with the dock by design.
- Defaults keep every existing plan unchanged. Tests cover the two robot failures, unchanged
plans for the existing shapes, ackermann, the gates and the costmap callbacks.