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.
This commit is contained in:
@@ -182,6 +182,13 @@ PlanResult planRoute(const GraphProvider& graphs, const RouteRequest& request, c
|
||||
{
|
||||
result.info = tight_info;
|
||||
}
|
||||
else
|
||||
{
|
||||
// Preserve diagnostics from the tight attempt even when the regular path is kept.
|
||||
result.info.graph_standability_tests = tight_info.graph_standability_tests;
|
||||
result.info.graph_standability_rejected = tight_info.graph_standability_rejected;
|
||||
result.info.graph_reference_length_m = tight_info.graph_reference_length_m;
|
||||
}
|
||||
}
|
||||
if (graph_ok && result.info.graph_radius_pass.empty())
|
||||
result.info.graph_radius_pass = "regular";
|
||||
|
||||
Reference in New Issue
Block a user