3 Commits

Author SHA1 Message Date
48e1e9a0ed 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. The tape core
threshold and plateau fraction keys are optional.
2026-11-12 17:01:54 +07:00
b5da961449 feat(sim): Gazebo wall model, detection sweep and evaluation scripts
- sim/models/wall_reflector_pair: wall with two 3 cm strips 9 cm apart
  (laser_retro 2000 on the strips, 0 on the wall), generated by
  gen_wall_models.py; spawn_wall_reflector.launch places it.
- sim/eval_wall_reflector.py: compares the published marker/target with the
  Gazebo ground truth, read from the handler success log because the nav
  core TF never reaches ROS; --align-by-robot when map != Gazebo world.
- sim/sweep_wall_detection.py: places the wall at several distances and
  angles behind the robot, sends DetectWallReflectors, writes a CSV and
  dumps the scan of every failed case.
- Handler success log now prints marker, target and frame (debug/state).
- Install sim/ in both catkin and standalone builds.
2026-11-12 13:44:16 +07:00
f115fd0efd feat: add the wall reflector detection action
Action handler that detects two flat reflective tape strips on a wall from a
raw LaserScan and publishes the stop-station target (and a marker frame) as
static TFs for the next move_to stage. Geometry comes from
dock_pattern_detector's ReflectorPairMatcher. The handler adds scan
freshness checks (stamp after settle, max age, strictly increasing stamps)
and a deadline for detections waiting on TF, derives lidar flip and tilt
from TF, and never reuses samples across pause/resume or runs.
2026-11-12 11:16:38 +07:00