Skip to content

Commit

Permalink
Change the buffer size
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuichiueda committed May 25, 2016
1 parent a046993 commit 4f8e3ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/rtlightsensors.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit 4f8e3ac

Please sign in to comment.