Tello drone and the python packages

From wikiluntti

Introduction

Some of the Python packages that are available to program Tello drone. We will be using the Tello-asyncio package, https://tello-asyncio.readthedocs.io/en/latest/index.html.

Theory

List of packages

On Off coder

On Off coder https://tello.oneoffcoder.com (2019): Looks good but Scratch.

On Off coder https://tello.oneoffcoder.com (2019): Python version, also.

Commands:

  • takeoff, land
  • up XX cm, down XX cm
  • left XX cm, right XX cm, forward XX cm, back XX cm
  • cw XX Rotate clockwise degrees, ccw XX
  • flip x l, r, f, b
  • speed XX cm/s
  • speed? Battery? Time?
  • streamon, streamoff
  • emergency
  • stop hovers in the air
  • go x y z v (mid)
  • curve x1 y1 z1 x2 y2 z2 v (mid)
  • jump x y z v yaw m1 m2
  • wifi
  • mon, moff pad detection


Swarm mode.


AP mode or Station mode.

Shan Simpson

Shannon Simpson

SDK 2.0

UDP Client (User Datagram Protocol)

Tello-Python

Tello-Python (2018)

Python 2.7


Droneology

Tello Drone Programming with Python (May 2019). Also a github https://github.com/dbaldwin/droneblocks-tello-python

Anaconda + Jupyter, UDP,

Hanyazo / TelloPy

https://github.com/hanyazou/TelloPy

pip install tellopy


Hello, Tello - Hacking Drones With Go

https://gobot.io/blog/2018/04/20/hello-tello-hacking-drones-with-go/ (2018)

Tello-Python 1.1.6 or cocpy / Tello-Python

https://pypi.org/project/tello-python/ (Aug 2021) https://github.com/cocpy/Tello-Python


pip install tello-python

easyTello

https://pypi.org/project/easytello/ (Jun 2019)


tello-asyncio

https://tello-asyncio.readthedocs.io/en/latest/index.html (Jul 2021)

I couldn't set the asuncio working at Windows 10, but Linux works great. However, the video need h264 library, and installing it to Arch Linux seems to be difficult: see the installing instructions at https://github.com/dji-sdk/Tello-Python/blob/master/Tello_Video/README.md The other method using OpenCV2 is easier to install and set up working.

Tello SDK 3.0

Examples

https://tellopilots.com/threads/taking-pictures-with-tello-drone-using-python-3.4964/

https://tellopilots.com/threads/the-secret-of-showing-video-with-opencv-is.5987/

https://github.com/dbaldwin/tello-adv-setup


Easy Programming of Tello Drone | Python OpenCV Object Tracking

Drone Face Tracking PID