Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
D

DJITelloPy

> 编程语言
Open source

DJI Tello drone python interface using the official Tello SDK. Feel free to contribute!

1.5K stars0 likes0 views
WebsiteGitHub

About

DJI Tello drone python interface using the official Tello SDK. Feel free to contribute!

DJITelloPy

中文文档 (Chinese version of this readme)

DJI Tello drone python interface using the official Tello SDK and Tello EDU SDK. This library has the following features:

  • implementation of all tello commands
  • easily retrieve a video stream
  • receive and parse state packets
  • control a swarm of drones
  • support for python >= 3.6

Feel free to contribute!

Install using pip

pip install djitellopy

For Linux distributions with both python2 and python3 (e.g. Debian, Ubuntu, ...) you need to run

pip3 install djitellopy

Install in developer mode

Using the commands below you can install the repository in an editable way. This allows you to modify the library and use the modified version as if you had installed it regularly.

git clone https://github.com/damiafuentes/DJITelloPy.git
cd DJITelloPy
pip install -e .

Usage

API Reference

See djitellopy.readthedocs.io for a full reference of all classes and methods available.

Simple example

from djitellopy import Tello

tello = Tello()

tello.connect()
tello.takeoff()

tello.move_left(100)
tello.rotate_counter_clockwise(90)
tello.move_forward(100)

tello.land()

More examples

In the examples directory there are some code examples. Comments in the examples are mostly in both english and chinese.

  • taking a picture
  • recording a video
  • flying a swarm (multiple Tellos at once)
  • simple controlling using your keyboard
  • mission pad detection
  • fully featured manual control using pygame

Notes

  • If you are using the streamon command and the response is Unknown command means you have to update the Tello firmware. That can be done through the Tello app.
  • Mission pad detection and navigation is only supported by the Tello EDU.
  • Bright environment is necessary for successful use of mission pads.
  • Connecting to an existing wifi network is only supported by the Tello EDU.
  • When connected to an existing wifi network video streaming is not available (TODO: needs confirmation with the new SDK3 port commands)

DJITelloPy in the media and in the wild

  • >6 Million views Youtube: Drone Programming With Python Course
  • German magazine "Make": "KI steuert Follow-Me-Drohne" (paywall), authors notes, github repo
  • Webinar on learn.droneblocks.io: "DJITelloPy Drone Coding", github repo
  • Universities & Schools using DJITelloPy in projects or in class:
    • Ball State University in Muncie, Indiana
    • Technical University Kaiserslautern
    • Lehrereinnenfortbildung Baden-Württemberg
    • Seminar für Ausbildung und Fortbildung der Lehrkräfte Freiburg (Berufliche Schulen)
    • Sha Tin College, Hong Kong
    • University of São Paulo
    • add yours...

Authors

  • Damià Fuentes Escoté
  • Jakob Löw
  • and more

License

This project is licensed under the MIT License - see the LICENSE.txt file for details

GitHub Issues· 43 open

View all on GitHub
  • #246

    OSError: [Errno 10014] Error number -10014 occurred: 'udp://@0.0.0.0:11111' when calling get_frame_read()

    Updated Mar 27, 2026
  • #247

    Failed to grab video frames from video stream

    Updated Mar 17, 2026
  • #244

    tello connect command returns errno65

    Updated Dec 23, 2025
  • #243

    How does the send_rc_control actually works?

    Updated Dec 12, 2025
  • #207

    OSError: [WinError 6]

    Updated Nov 24, 2025
  • #220

    Not able to read Dji tello frames on ubuntu 20.04

    Updated Jul 23, 2025
  • #187

    Issues with Tello video stream to Windows 11 Computer

    Updated Jun 18, 2025
  • #242

    Computer frozen after call tello.streamon()

    Updated Jun 4, 2025
  • #211

    no accelerated colorspace conversion found from yuv420p to rgb24.

    Updated May 24, 2025
  • #241

    Please create a new release

    Updated May 9, 2025

Highlights

  • •implementation of all tello commands
  • •easily retrieve a video stream
  • •receive and parse state packets
  • •control a swarm of drones
  • •support for python >= 3.6
  • •taking a picture
  • •recording a video
  • •flying a swarm (multiple Tellos at once)
  • •simple controlling using your keyboard
  • •mission pad detection

> Tags

Python

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言