USC-ACTLab / crazyswarm

A Large Quadcopter Swarm
MIT License
319 stars 316 forks source link

Feature systemtests better #777

Closed julienthevenoz closed 9 months ago

julienthevenoz commented 9 months ago

Used atexit to automatically cleanup processes in case of unexpected exit (makes the code a bit more robust). Created a clean_process() helper function to improve readability and to report if processes weren't cleaned. Got rid of the custom Waiter class by using Popen.wait(timeout).