From 91dc3e17c2b868a26842a6c3fd68344b0380d020 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ellensohn?= Date: Tue, 9 May 2023 10:09:58 +0200 Subject: [PATCH] changed frequency to 10 Hz --- rmp220_teleop/rmp220_teleop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rmp220_teleop/rmp220_teleop.py b/rmp220_teleop/rmp220_teleop.py index 1408c80..20134f7 100644 --- a/rmp220_teleop/rmp220_teleop.py +++ b/rmp220_teleop/rmp220_teleop.py @@ -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