Giter VIP home page Giter VIP logo

djitellopy's Introduction

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:

Notes

  • If you are using the streamon command and the response is Unknown command means 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

djitellopy's People

Contributors

m4gnv5 avatar damiafuentes avatar ovicus avatar parakh08 avatar hyansuper avatar koenigscode avatar leventarican avatar mustafatokmak avatar walt-h avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.