DJITelloPy
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 djitellopy2
For Linux distributions with both python2 and python3 (e.g. Debian, Ubuntu, ...) you need to run
$ pip3 install djitellopy2
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:
- 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
streamoncommand and the response isUnknown commandmeans 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.
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
Metadata
Release files for djitellopy2 2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| djitellopy2-2.3.tar.gz | 13.2 kB | Without provenance | Details for djitellopy2-2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| djitellopy2-2.3-py3-none-any.whl | Python 3 | none | any | Details for djitellopy2-2.3-py3-none-any.whl |
Total release size: 26.7 kB
Release files / djitellopy2-2.3.tar.gz
| Download URL | djitellopy2-2.3.tar.gz |
|---|---|
| Size | 13.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4e87426d88db7d0c5c42fefd454a3c8dca9fa02ab3558dded86e840403c842c8
|
|
BLAKE2b-256 checksum How to use checksums |
88363620c6a52eb856551a19f93648663c21ca2f0ae86972f7c39803259f787b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.23.0 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.3
|
Release files / djitellopy2-2.3-py3-none-any.whl
| Download URL | djitellopy2-2.3-py3-none-any.whl |
|---|---|
| Size | 13.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
68a3c7c60b6ea0a67cdc96a55302a9e6cc0c4d8530ca62434a1eb3ed83b0e47c
|
|
BLAKE2b-256 checksum How to use checksums |
6fa5a7901c23e5bad4548f330fc02735c446d42020f74bceb67efbee44d6b907
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.23.0 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.3
|
Security for djitellopy2 2.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.