Giter VIP home page Giter VIP logo

tello-gui's Introduction

DJI Tello Drone Control GUI

This project is in the early stages of development, so expect bugs and missing features.

At this time, only Windows is supported.

Tello Drone

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


Working commands

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.

Other features

  • 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

Signing

All my code in the form of commits, releases, etc. etc. is digitally signed with my personal GPG key F2FE38E55D832A82.

Usage:

  • Download the latest release
  • Connect to your drone's wifi network
  • Run Tello GUI.exe
  • IMPORTANT! In order to use this you must first click the refresh button after connecting to the wifi network, this puts the drone in command mode.

Prerequisites for building

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

demo1

demo2

Getting Started for development

Follow these steps to get started with the project:

  1. Clone the Repository:

     $ git clone https://github.com/TheBozzz34/Tello-GUI.git
     $ cd Tello-GUI
  2. 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).

  3. 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.

  4. Run the Application:

    Execute the compiled binary to launch the control GUI.

  5. 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.

License

This project is licensed under the Apache License 2.0. See the LICENSE file for details.

Acknowledgments

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:

tello-gui's People

Contributors

thebozzz34 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.