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:
@@ -831,6 +831,8 @@ class ComposedInference:
|
||||
"arrival_target": arrival_target
|
||||
if arrival_candidate or body_goal_query
|
||||
else None,
|
||||
"route_transition_target": arrival_target
|
||||
if nearby and isinstance(self.mission, RoutedMission) else None,
|
||||
"max_speed_mps": min(self.max_speed, 0.1)
|
||||
if intent["state"] == "reversing" or intent.get("corner_approach")
|
||||
else min(self.max_speed, inputs.get("source.crossing-admission", {}).get("speed_limit_mps") or self.max_speed),
|
||||
@@ -931,7 +933,8 @@ class ComposedInference:
|
||||
intent = self.mission.intent(self.mission.state)
|
||||
elif isinstance(self.mission, RoutedMission) and revision is None:
|
||||
transition = self.mission.confirm_corridor_transition(
|
||||
pose, inputs["source.simulation-time"], result.get("arrival") or {}
|
||||
pose, inputs["source.simulation-time"],
|
||||
result.get("route_support") or result.get("arrival") or {}
|
||||
)
|
||||
if transition is not None:
|
||||
result.update(
|
||||
|
||||
Reference in New Issue
Block a user