mirror of
https://github.com/bjoernellens1/rmp220_teleop.git
synced 2024-11-22 16:03:47 +00:00
changed frequency to 10 Hz
This commit is contained in:
parent
97bf198c2a
commit
91dc3e17c2
@ -11,7 +11,7 @@ class TeleopTwistJoy(Node):
|
||||
super().__init__('teleop_twist_joy')
|
||||
self.cmd_vel_pub = self.create_publisher(Twist, '/diffbot_base_controller/cmd_vel_unstamped', 10)
|
||||
self.joy_sub = self.create_subscription(Joy, 'joy', self.joy_callback, 10)
|
||||
self.timer = self.create_timer(0.01, self.timer_callback)
|
||||
self.timer = self.create_timer(0.1, self.timer_callback)
|
||||
self.twist = Twist()
|
||||
self.enable = False
|
||||
self.limit = 0.5
|
||||
|
Loading…
Reference in New Issue
Block a user