This commit is contained in:
Björn Ellensohn 2023-05-25 11:11:07 +02:00
parent 7f85974925
commit e750766103
3 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -28,7 +28,7 @@ class TeleopTwistJoy(Node):
if self.limit > self.max_vel: if self.limit > self.max_vel:
self.limit = self.max_vel self.limit = self.max_vel
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] * 1 #* 3.141592 #trying to compensate slower rotational movement? Must find out why! self.twist.angular.z = self.limit * joy_msg.axes[0] * 1 * 3.141592 #trying to compensate slower rotational movement? Must find out why!
# if joy_msg.buttons[7]: #start # if joy_msg.buttons[7]: #start
# self.enable = True # self.enable = True
# enable_chassis(self) # enable_chassis(self)