diff --git a/robot_state_publisher/src/joint_state_listener.cpp b/robot_state_publisher/src/joint_state_listener.cpp index e240b67..4bb67b4 100644 --- a/robot_state_publisher/src/joint_state_listener.cpp +++ b/robot_state_publisher/src/joint_state_listener.cpp @@ -54,7 +54,7 @@ JointStateListener::JointStateListener(const KDL::Tree& tree) publish_rate_ = Rate(publish_freq); // subscribe to mechanism state - joint_state_sub_ = n_.subscribe("joint_states", 500, &JointStateListener::callbackJointState, this);; + joint_state_sub_ = n_.subscribe("joint_states", 1, &JointStateListener::callbackJointState, this);; };