Skip to content

Commit

Permalink
Fix start_navigate_to()
Browse files Browse the repository at this point in the history
  • Loading branch information
sktometometo committed Jun 30, 2023
1 parent a40a878 commit cbbf0a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spot_wrapper/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -2556,7 +2556,7 @@ def _start_navigate_to(self, target_waypoint_id) -> typing.Tuple[bool, str, str]
self._lease = self._lease_wallet.advance()
self._lease_keepalive = LeaseKeepAlive(self._lease_client)

if self._state_navigate_to_valid:
if not self._state_navigate_to_valid:
return False, "Navigation is canceled", "preempted"

status = self._graph_nav_client.navigation_feedback(nav_to_cmd_id)
Expand Down

0 comments on commit cbbf0a3

Please sign in to comment.