joint state listener should not keep buffer

This commit is contained in:
meeussen 2009-10-26 22:03:38 +00:00
parent db7c417438
commit 32b088274d
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); publish_rate_ = Rate(publish_freq);
// subscribe to mechanism state // 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);;
}; };