Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Virodroid/easyTello
An easy to use library to support DJI Tello scripting in Python 3
https://github.com/Virodroid/easyTello
dji dji-sdk djitello drone drones python python-3 python3 ryze ryze-tello-drone tello tello-python3 tellodrone
Last synced: 4 months ago
JSON representation
An easy to use library to support DJI Tello scripting in Python 3
- Host: GitHub
- URL: https://github.com/Virodroid/easyTello
- Owner: ezrafielding
- License: mit
- Archived: true
- Created: 2019-01-14T08:30:19.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-01-22T10:03:59.000Z (almost 4 years ago)
- Last Synced: 2024-08-18T13:05:37.226Z (4 months ago)
- Topics: dji, dji-sdk, djitello, drone, drones, python, python-3, python3, ryze, ryze-tello-drone, tello, tello-python3, tellodrone
- Language: Python
- Homepage:
- Size: 35.2 KB
- Stars: 79
- Watchers: 8
- Forks: 30
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-tello - EasyTello - `#Python`, unmaintained (SDK Wrappers)
README
# easyTello
[![version info](https://img.shields.io/pypi/pyversions/easytello.svg)](https://pypi.org/project/easytello/)
[![liscence](https://img.shields.io/pypi/l/easytello.svg)](https://pypi.org/project/easytello/)
[![PyPI](https://img.shields.io/pypi/v/easytello.svg)](https://pypi.org/project/easytello/)**Note: Not under active development**
**easyTello** is a Python library created to provide users with a simple way to interface and send commands to the DJI Tello drone, as well as to simply and easily teach students how to control the drone using Python 3. All the commands outlined in the DJI Tello SDK 1.3.0.0 are present in this library.
## Installation
To install the library, simply run:
```
pip install easytello
```
or to install from cloned source:
```
$ git clone https://github.com/Virodroid/easyTello.git
$ cd easyTello
$ python setup.py install
```
**Note:** easyTello requires OpenCV-Python. If you don't have it installed, simply run:
```
pip install opencv-python
```
For more information on OpenCV-Python click [here](https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_tutorials.html).## Examples
Creating a drone object in Python:
```python
from easytello import tellomy_drone = tello.Tello()
```
Programming the drone to takeoff, fly in a square and then land:
```python
my_drone.takeoff()for i in range(4):
my_drone.forward(100)
my_drone.cw(90)
my_drone.land()
```
Toggling state of video stream:
```python
# Turning on stream
my_drone.streamon()
# Turning off stream
my_drone.streamoff()
```