Commit Graph

2 Commits

Author SHA1 Message Date
0000f64dbc feat: read accept_attached_legs and zero_range_is_no_echo
- Handler: reads zero_range_is_no_echo next to range_sigma (lidar
  property), and accept_attached_legs per profile. The boot summary
  prints "zero range = no echo|blocked". The start line prints
  "attached legs on|off". The match line prints "attached N".
- README, doc/MEASURE_AND_CONFIGURE.md: both keys, when to set them,
  and a log-reason row for attached legs. Also the measuring notes left
  over from the previous fix: cart_dim_tolerance covers machining
  differences between trolleys of one type, dimensions are leg
  centre-to-centre (not outer edge), how to measure range_sigma, and
  the confidence row in the log table.

Needs dock_pattern_detector 979bef3 or later.
2026-10-28 16:37:35 +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