Skip to content

Commit

Permalink
add rospy publisher queue_size argument
Browse files Browse the repository at this point in the history
  • Loading branch information
tfoote authored and kshehata committed May 11, 2015
1 parent 2cbcc3e commit a1df89d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tf/src/tf/broadcaster.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class TransformBroadcaster:
"""

def __init__(self):
self.pub_tf = rospy.Publisher("/tf", tf.msg.tfMessage)
self.pub_tf = rospy.Publisher("/tf", tf.msg.tfMessage, queue_size=1)

def sendTransform(self, translation, rotation, time, child, parent):
"""
Expand Down

0 comments on commit a1df89d

Please sign in to comment.