This commit is contained in:
Björn Ellensohn 2023-04-18 13:37:17 +02:00
parent e8ba76ce3a
commit 9dbd22ca5c

View File

@ -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)