From 86ea12cfb3f2846abcc15795f8d3e0e842f85b09 Mon Sep 17 00:00:00 2001 From: Mohamed Fazil Date: Wed, 12 Jul 2023 19:36:16 -0700 Subject: [PATCH] default rate param 30Hz --- stretch_core/nodes/stretch_driver | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stretch_core/nodes/stretch_driver b/stretch_core/nodes/stretch_driver index 3c9dc7a..99e504f 100755 --- a/stretch_core/nodes/stretch_driver +++ b/stretch_core/nodes/stretch_driver @@ -524,7 +524,7 @@ class StretchDriverNode: rospy.Subscriber("cmd_vel", Twist, self.set_mobile_base_velocity_callback) # ~ symbol gets parameter from private namespace - self.joint_state_rate = rospy.get_param('~rate', 15.0) + self.joint_state_rate = rospy.get_param('~rate', 30.0) self.timeout = rospy.get_param('~timeout', 0.5) rospy.loginfo("{0} rate = {1} Hz".format(self.node_name, self.joint_state_rate)) rospy.loginfo("{0} timeout = {1} s".format(self.node_name, self.timeout))