fix(simulation): retire rejected Nav2 intermediate goals

This commit is contained in:
DCCONSTRUCTIONS
2026-10-08 15:29:41 +03:00
parent 1f1d4a2807
commit 021b9f427f
8 changed files with 120 additions and 9 deletions
+2 -1
View File
@@ -144,7 +144,8 @@ class RosNavigation(Node):
# Do not leave work from a timed-out HTTP transaction as authority.
self.await_result(handle.cancel_goal_async(), .2)
raise
return result.result.path if result.status == GoalStatus.STATUS_SUCCEEDED else None
return (result.result.path if result.status == GoalStatus.STATUS_SUCCEEDED else None,
result.status)
def accept(self, client, request, timeout, feedback_callback=None):
if self.failed: