From c0c55a8ccc5a12287226a7601d4b8338c4029b72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ellensohn?= Date: Tue, 9 May 2023 11:21:53 +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 caa0f69..bb3b477 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 * joy_msg.axes[0] + self.twist.angular.z = -self.limit * joy_msg.axes[0] * 40 # if joy_msg.buttons[7]: #start # self.enable = True # enable_chassis(self)