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.
This commit is contained in:
2026-11-09 16:11:34 +07:00
parent 0c2179fe54
commit ad326f535c
5 changed files with 272 additions and 49 deletions

View File

@@ -76,9 +76,15 @@ option(BUILD_LANE_ROUTE_PLANNER_TESTS "Build adapter tests" ${BUILDING_WITH_CATK
if(BUILD_LANE_ROUTE_PLANNER_TESTS)
find_package(GTest REQUIRED)
find_package(Threads REQUIRED)
find_package(yaml-cpp REQUIRED)
if(TARGET yaml-cpp::yaml-cpp)
set(LANE_ROUTE_YAML_TARGET yaml-cpp::yaml-cpp)
else()
set(LANE_ROUTE_YAML_TARGET yaml-cpp)
endif()
add_executable(lane_route_planner_test test/lane_route_planner_test.cpp)
target_link_libraries(lane_route_planner_test PRIVATE
lane_route_planner GTest::GTest GTest::Main Threads::Threads
lane_route_planner GTest::GTest GTest::Main Threads::Threads ${LANE_ROUTE_YAML_TARGET}
)
endif()