hanyazou/TelloPy

DJI Tello drone controller python package

# TelloPy — Python controller for DJI Tello drones

## What it is
TelloPy is a Python package that lets you control a DJI Tello toy drone. The core code was adapted (ported) from the GOBOT project, which is written in Go. For deep protocol details, the README points to GOBOT's blog post (April 2018).

## Installation
Two options:
* **From PyPI (stable version):** `pip install tellopy`
* **From source:** Clone the GitHub repo, build a wheel with `python setup.py bdist_wheel`, then install the generated `.whl` file.

## Documentation
The README doesn't include separate docs. Instead, run Python and use the built-in help system: `import tellopy` then `help(tellopy)` to see the package's API docstrings.

## Examples (in the `examples` folder)
* **simple_takeoff** — Tello takes off, then lands automatically after a few seconds. Run with `python -m tellopy.examples.simple_takeoff`.
* **video_effect** — Filters and displays the real-time video stream from Tello. Requires extra packages: `av`, `opencv-python`, `image`.
* **joystick_and_video** — Controls Tello with a PS3/PS4/Xbox One gamepad while viewing video. Same video-related packages as above, plus `pygame`.

## Related side projects (links in README)
* **HalloPy** — Hand-motion controller: control Tello with hand movements.
* **telloCV** — OpenCV-based controller: generates video frames for computer-vision use, and includes a color tracker that follows a detected color in the scene.

Related

  • Project
  • Project
  • Project
  • Project