Hardware Demo - 12/6/22 - https://www.youtube.com/watch?v=UrSwveWoaB8&ab_channel=AlexanderPerez
Source code to facilitate manual control, path-finding/travel and video/image processing of Robomaster Tello DJI Drone.
Logging Categories
DEBUG - Detailed information, typically of interest only when diagnosing problems.
INFO - Confirmation that things are working as expected.
WARNING - An indication that something unexpected happened, or indicative of some problem in the near future (e.g. ‘disk space low’). The software is still working as expected.
ERROR - Due to a more serious problem, the software has not been able to perform some function.
CRITICAL - A serious error, indicating that the program itself may be unable to continue running.
DJITelloPy
We used a forked version of damiafuentes/DJITelloPy.
Our version: iamapez/DJITelloPy
How to Run
python main.py
Depending on the run configuration, the code can currently do multiple operations. Currently:
- Attempt a connection to the drone. Must be on the same network as the drone.
- Start the periodic state logger thread. (log state information every state_logging_interval).
- Pre-flight actions
- Flight
- Land
- Exit safely