Update play_animation.py

This commit is contained in:
Alexandr
2018-11-25 16:05:43 +03:00
committed by GitHub
parent 3b75b040f3
commit 8837d300e6

View File

@@ -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()