Merge pull request #85 from jihoonl/indigo-devel

add queue_size for publisher
This commit is contained in:
Ioan A Sucan 2014-08-06 12:05:57 -07:00
commit ea856ed7c1
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)):