> For the complete documentation index, see [llms.txt](https://alfredo-reyes-montero.gitbook.io/tello-dji/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://alfredo-reyes-montero.gitbook.io/tello-dji/frameworks/go/gobot-driver-for-the-ryze-tello.md).

# Gobot driver for the Ryze Tello

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

**Api References:**&#x20;

<https://godoc.org/gobot.io/x/gobot/platforms/dji/tello>

## How to Install <a href="#how-to-install" id="how-to-install"></a>

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

## How to Use <a href="#how-to-use" id="how-to-use"></a>

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