Commit Graph

4 Commits

Author SHA1 Message Date
4cb395f525 feat(lane_route_core): zone deviation cost and graph/lattice completeness fixes (R2.12)
- Graph tier: add zone_deviation_cost (weight * ds * dev_deg/45) to compiled,
  query and shortcut edges, so aligned travel is preferred and a diagonal is
  only used where a straight move is not possible.
- Drop the route_too_long rejection; its relaxed standability reference
  ignored heading continuity and discarded verified long routes.
- Graph retries: skip duplicate candidates and block the edge pair nearest
  the verifier failure location.
- Lattice: heading-sector guide field, zone-transition retry, finer-bin
  refinement before reporting lattice_approx_exhausted, analytic connector
  best-cost choice. The lattice plans with zone_deviation_weight 0.
- lane_route_eval: zone_deviation_weight and time_limit_s keys,
  zone_dev_len_m / zone_dev_integral output.

Sim config: random 300 scenes hook 224 vs 212, kit 199 vs 196; regress7
3416 = R2.11 baseline; independent recheck 0 violations; 128 tests pass.
2026-11-11 14:31:32 +07:00
447ce46c29 feat(lane_route): footprint-zone rule with entry/exit transition, longer lane-end links (R2.11)
- A footprint may overlap a direction zone against its heading only within
  zone_transition_m (default 1.0 m) of path where the centre is inside that
  same zone, or at a parked endpoint. Checked on whole paths by the verifier.
- The lattice C-space keeps the strict per-pose rule so its paths always pass.
- Lane-end junction links reach 8 m with up to 24 links (was 6 m / 12 tries).
- lane_route_eval can dump the graph, attempts and routes per query.
2026-11-10 16:32:02 +07:00
4453f454a9 feat(lane_route): footprint standability, unknown cells in graph gap (R2.8)
- Standability: a cell is passable for the graph length reference and the
  lattice heuristic field only when the footprint plus the minimum gap fits
  at one of 16 headings; memoised per 32x32 tile, open space skips the test.
- Graph reference no longer cuts diagonal corners; route_too_long reports
  the reference length.
- Lattice field: coarse block passability decided lazily on first touch.
- ReferenceMemo: one route_too_long reference search per core pass instead
  of one per candidate.
- Graph tier counts unknown cells as obstacles for the footprint gap, like
  the lattice (user ruling 10/11).
- PlanInfo and eval JSON: standability counters, graph reference length.
2026-11-10 10:01:39 +07:00
24822f5408 feat(lane_route): add lane_route_core and lane_route_planner (R0 + R1)
lane_route_core plans on a precomputed coarse graph (Voronoi ridges and
direction-zone lanes) and, when enabled, falls back to a weighted A*
search over an SE(2) lattice that enforces forward motion, the minimum
turn radius, end-only spins, the footprint gap and direction zones.

- R0: route_planner.cpp split into graph search, path building and the
  graph tier; regress7 output identical to the previous build.
- R1: lattice tier (lazy packed C-space tiles, direction-aware heuristic
  field, analytic Dubins and point connectors, end-gap floors counting
  unknown cells). Off by default (lattice_enabled = false).
- lane_route_eval takes an optional tier mode and LANE_ROUTE_EVAL_SET
  overrides for offline tuning.

Local snapshot for history only; not pushed.
2026-11-09 13:44:17 +07:00