Skip to content

Commit

Permalink
add queue_size argument to rospy.Publisher
Browse files Browse the repository at this point in the history
  • Loading branch information
tfoote committed May 2, 2014
1 parent ba0bff6 commit bfaf778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion turtle_tf/nodes/turtle_tf_message_broadcaster.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def __init__(self):

pp = PointPublisher()

pub = rospy.Publisher("turtle3/cmd_vel", geometry_msgs.msg.Twist)
pub = rospy.Publisher("turtle3/cmd_vel", geometry_msgs.msg.Twist, queue_size=1)
while not rospy.is_shutdown():
msg = geometry_msgs.msg.Twist()
msg.linear.x = 1
Expand Down

0 comments on commit bfaf778

Please sign in to comment.