From e8ba76ce3aae81244c04c11d357c7dc71d5cdddd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ellensohn?= Date: Tue, 18 Apr 2023 11:39:00 +0200 Subject: [PATCH] update --- rmp220_teleop/rmp220_teleop.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rmp220_teleop/rmp220_teleop.py b/rmp220_teleop/rmp220_teleop.py index 345497f..bf0cef1 100644 --- a/rmp220_teleop/rmp220_teleop.py +++ b/rmp220_teleop/rmp220_teleop.py @@ -20,10 +20,10 @@ class TeleopTwistJoy(Node): self.twist.angular.z = 1.0 * joy_msg.axes[0] if joy_msg.buttons[8]: self.enable = True - enable_chassis() + enable_chassis(self) if joy_msg.buttons[4]: self.enable = False - disable_chassis() + disable_chassis(self) def timer_callback(self): self.cmd_vel_pub.publish(self.twist)