Skip to content

Commit

Permalink
Adding queue_size argument to publisher
Browse files Browse the repository at this point in the history
  • Loading branch information
tfoote committed May 2, 2014
1 parent 5ebb2fc commit bab4f6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion turtle_tf/nodes/fixed_tf_broadcaster.py
Expand Up @@ -43,7 +43,7 @@
class FixedTFBroadcaster:

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

while not rospy.is_shutdown():
# Run this loop at about 10Hz
Expand Down

0 comments on commit bab4f6b

Please sign in to comment.