Skip to content

Commit

Permalink
Add type hinting to power on and stand flag
Browse files Browse the repository at this point in the history
  • Loading branch information
llee-bdai committed Sep 26, 2024
1 parent b96b58b commit 8d9ce94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spot_wrapper/spot_arm.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ def gripper_close(self) -> typing.Tuple[bool, str]:

return True, "Closed gripper successfully"

def gripper_angle_open(self, gripper_ang: float, ensure_power_on_and_stand=True) -> typing.Tuple[bool, str]:
def gripper_angle_open(self, gripper_ang: float, ensure_power_on_and_stand: bool = True) -> typing.Tuple[bool, str]:
"""
Takes an angle between 0 (closed) and 90 (fully opened) and opens the gripper at this angle
Expand Down

0 comments on commit 8d9ce94

Please sign in to comment.