Tello Go (unofficial)

This tello package provides an unofficial, easy-to-use, standalone API for the Ryze Tello® drone.

Features

The following features have been implemented...

  • Stick-based flight control, ie. for joystick, game-, or flight-controller

  • Drone built-in flight commands, eg. Takeoff(), PalmLand()

  • Macro-level flight control, eg. Forward(), Up()

  • Autopilot flight control, eg. AutoFlyToHeight(), AutoFlyToXY()

  • Video stream support

  • Enriched flight-data (some log data is added)

  • Picture taking/saving support

  • Multiple drone support - Untested

See ImplementationChart.md for full details of what functions are currently implemented.

Documentation should be available locally via godoc, or via godoc.org.

An example application using this package is available at telloterm.

Here is an example of just about the simplest use of the package...

package main
import (
  "log"
  "time"
  "github.com/SMerrony/tello"
)

func main() {
      drone := new(tello.Tello)
  err := drone.ControlConnectDefault()
  if err != nil {
    log.Fatalf("%v", err) 
  }

  drone.TakeOff()
  time.Sleep(10 * time.Second)
  drone.Land()
  drone.ControlDisconnect()
}

Last updated