From 248356ba21ee097bf2d98e9b6bfce4261c07f564 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ellensohn?= Date: Tue, 18 Apr 2023 13:39:31 +0200 Subject: [PATCH] update --- rmp220_teleop/rmp220_teleop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rmp220_teleop/rmp220_teleop.py b/rmp220_teleop/rmp220_teleop.py index bd7c1dd..44751e6 100644 --- a/rmp220_teleop/rmp220_teleop.py +++ b/rmp220_teleop/rmp220_teleop.py @@ -18,7 +18,7 @@ class TeleopTwistJoy(Node): def joy_callback(self, joy_msg): self.twist.linear.x = 1 * joy_msg.axes[1] self.twist.angular.z = 1.0 * joy_msg.axes[0] - if joy_msg.buttons[8]: + if joy_msg.buttons[7]: self.enable = True enable_chassis(self) if joy_msg.buttons[6]: