Increase buffer size for joint state from 1 to 500

This commit is contained in:
meeussen 2009-10-16 16:41:04 +00:00
parent 8f4182ed10
commit 56c049a901
1 changed files with 1 additions and 1 deletions

View File

@ -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", 1, &JointStateListener::callbackJointState, this);;
joint_state_sub_ = n_.subscribe("joint_states", 500, &JointStateListener::callbackJointState, this);;
};