The easy way to control a DJI Tello drone.
Project description
Tello-X 🚁
The easy way to control a DJI Tello drone from Python.
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tellox-0.2.7.tar.gz.
File metadata
- Download URL: tellox-0.2.7.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/6.2.0-31-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc0af10dad26ada282f2b8d945d087fc3fd8ff5970de993b0d8a7121660db56d
|
|
| MD5 |
4cd4d2f4fb13860506cd40bcacbb4060
|
|
| BLAKE2b-256 |
b465a0ea9486938d2ab48705e31ccc36cd2ce12ca5055d5836e7f0c6d7abce1b
|
File details
Details for the file tellox-0.2.7-py3-none-any.whl.
File metadata
- Download URL: tellox-0.2.7-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/6.2.0-31-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22e3334cd1bf320a8d6c8289bbe1e714f489697977720fa46d43f3f43a80a414
|
|
| MD5 |
d3bdd738ffe22a62648875d68ed5e897
|
|
| BLAKE2b-256 |
470d0549e5655834d5eda9aae132dd81a02ed80db634892845ac76720519d572
|