From 9cb3f9b5c0ba4fd1d2d294f13944f8b02335b70a Mon Sep 17 00:00:00 2001 From: Artem30801 Date: Sun, 27 Jan 2019 18:48:15 +0300 Subject: [PATCH] f --- Drone/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Drone/client.py b/Drone/client.py index fb8836a..19823ff 100644 --- a/Drone/client.py +++ b/Drone/client.py @@ -168,7 +168,7 @@ if COPTER_ID == 'default': TAKEOFF_HEIGHT = float(config.get('COPTER', 'takeoff_height')) -USE_LEDS = bool(config.get('COPTER', 'use_leds')) +USE_LEDS = config.getboolean('COPTER', 'use_leds') play_animation.USE_LEDS = USE_LEDS rospy.init_node('Swarm_client', anonymous=True)