From 4f8e3ac5c094a702362b9d7a79b2df851d1d07e9 Mon Sep 17 00:00:00 2001 From: Ryuichi Ueda Date: Wed, 25 May 2016 00:15:58 +0000 Subject: [PATCH] Change the buffer size --- scripts/rtlightsensors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/rtlightsensors.py b/scripts/rtlightsensors.py index 66c46fc..e012481 100755 --- a/scripts/rtlightsensors.py +++ b/scripts/rtlightsensors.py @@ -4,7 +4,7 @@ def talker(): rospy.init_node('lightsensors') - pub = rospy.Publisher('lightsensors', LightSensorValues, queue_size=10) + pub = rospy.Publisher('lightsensors', LightSensorValues, queue_size=1) rate = rospy.Rate(10) while not rospy.is_shutdown():