Commit Graph

4 Commits

Author SHA1 Message Date
a5ad4268a2 Declare footprint_dock for every docking marker
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.
2026-08-13 15:22:21 +07:00
4a832a1b70 update 2026-08-13 15:11:11 +07:00
e75f164d02 Declare the new dock_planner and custom_planner parameters
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>
2026-08-12 22:23:20 +07:00
f349ff5568 update move_base2 2026-08-10 22:43:17 +07:00