Nothing reads the key. DockPlanner's config takes dock_anchor, the footprint and the drive model; terminal_direction was copied down into the planner namespace and sat there. The direction of the final straight leg is derived instead: dock_calc tries nose-first and reverse and keeps whichever needs the smaller pivot, so the side the robot stands on carries the intent. The layer above has already offset the goal so base_link ends up on it, which means a marker key forcing the other direction would contradict the goal position it was handed. Docking in reverse is a different goal, not a different flag. Leaving it in the allow-list makes the planner namespace advertise a live key that does nothing, and a config that lies is worse than one that lacks the key. The fixture test now asserts the allow-list stays closed instead: the marker profile also carries global_planner and local_planner, and copying the whole block down would put meaningless keys into the planner namespace where they can shadow real ones.
22 KiB
22 KiB