diff --git a/rmp220_teleop/rmp220_teleop.py b/rmp220_teleop/rmp220_teleop.py index bf0cef1..bd7c1dd 100644 --- a/rmp220_teleop/rmp220_teleop.py +++ b/rmp220_teleop/rmp220_teleop.py @@ -21,7 +21,7 @@ class TeleopTwistJoy(Node): if joy_msg.buttons[8]: self.enable = True enable_chassis(self) - if joy_msg.buttons[4]: + if joy_msg.buttons[6]: self.enable = False disable_chassis(self)