Skip to content

Commit

Permalink
address review
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter authored and PeterMitrano committed May 12, 2021
1 parent c091a39 commit 3365af9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arm_robots/scripts/cartesian_teleop.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ class CartesianTeleop:
def __init__(self, robot_name: str, group_name: str, tool_names: List[str], gamepad_name: str):
if gamepad_name == 'logitech':
self.gamepad = Logitech()
else:
elif gamepad_name == 'xbox':
self.gamepad = Xbox()
else:
raise NotImplementedError(f"Unsupported gamepad {gamepad_name}")

self.group_name = group_name
self.tool_names = tool_names
Expand Down

0 comments on commit 3365af9

Please sign in to comment.