Commit 77068560 authored by Nicholas A. Ardavin's avatar Nicholas A. Ardavin
Browse files

remove explicit queue_size warning

parent 86cef3dc
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
...@@ -14,7 +14,7 @@ if __name__ == "__main__": ...@@ -14,7 +14,7 @@ if __name__ == "__main__":
rospy.init_node('test_ros') rospy.init_node('test_ros')
# Create publisher and set up for timer # Create publisher and set up for timer
pub = rospy.Publisher('/current_time', Time) pub = rospy.Publisher('/current_time', Time, queue_size=10)
rospy.Timer(rospy.Duration(1), pub_time) rospy.Timer(rospy.Duration(1), pub_time)
rospy.loginfo('I can talk to roscore!') rospy.loginfo('I can talk to roscore!')
rospy.loginfo('Publishing current time to /current_time') rospy.loginfo('Publishing current time to /current_time')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment