mirror of
https://github.com/bjoernellens1/rmp220_teleop.git
synced 2024-11-22 16:03:47 +00:00
try reducing velocities by 1/10
This commit is contained in:
parent
394ba305db
commit
a71b7529f9
@ -27,7 +27,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 *2 * joy_msg.axes[0] * 10
|
self.twist.angular.z = -self.limit *4 * joy_msg.axes[0] * 10
|
||||||
# if joy_msg.buttons[7]: #start
|
# if joy_msg.buttons[7]: #start
|
||||||
# self.enable = True
|
# self.enable = True
|
||||||
# enable_chassis(self)
|
# enable_chassis(self)
|
||||||
|
Loading…
Reference in New Issue
Block a user