This program is based on the liberty DJITelloPy and pygame. https://github.com/damiafuentes/DJITelloPy https://www.pygame.org/ we have organized the code by several subsystems (blocks) which communicate with each other.
Open a terminal on the "autonomous_drone_racing" folder and run the following commands: pip install -e .\DJITelloPy\ pip install -e .\requirement.txt
run the "main_test_aruco_code.py" (see the test_aruco_code.PNG image in the images folder) to get started with the aruco code. You don't need to run the simulator.
launch the "main_manual_drone_racing.py" (see image manual_drone_racing.PNG) to control the drone with the keyboard. You must run the simulator before running the code.
run the "autonomous_drone_racing.py" (see autonomous_drone_racing.PNG) to control the drone using the information obtained from marker aruco code. You must run the simulator before running the code. You can improve this code to make the drone faster in different scenarios.