diff --git a/spot_wrapper/wrapper.py b/spot_wrapper/wrapper.py index 45eb128c..f3a383fb 100644 --- a/spot_wrapper/wrapper.py +++ b/spot_wrapper/wrapper.py @@ -1690,14 +1690,17 @@ def set_localization_waypoint(self, waypoint_id: str) -> typing.Tuple[bool, str] resp = self._set_initial_localization_waypoint(waypoint_id) return resp[0], resp[1] except Exception as e: - return False, f"Got an error while localizing the robot to the waypoint {waypoint_id}: {e}" + return ( + False, + f"Got an error while localizing the robot to the waypoint {waypoint_id}: {e}", + ) def cancel_navigation(self) -> None: """Cancel navigation of a robot from start_navigation()""" self._cancel_navigate_to() @try_claim - def start_navigation(self, target_waypoint_id: str) -> tuple(bool, str, str): + def start_navigation(self, target_waypoint_id: str) -> typing.Tuple[bool, str, str]: """Navigate a robot to specified waypoint id with GraphNav Args: