From 8837d300e64181463c88fc995b4e825ed72c5a14 Mon Sep 17 00:00:00 2001 From: Alexandr <37707797+Neptune-1@users.noreply.github.com> Date: Sun, 25 Nov 2018 16:05:43 +0300 Subject: [PATCH] Update play_animation.py --- Drone/play_animation.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Drone/play_animation.py b/Drone/play_animation.py index 9f3c7a1..2ba8d67 100644 --- a/Drone/play_animation.py +++ b/Drone/play_animation.py @@ -58,13 +58,13 @@ def read_animation_file(): if __name__ == '__main__': read_animation_file() - dtime=time_synch()-time.time() - while True: - if t_st==dtime+time.time: - break + #dtime=time_synch()-time.time() + #while True: + # if t_st==dtime+time.time: + # break takeoff() for frame in frames: - + time.sleep(0.1)#cut for using ntp do_next_animation(frame) land()