5 Commits

Author SHA1 Message Date
641932b601 feat: take the detection frame from robot_base_frame, drop prior_frame
The search fan, prior and mount checks are now expressed in the context's
robot_base_frame, like DockPatternActionHandler. A leftover prior_frame equal
to it loads with one warning; a different one fails init.
2026-11-12 17:01:54 +07:00
775c16820b feat: warn at boot about tape keys ignored while the tape is off 2026-10-30 14:21:38 +07:00
b00d320094 feat: read tape_range_bias_all_max_std and log the bias std 2026-10-30 10:58:56 +07:00
d51f83804d feat: read tape_plateau_min_fraction 2026-10-30 09:43:47 +07:00
bfdcac512f feat: add the 4-leg trolley detection action
TrolleyDetectionActionHandler finds a 4-leg trolley in a raw LaserScan with
dock_pattern_detector's LegPatternMatcher, filters the detections and writes a
static dock_target frame for the docking leg that drives under the trolley.

- entry_direction forward/backward sets the goal heading; a lidar that faces
  the wrong way fails the action instead of writing a reversed goal
- an upside-down lidar (roll pi in TF) is detected from TF and its bearings
  are mirrored; a scan plane tilted more than 5 deg fails the action
- profiles validated at boot; optional prior, reflective tape (all/entry)
- gtest (11 tests) incl. a recorded Gazebo scan from a roll-pi lidar
- sim models trolley_4legs (+ taped variants) the robot can drive under,
  spawn launch and generator script
- doc/MEASURE_AND_CONFIGURE.md: how to measure a trolley and fill the profile
2026-10-28 13:33:52 +07:00