The key was documented here but left commented out. DockPlanner reads it as
the dock object's polygon and turns its centre-to-face extent into the point
where the robot starts its straight alignment run.
trolley and dock_station use dock_anchor: center, so the value takes effect
there: the approach now starts 0.583 m further out than with the key absent.
charger and pallet use dock_anchor: face, where DockPlanner ignores the key
entirely - the values are recorded so switching either marker to center does
not need a second measuring pass.
The numbers for trolley, charger and dock_station are the T800 robot footprint
copied across, not a measured dock. Only pallet carries its own dimensions.
Measuring each dock type along the approach axis is still open, and the header
comment says so at the point where someone would edit it.
The bumped planners read a config schema this tree did not have yet. Every new
key is optional and falls back to a built-in default, so nothing was failing to
load - but the values were invisible here and could not be tuned.
dock_global_params.yaml
Add approach/* and sampling/*. Drop MyGlobalPlanner and global_costmap:
nothing in dock_planner ever read them.
custom_global_params.yaml
Add the eleven keys CustomPlannerConfig reads. Drop the twelve SBPL-era keys
(environment_type, planner_type, allocated_time, ...); grep over this tree
finds no reader for any of them, and the real SBPL parameters live in
sbpl_global_params.yaml.
maker_sources.yaml
Add dock_anchor per marker. footprint_dock is deliberately left commented
out: this file drives the real robot, and declaring a dock size nobody has
measured moves the stopping point by half that length. Absent means the dock
contributes 0 m, which is exactly what this robot does today. dock_anchor
center-without-footprint and face are both 0 m contributions, so behaviour is
unchanged either way.
Kept as-is because they are field settings, not missing schema: the allow-list
still carries undock_station / dock_station_2 / undock_station_2,
local_planner stays StanleyLocalPlanner, and every marker stays on DockPlanner.
action_handlers, compound_actions and recovery_behaviors are untouched - their
differences are this robot's tuning, not stale schema.
Verified: all three files parse, the merged parameter tree resolves each new
key, and no new root-key collision is introduced.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
- Remove automatic initialize() call from MoveBase constructor
- Comment out frame_id and plugins in local costmap config
- Remove unused two_points_global_params.yaml config file