If there is no animation file on copter, it emits next exception:
Starting animation!
Animation thread activated
Exception in thread Thread-8:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.target(*self.args, **self.__kwargs)
File "client.py", line 144, in animation_player
frames = play_animation.read_animation_file()
File "/home/pi/CleverSwarm/Drone/play_animation.py", line 43, in read_animation_file
with open(filepath) as animation_file:
IOError: [Errno 2] No such file or directory: 'animation.csv'
If there is no animation file on copter, it emits next exception: Starting animation! Animation thread activated Exception in thread Thread-8: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 754, in run self.target(*self.args, **self.__kwargs) File "client.py", line 144, in animation_player frames = play_animation.read_animation_file() File "/home/pi/CleverSwarm/Drone/play_animation.py", line 43, in read_animation_file with open(filepath) as animation_file: IOError: [Errno 2] No such file or directory: 'animation.csv'