Skip to main content

Tello-X 🚁

The easy way to control a DJI Tello drone from Python.

GitHub tag License PyPI version

Features

  • Easily pilot the Tello drone by sending commands and reading sensor data.
  • Built-in support for AprilTag detection.
  • Built-in data logging

Installation

We recommen installing tellox in a virtual environment:

# Create a virtual environment for your project
cd path/to/your/project
python -m venv venv

# Activate the virtual environment (you'll need to do this whenever you start a new shell)
source venv/bin/activate  # or just `venv/Scripts/activate` in Windows PowerShell

# Install this library
pip install tellox

That's it! Connect to your Tello over WiFi and try some of the examples.

For a minimal example:

import time
import tellox as tx

pilot = tx.Pilot()
pilot.takeoff()
pilot.land()

A note on coordinate frames

The Tello's body frame is defined North-East-Down (a standard for aircraft), so x points forward (out of the camera), y points to the right of the drone, and z points down. The camera frame is defined with z pointing out of the camera and x pointing to the right of the drone. If you use pilot.detect_tags to get the relative pose of AprilTags in the drone's view, then the returned translation pose_t and rotation pose_R are defined relative to the camera frame. To convert the tag position to the drone body frame, use pilot.convert_to_drone_frame.

License

Released under the MIT License by Charles Dawson.

Contributing

If you find a bug or would like to contribute a feature, that's awesome! Please file an issue and open a pull request. More details on contribution can be found in the CONTRIBUTING.md file.

Metadata

Release files for tellox 0.2.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tellox 0.2.7
File Size Uploaded Provenance Actions
tellox-0.2.7.tar.gz 7.3 kB Without provenance Details for tellox-0.2.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tellox 0.2.7
File Interpreter ABI Platform Actions
tellox-0.2.7-py3-none-any.whl Python 3 none any Details for tellox-0.2.7-py3-none-any.whl

Total release size: 15.4 kB

Release files / tellox-0.2.7.tar.gz

Download URL tellox-0.2.7.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
dc0af10dad26ada282f2b8d945d087fc3fd8ff5970de993b0d8a7121660db56d
BLAKE2b-256 checksum
How to use checksums
b465a0ea9486938d2ab48705e31ccc36cd2ce12ca5055d5836e7f0c6d7abce1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.10.12 Linux/6.2.0-31-generic

Release files / tellox-0.2.7-py3-none-any.whl

Download URL tellox-0.2.7-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
22e3334cd1bf320a8d6c8289bbe1e714f489697977720fa46d43f3f43a80a414
BLAKE2b-256 checksum
How to use checksums
470d0549e5655834d5eda9aae132dd81a02ed80db634892845ac76720519d572
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.10.12 Linux/6.2.0-31-generic

Security for tellox 0.2.7

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page