joint state listener should not keep buffer
This commit is contained in:
parent
db7c417438
commit
32b088274d
|
@ -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);;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue