trying out angular velocity
This commit is contained in:
parent
a71b7529f9
commit
be8752c7c6
@ -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)
|
||||
|
Reference in New Issue
Block a user