DJI Tello drone python interface using the official Tello SDK and Tello EDU SDK. This library has the following features:
Feel free to contribute!
$ pip install djitellopy2
For Linux distributions with both python2 and python3 (e.g. Debian, Ubuntu, ...) you need to run
$ pip3 install djitellopy2
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 .
See djitellopy.readthedocs.io for a full reference of all classes and methods available.
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()
In the examples directory there are some code examples:
streamon
command and the response is Unknown command
means you have to update the Tello firmware. That can be done through the Tello app.This project is licensed under the MIT License - see the LICENSE.txt file for details
Version | Tag | Published |
---|---|---|
2.3 | 2yrs ago | |
2.2 | 2yrs ago | |
2.1 | 2yrs ago | |
2.0 | 2yrs ago |