Skip to content

Commit c1a4100

Browse files
committed
Remove unnecessary arg and update typing for _set_initial_localization_fiducial()
1 parent 61c4ba4 commit c1a4100

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

spot_wrapper/wrapper.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2279,7 +2279,7 @@ def _get_localization_state(self, *args):
22792279
"Got robot state in kinematic odometry frame: \n%s" % str(odom_tform_body)
22802280
)
22812281

2282-
def _set_initial_localization_fiducial(self, *args):
2282+
def _set_initial_localization_fiducial(self) -> None:
22832283
"""Trigger localization when near a fiducial."""
22842284
robot_state = self._robot_state_client.get_robot_state()
22852285
current_odom_tform_body = get_odom_tform_body(
@@ -2508,7 +2508,9 @@ def _cancel_navigate_to(self) -> None:
25082508
self._navigate_to_valid = False
25092509

25102510
@try_claim
2511-
def _start_navigate_to(self, target_waypoint_id: str) -> typing.Tuple[bool, str, str]:
2511+
def _start_navigate_to(
2512+
self, target_waypoint_id: str
2513+
) -> typing.Tuple[bool, str, str]:
25122514
self._lease = self._lease_wallet.get_lease()
25132515
destination_waypoint = graph_nav_util.find_unique_waypoint_id(
25142516
target_waypoint_id,

0 commit comments

Comments
 (0)