update
This commit is contained in:
parent
7f85974925
commit
e750766103
BIN
rmp220_teleop/__pycache__/__init__.cpython-310.pyc
Normal file
BIN
rmp220_teleop/__pycache__/__init__.cpython-310.pyc
Normal file
Binary file not shown.
BIN
rmp220_teleop/__pycache__/rmp220_teleop.cpython-310.pyc
Normal file
BIN
rmp220_teleop/__pycache__/rmp220_teleop.cpython-310.pyc
Normal file
Binary file not shown.
@ -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)
|
||||||
|
Reference in New Issue
Block a user