Skip to content

Latest commit

 

History

History
47 lines (29 loc) · 1.56 KB

README.md

File metadata and controls

47 lines (29 loc) · 1.56 KB

DJI Tello pose control

This project enables you to control the DJI Tello drone with your body pose

Pose Detection

The pose detection code is based on the work found in this repository https://github.com/Hzzone/pytorch-openpose

Download the Models

*.pth files are pytorch model, you could also download caffemodel file if you want to use caffe as backend.

Download the pytorch models and put them in a directory named model inside the res directory

Controlling DJI Tello

To interact with the drone I use the djitellopy library.

This is a DJI Tello drone python interface using the official Tello SDK and Tello EDU SDK.

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()

For more information on djitellopy

See djitellopy.readthedocs.io for a full reference of all classes and methods available.