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.
- Load detour_upgrade_enabled, detour_upgrade_time_limit_s,
detour_upgrade_min_saving and detour_upgrade_max_extra_zone_deviation_m;
clamp them to their valid ranges and print them in the boot summary.
- The debug_plan line reports the detour outcome, graph and lattice length,
cost and zone deviation, time and lattice reason.
- Tests: lane_route_planner_test 30/30.
- New output_endpoint_spins (default false): the published plan starts at the
first driving pose and ends with one goal pose. The local planner turns in
place by itself; the planner still verifies both spins are collision free.
- Load and clamp zone_deviation_weight; print both keys in the boot line.
- Tests for the trim helper (29 pass).
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.
- 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.
- lattice_alt_field_enabled (default false), lattice_alt_field_relax_m,
lattice_alt_field_switch_fraction: when the search on the first field
has not finished at the switch point, it restarts once on a field with
no extra clearance and the alternate relax. Exhausted searches do not
switch. PlanInfo/eval/debug line report field_pass.
- lattice_field_zone_margin_deg (default 0): diagonal field steps through
a direction zone must stay that far inside the deviation limit; at
exactly 45 deg the field otherwise follows a diagonal a turning robot
cannot hold (sim M4, M7, 4a timed out even with 10 s).
- lane_route_eval compiles the graph with the live master when it holds
preferred cells, as the plugin does.
- Measured 10/11 (sim settings, 10 s, margin 15, alternate on): regress7
hook_150 1719, kit 1718, no query lost, independent recheck 0 bad.
- lattice_field_standability_relax_m (default 0): shrinks the inflated
footprint half sizes for the lattice heuristic field only; graph
reference, C-space and verification stay strict.
- Plugin loads it, prints it on the fallback boot line; README and eval
override key.
- Measured 10/11: with extra field clearance 0 any relax reopens the sim
post gaps (dumps 1, 2, 4 time out); with extra clearance 0.1 a relax of
0.035 keeps them and gains one kit query.
max_kink_deg (default 45): in the graph's second pass, a corner where no
radius fits may become a sharp corner (two straight lines meeting at one
vertex pose, no turn in place) when the footprint can rotate at the
vertex; the verifier counts it in PathCheck::corners. The verifier's
bend limit now follows min_turn_radius_m (it blocked radii below ~0.72 m).
lattice_field_extra_clearance_m (default 0): extra clearance for a cell
to be passable in the lattice heuristic field only, with a rebuild of
the plain field when the margin field never reaches the start.
regress7 with the sim settings (0.4 m floor, margin 0.1): hook_150
1717/1757, kit 1716/1757 (R2.5: 1718, 1709); Python recheck finds no
curvature, corner, spin, zone or crossing errors. The graph tier's
30 mm gap still ignores unknown cells, as since R0.
Radius ladder: the first graph pass, the lattice and the smoother use
only radii at or above regular_turn_radius_m (1.06 m), as before. When
min_turn_radius_m is lower, the graph runs a second pass with all
corner_radii_m if the first fails or returns a long detour, and keeps
it only when at least 20% shorter. Optional lattice tight arcs exist
behind lattice_tight_arcs (off: they cost many queries to timeouts).
C++ defaults keep the old 1.06 m floor; regress7 output is identical.
With a 0.4 m floor: graph-only coverage +5 (hook_150) and +8 (kit),
none lost; with fallback, coverage unchanged and 27/29 queries move
from lattice to graph; tight corners used 0.9 m.
Failure dumps: with debug/dump_dir set, the plugin writes each failed
query as lane_route_eval input (static cost, master cost, direction
codes, poses, settings), at most debug/dump_max_files per session.
The lattice tier first finds a path with the minimum gap, as before, so
coverage cannot drop. If that path is not legal under
lattice_preferred_gap_m (0.15 m) away from the ends, a bounded upgrade
search (lattice_preferred_time_fraction of the rung slice) tries a wider
path and replaces it on success. Smoothing keeps the margin of the
returned path. PlanInfo, eval JSON and the plugin debug/fallback line
report the gap pass, the minimum gap and the upgrade time. The plugin
loads the preferred-gap and smoother keys.
regress7 (3 s): coverage equal to R2c (hook_150 1718, kit 1709),
graph-only output identical, middle gap >= 0.15 m on 133/153 and
128/190 lattice paths (R2c 88 and 89), Python recheck 0 bad.
- 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.
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.