From 9d7df3196103fd03bd6b902117f58236ab499826 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ellensohn?= Date: Tue, 18 Apr 2023 14:25:15 +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 0824b7d..124c412 100644 --- a/rmp220_teleop/rmp220_teleop.py +++ b/rmp220_teleop/rmp220_teleop.py @@ -18,11 +18,11 @@ class TeleopTwistJoy(Node): def joy_callback(self, joy_msg): if joy_msg.buttons[4]: #lb - self.limit -= 0.5 + self.limit -= 0.1 if self.limit < 0.2: self.limit = 0.2 if joy_msg.buttons[5]: #rb - self.limit += 0.5 + self.limit += 0.1 if self.limit > 3: self.limit = 3 self.twist.linear.x = self.limit * joy_msg.axes[1]