This C++ GUI project is designed to control a DJI Tello drone using OpenGL for graphics, Dear ImGui for the user interface, and Boost.Asio for UDP communication with the drone. spdlog is used for logging. Additionally, Sentry.io is used to capture exceptions and crashes. With this application, you can easily control your Tello drone and monitor its status through a user-friendly interface.
Communication based off the Tello SDK. The app is tested with this janky drone "emulator" tello_emu.py
Command | Description |
---|---|
takeoff | Auto takeoff. |
land | Auto landing. |
emergency | Stop motors immediately. |
up x | Ascend to “x” cm. |
down x | down “x” Descend to “x” cm. |
left x | Fly left for “x” cm |
right x | Fly right for “x” cm |
forward x | Fly forward for “x” cm |
back x | Fly back for “x” cm |
cw x | Rotate “x” degrees clockwise. |
ccw x | Rotate “x” degrees counterclockwise. |
- UDP Communication: Utilizes Boost.Asio for low-level UDP communication with the drone.
- Crash management: Sentry.io used to log crashes and exceptions with the help of Google Crashpad
All my code in the form of commits, releases, etc. etc. is digitally signed with my personal GPG key F2FE38E55D832A82.
- Download the latest release
- Connect to your drone's wifi network
- Run
Tello GUI.exe
Before you begin, ensure you have met the following requirements:
- C++ development environment (C++11 or higher)
- Boost C++ Libraries (Boost.Asio)
- OpenGL library
- Dear ImGui library
- spdlog library
- Sentry.io Native SDK
- Google Crashpad, in the form of
crashpad_handler.exe
Follow these steps to get started with the project:
-
Clone the Repository:
$ git clone https://github.com/TheBozzz34/Tello-GUI.git $ cd Tello-GUI
-
Build the Project:
Use your preferred C++ build system or IDE to compile the project, ensuring that you link the required libraries (Boost.Asio, OpenGL, Dear ImGui and spdlog).
-
Connect to the Tello Drone: Power on your DJI Tello drone and connect your computer to its Wi-Fi network. Ensure that your computer can communicate with the drone via UDP. The default Tello IP address is 192.168.10.1 on port 8889.
-
Run the Application:
Execute the compiled binary to launch the control GUI.
-
Use the GUI: The GUI provides various controls for taking off, landing, maneuvering the drone, adjusting camera settings, and monitoring battery and status information. Follow the on-screen instructions to control the drone.
Planned Features:
Real-time Video Streaming: View live video feed from the Tello drone camera within the GUI.
Easy Control: Use intuitive controls to take off, land, move the drone, and adjust camera settings.
Status Monitoring: Monitor the drone's battery level, flight time, and other essential parameters.
Contributing
If you would like to contribute to this project, please fork the repository and submit pull requests with your improvements.
This project is licensed under the Apache License 2.0. See the LICENSE file for details.
DJI Tello for providing an affordable and accessible drone platform.
The developers of Boost.Asio, OpenGL, Dear ImGui, Google, Sentry.io, and spdlog for their excellent libraries.
Contact
If you have any questions or suggestions, please feel free to contact the project maintainer:
Necrozma
[email protected]