From 7f7af0b2f709269f14ce8988947d48f2e150075f Mon Sep 17 00:00:00 2001 From: Arthur Date: Tue, 26 Feb 2019 17:28:55 +0000 Subject: [PATCH] Changed test animation file path --- Drone/play_animation.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Drone/play_animation.py b/Drone/play_animation.py index 5b49881..83a5c74 100644 --- a/Drone/play_animation.py +++ b/Drone/play_animation.py @@ -5,7 +5,7 @@ from FlightLib.FlightLib import FlightLib #FlightLib.init('SingleCleverFlight') from FlightLib.FlightLib import LedLib -animation_file_path = 'animation.csv' +animation_file_path = 'test_animation/test_1.csv' frames = [] USE_LEDS = True @@ -65,7 +65,7 @@ if __name__ == '__main__': #takeoff(round(float(first_frame['x']), 4), round(float(first_frame['y']), 4), round(float(first_frame['z']), 4)) takeoff() FlightLib.reach(x=frames[0]['x'], y=frames[0]['y'], z=frames[0]['z']) - for frame in frames: - rate.sleep() - do_next_animation(frame) + #for frame in frames: + # rate.sleep() + # do_next_animation(frame) land() \ No newline at end of file