Skip to content

Commit

Permalink
add queue_size
Browse files Browse the repository at this point in the history
  • Loading branch information
tfoote committed May 2, 2014
1 parent bab4f6b commit 3389e53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion turtle_tf/nodes/turtle_tf_listener.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
spawner = rospy.ServiceProxy('spawn', turtlesim.srv.Spawn)
spawner(4, 2, 0, 'turtle2')

turtle_vel = rospy.Publisher('turtle2/cmd_vel', geometry_msgs.msg.Twist)
turtle_vel = rospy.Publisher('turtle2/cmd_vel', geometry_msgs.msg.Twist, queue_size=1)

rate = rospy.Rate(10.0)
while not rospy.is_shutdown():
Expand Down

0 comments on commit 3389e53

Please sign in to comment.