From be8752c7c6e2c55c2274bef846e33939f51f426b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ellensohn?= Date: Tue, 9 May 2023 11:20:20 +0200 Subject: [PATCH] trying out angular velocity --- 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 4f4f26e..caa0f69 100644 --- a/rmp220_teleop/rmp220_teleop.py +++ b/rmp220_teleop/rmp220_teleop.py @@ -27,7 +27,7 @@ class TeleopTwistJoy(Node): if self.limit > self.max_vel: self.limit = self.max_vel self.twist.linear.x = self.limit * joy_msg.axes[1] - self.twist.angular.z = -self.limit *4 * joy_msg.axes[0] * 10 + self.twist.angular.z = -self.limit * joy_msg.axes[0] # if joy_msg.buttons[7]: #start # self.enable = True # enable_chassis(self)