update: faster angular vel

This commit is contained in:
Björn Ellensohn 2023-04-19 11:18:41 +02:00
parent 9d7df31961
commit 93f39d749f

View File

@ -26,7 +26,7 @@ class TeleopTwistJoy(Node):
if self.limit > 3: if self.limit > 3:
self.limit = 3 self.limit = 3
self.twist.linear.x = self.limit * joy_msg.axes[1] 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 *2 * joy_msg.axes[0]
if joy_msg.buttons[7]: #start if joy_msg.buttons[7]: #start
self.enable = True self.enable = True
enable_chassis(self) enable_chassis(self)