Skip to content
A DroneBlocks course on drone programming with Tello using Python scripts
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lesson1-python-setup
lesson2-udp-overview UDPSender updates Apr 7, 2018
lesson3-udp-send-receive Port 9000 Apr 9, 2018
lesson4-box-mission TelloBoxMission Jupyter notebook Apr 11, 2018
lesson5-spin-and-bounce Updating comment Apr 20, 2018
lesson6-keyboard-commands Explicitly adding sys import in cases where it may not be pre-loaded Aug 30, 2018
lesson7-units
lesson8-retry Jupyter notebook for retry mission May 10, 2018
lesson9-raspberry-pi Lesson 9 readme May 10, 2018
misc Preliminary code and assets Apr 6, 2018
sketch-assets
tello-simulator Let's print the sender info Dec 13, 2018
.gitignore README Apr 4, 2018
README.md Adding go command Apr 24, 2018

README.md

Tello Programming with Python

This GitHub respository contains the Python source code for each of the lessons in our DroneBlocks course:

https://learn.droneblocks.io/p/tello-drone-programming-with-python/

This online course will walk you through using Python to program your Tello drone for autonomous flight. As of 4/1/18 the commands supported by Tello are:

  • command
  • takeoff
  • land
  • up xx (fly up a distance from 20 - 500 cm)
  • down xx (fly down a distance from 20 - 500 cm)
  • left xx (fly left a distance from 20 - 500 cm)
  • right xx (fly right a distance from 20 - 500 cm)
  • forward xx (fly forward a distance from 20 - 500 cm)
  • back xx (fly backward a distance from 20 - 500 cm)
  • go x y z speed (fly x y z distance with speed)
  • cw xx (yaw clockwise with angle from 1 - 3600 degrees)
  • ccw xx (yaw counter clockwise with angle from 1 - 3600 degrees)
  • flip x (flip l/r/f/b/bl/br/fl/fr)
    • l = left
    • r = right
    • f = forward
    • b = backward
    • bl = backward left
    • br = backward right
    • fl = forward left
    • fr = forward right
  • speed x (set speed from 1 - 100 cm/s)
  • speed? (get current speed)
  • battery? (get current battery percentage)
  • time? (get current flight time)

Please feel free to get familiar with the code and we welcome any pull requests. If you'd like to join our online community you can do so here:

https://www.facebook.com/groups/droneblocks

If you'd prefer to code Tello using block programming then check out DroneBlocks in both the iOS and Android app stores.

iOS: DroneBlocks for iOS

Android: DroneBlocks for Android

You can’t perform that action at this time.