package
0.0.0-20140402002621-b9750d8d7b78
Repository: https://github.com/hybridgroup/go-ardrone.git
Documentation: pkg.go.dev

# README

ardrone

A Go implementation of the Parrot AR Drone protocols. Not complete yet, but the stuff that is implemented should work : ).

Get the latest version from Github

go get github.com/felixge/ardrone

The code below will execute a nice little sequence, but please make sure you have enough space when running it.

package main

import (
	"github.com/felixge/ardrone"
	"time"
)

func main() {
	client, err := ardrone.Connect(ardrone.DefaultConfig())
	if err != nil {
		panic(err)
	}

	client.Takeoff()
	client.Vertical(1*time.Second, 0.5)
	time.Sleep(3 * time.Second)
	client.Roll(1*time.Second, 0.5)
	time.Sleep(3 * time.Second)
	client.Roll(1*time.Second, -0.5)
	time.Sleep(3 * time.Second)
	client.Animate(ardrone.FLIP_LEFT, 200)
	time.Sleep(5 * time.Second)
	client.Land()
}

Save the code into a file and run:

go run main.go

API Documentation

The API documentation can be found here.

# Packages

No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author