dock_global_params gains direct_entry_min_curve_room and straight_length, which
the planner already reads. Every value that was already here is unchanged;
max_steering_angle stays at the measured 0.7.
Config files are what a field operator opens next to the robot, so each
parameter now documents its unit, what it does and what changes when it is
raised or lowered. Key, plugin, frame and topic names stay in English.
move_base2 383a04f -> fd0249d
stanley_local_planner 567d08e -> 5eb4e06
action_core 643f63f -> 5d878a7
The detection handler now treats sample_window as a sliding window and keeps
sampling until the spread converges or timeout expires, instead of judging once
and aborting. Stanley can latch the plan-to-global transform for a leg so a
localisation correction mid-leg no longer shifts the path under the robot, and
its docking, go-straight and rotate variants are aliases of one planner.
Declared with values that leave this robot's behaviour exactly as it is:
hold_time: 0.0 publish on the first good window, as before
plan_tf_freeze: false both blocks - the latch is off until a supervised
run confirms it; docking is the candidate to enable
first, being short, reversed, and centimetre-tolerant
align_pivot_toward_curve false in the position block only; the docking block
already carries true from field tuning
The freeze_settle_* values match the built-in defaults, so they change nothing
while making the knobs visible.
Untouched because they are this robot's settings, not missing schema:
detect_pallet keeps min_samples 1 and max_spread 0.1, the detect handlers stay
split into detect_charger and detect_pallet with real input frames, the
compound actions keep their uppercase names without device steps, recovery
stays commented out, and go_straight and rotate stay on StanleyLocalPlanner
rather than the dedicated aliases.
Verified with a fresh configure and full build of this tree from an empty build
directory, EXIT=0, dock_planner_test passing here, no undefined symbol in
libmove_base2.so, libstanley_local_planner.so or the frame sampler plugin, and
every new key resolving in the merged parameter tree.
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>