Skip to main content

An easy framework to support DJI Tello scripting in Python 3

Project description

tellosync

version info liscence PyPI

tellosync 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. This library is based off of easyTello. tellosync is meant to add the ability to sync multiple computers using Arduinos. Each computer that is communicating with a drone is connected to an Arduino which then syncs with the Arduinos of other drones. This is a work in progress as of 6/28/2023 and is mostly for the sake of learning.

Installation

To install the library, simply run:

pip install tellosync 

or to install from cloned source:

$ git clone https://github.com/vwu1888/easyTello
$ cd easyTello
$ python setup.py install

Note: tellosync requires OpenCV-Python and pySerial. These should automatically install with tellosync, however, you can manually install it by running:

pip install opencv-python

pip install pyserial

For more information on OpenCV-Python click here.

For more information on pySerial click here.

Examples

Creating a drone object in Python:

from easytello import tello

my_drone = tello.Tello()

Programming the drone to takeoff, fly in a square and then land:

my_drone.takeoff()

for i in range(4):
	my_drone.forward(100)
	my_drone.cw(90)
	
my_drone.land()

Toggling state of video stream:

# Turning on stream
my_drone.streamon()
# Turning off stream
my_drone.streamoff()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tellosync-0.1.0.tar.gz (6.7 kB view details)

Uploaded Source

File details

Details for the file tellosync-0.1.0.tar.gz.

File metadata

  • Download URL: tellosync-0.1.0.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.5

File hashes

Hashes for tellosync-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2de1b22660ec92b662d19e4e28e6408589ea5d526be12543907e0c160c7c8621
MD5 a934af4d567d07bc4951d157435c8434
BLAKE2b-256 87a153e66d5fffbcd2b6a407723ca3c2be140de1b1d1a9b5b29b365e41af1bcd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page