Tello Dji
  • Introduction
  • Tech Spec
  • SDK
  • Frameworks
    • Python
      • Tellopy
      • PyTello
    • NodeJS
      • Tello-api-client
      • Tello-nodejs
    • Go
      • Gobot driver for the Ryze Tello
      • Tello Go (unofficial)
    • ROS
    • Scratch
    • Droneblocks
  • Applications
    • Requirements
    • FlyControll
      • Tellopy
        • HelloWorld
        • CircuitDemo
    • Image Recognition
      • Object Detection
    • Telemetry
      • HomeAssistant
      • BoschXDK110-RemoteController
        • Requirement
        • XDK110
        • Drone
Powered by GitBook
On this page
  • How to Install
  • How to Use

Was this helpful?

  1. Frameworks
  2. Go

Gobot driver for the Ryze Tello

PreviousGoNextTello Go (unofficial)

Last updated 5 years ago

Was this helpful?

This package contains the Gobot driver for the Ryze Tello drone, sold by DJI.

Api References:

How to Install

$ go get -d -u gobot.io/x/gobot/...

How to Use

Connect to the drone's Wi-Fi network from your computer. It will be named something like "TELLO-XXXXXX".

Once you are connected you can run the Gobot code on your computer to control the drone.

Here is a sample of how you initialize and use the driver:

package main

import (
        "fmt"
        "time"

        "gobot.io/x/gobot"
        "gobot.io/x/gobot/platforms/dji/tello"
)

func main() {
        drone := tello.NewDriver("8888")

        work := func() {
                drone.TakeOff()

                gobot.After(5*time.Second, func() {
                        drone.Land()
                })
        }

        robot := gobot.NewRobot("tello",
                []gobot.Connection{},
                []gobot.Device{drone},
                work,
        )

        robot.Start()
}
https://godoc.org/gobot.io/x/gobot/platforms/dji/tello