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 committed May 2, 2014
1 parent fd04fd9 commit 90a0fc4
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 90a0fc4

Please sign in to comment.