Commit Graph

2 Commits

Author SHA1 Message Date
95c7df9055 feat(reflector_pair): split multi-core bright runs and allow an empty gap between strips
Narrow strips (3 cm wide, 9 cm between centres) leave a 6 cm wall gap that
bloom can fill, so one bright run may hold both strip cores and the middle
wall group may have no dark rays at all.

- Split a bright run with several cores at the darkest ray between them
  (middle of an equal-minimum region); each core becomes its own candidate.
  Ties were rejected before.
- Compare the middle wall group only when it has at least
  wall_min_points_each_side dark rays; the outer groups are still required.
- Document wall_max_gap / wall_merge_distance for the masked narrow gap.
- Tests: 3/9 cm strips at 0.5-1.5 m, a gap bridged by bloom, an occluder in
  the masked gap, a third strip making the result ambiguous.
2026-11-12 13:44:04 +07:00
7ce7c7db52 feat(reflector_pair): add ReflectorPairMatcher for two flat reflective strips on a wall
Pure geometry core for the upcoming wall reflector detection action. The wall
line is fitted from dark rays only; each strip edge is the half-step bearing
between the intensity core and its neighbour, intersected with that line, so
the range bias of bright returns never enters the pose. Exactly one valid pair
is required; two or more report ambiguous. Synthetic tests cover geometry,
quantisation, bloom, bright range bias, realistic range noise, wall ends,
occluders, ambiguity and malformed input.
2026-11-12 10:12:57 +07:00