Skip to content

cocpy/Tello-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tello-Python

Control DJI Tello drone with python

Installation

pip install tello-python

How to import

import tello

drone = tello.Tello()

Examples

import tello

drone = tello.Tello()

drone.takeoff()

drone.forward(100)

drone.cw(90)

drone.flip('r')

drone.streamon()

drone.land()

Distance

Required. The distance to fly forward in cm. Has to be between 20 and 500.

Degrees

Required. The number of degrees to rotate. Has to be between 1 and 360.

More

For more commands, please refer to the methods and comments in the source code tello.py file