add queue_size for publisher

This commit is contained in:
Jihoon Lee 2014-08-04 22:28:41 +09:00
parent 7e0ba6c1fc
commit 01a7ea9139
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ class JointStatePublisher():
for source in source_list:
self.sources.append(rospy.Subscriber(source, JointState, self.source_cb))
self.pub = rospy.Publisher('joint_states', JointState)
self.pub = rospy.Publisher('joint_states', JointState, queue_size=5)
def source_cb(self, msg):
for i in range(len(msg.name)):