Bind Nav2 route transitions to current observed body support

Return a separate positive-surface body receipt before reaching a guide vertex. Keep mission arrival and command admission independent, reject stale transaction reuse, and include the bridge helper in module identity. Validate the actual Nav2 plan entry with observed, unknown and obstructed support.
This commit is contained in:
DCCONSTRUCTIONS
2026-10-08 23:54:38 +03:00
parent 31b74e4571
commit a14158e483
8 changed files with 128 additions and 4 deletions
@@ -133,6 +133,8 @@ class TerrainObservation:
points, forbidden = self.semantics.apply(points, time.monotonic())
search, _ = self.support_obstacles.apply(points, pose=pose, monitor=self.monitor)
return dict(terrain=points, search_terrain=search, physical_terrain=physical, detected=detected,
permitted_terrain=(self.semantics.permitted_terrain(points, time.monotonic())
if request.get("route_transition_target") is not None else None),
current_points=current,
metrics=dict(detection_candidates=len(candidates),
detection_ground_returns=len(candidates)-len(detected),