Skip to content

Commit 8b67d0e

Browse files
committed
Remove unnecessary arg and update typing for _set_initial_localization_fiducial()
1 parent 96f9c05 commit 8b67d0e

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
@@ -2338,7 +2338,7 @@ def _get_localization_state(self, *args):
23382338
"Got robot state in kinematic odometry frame: \n%s" % str(odom_tform_body)
23392339
)
23402340

2341-
def _set_initial_localization_fiducial(self, *args):
2341+
def _set_initial_localization_fiducial(self) -> None:
23422342
"""Trigger localization when near a fiducial."""
23432343
robot_state = self._robot_state_client.get_robot_state()
23442344
current_odom_tform_body = get_odom_tform_body(
@@ -2567,7 +2567,9 @@ def _cancel_navigate_to(self) -> None:
25672567
self._navigate_to_valid = False
25682568

25692569
@try_claim
2570-
def _start_navigate_to(self, target_waypoint_id: str) -> typing.Tuple[bool, str, str]:
2570+
def _start_navigate_to(
2571+
self, target_waypoint_id: str
2572+
) -> typing.Tuple[bool, str, str]:
25712573
self._lease = self._lease_wallet.get_lease()
25722574
destination_waypoint = graph_nav_util.find_unique_waypoint_id(
25732575
target_waypoint_id,

0 commit comments

Comments
 (0)