Guide local goals around observed obstacles and finish native recovery

This commit is contained in:
DCCONSTRUCTIONS
2026-10-09 13:06:04 +03:00
parent 51406fc90c
commit ade3c19d2a
10 changed files with 281 additions and 12 deletions
@@ -844,6 +844,10 @@ class ComposedInference:
"allow_reverse": intent["state"] == "reversing",
},
)
if getattr(self, "observed_goals", None) is not None:
self.observed_goals.observe_navigation(
result, pose, inputs["source.simulation-time"], self.inputs["sha256"],
inputs.get("source.range-captured-at", calibration.get("captured_at", -math.inf)))
self.mission.reject_local_plan(
result, pose, inputs["source.simulation-time"], self.inputs["sha256"])
self.mission.recovery.observe_navigation(