4 Commits

Author SHA1 Message Date
6f91bdf90a build(lane_route_planner): turn tests off by default in catkin and standalone builds
BUILD_LANE_ROUTE_PLANNER_TESTS now defaults to OFF in both build modes
instead of following BUILDING_WITH_CATKIN. Enable with
-DBUILD_LANE_ROUTE_PLANNER_TESTS=ON.
2026-11-17 20:36:43 +07:00
4bed23baa7 fix(lane_route): put standalone .so files at the top of the build directory
PluginLoaderHelper looks only at the top of each PNKX_NAV_CORE_LIBRARY_PATH
directory. In the standalone build liblane_route_planner.so ended up in its
subdirectory, so move_base2 on the robot could not load LaneRoutePlanner.
Set LIBRARY_OUTPUT_DIRECTORY and BUILD_RPATH to CMAKE_BINARY_DIR for both
lane_route_planner and lane_route_core, as the other plugin packages do.
The catkin branch is unchanged.
2026-11-10 22:27:14 +07:00
ad326f535c feat(lane_route): smooth lattice paths (R2) and expose the lattice tier in the plugin (R3)
- lane_route_core: port of the S3 smoother for lattice paths (direct,
  greedy and bounded graph improvement over witness anchors, then
  clothoid corners when budget remains), shape metrics and smoother
  diagnostics in PlanInfo and lane_route_eval.
- lane_route_planner: loads the lattice keys from YAML, logs a config
  summary at start-up and one debug/fallback line per lattice request.

regress7: coverage unchanged from R1, every lattice path smoothed, 0 bad
in the independent recheck. Local snapshot for history only; not pushed.
2026-11-09 16:11:34 +07:00
0c2179fe54 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