> 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/tello-go-unofficial.md).

# 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](https://github.com/SMerrony/tello/blob/master/ImplementationChart.md) for full details of what functions are currently implemented.

Documentation should be available locally via godoc, or via [godoc.org](https://godoc.org/github.com/SMerrony/tello).

An example application using this package is available at [telloterm](https://github.com/SMerrony/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()
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://alfredo-reyes-montero.gitbook.io/tello-dji/frameworks/go/tello-go-unofficial.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
