Skip to content

Instantly share code, notes, and snippets.

@matiasinsaurralde
Created September 1, 2017 12:30
Show Gist options
  • Save matiasinsaurralde/37e8e7bf242b8d2c1c86d1363155ed02 to your computer and use it in GitHub Desktop.
Save matiasinsaurralde/37e8e7bf242b8d2c1c86d1363155ed02 to your computer and use it in GitHub Desktop.
bebop-test.go
package main
import (
"time"
"gobot.io/x/gobot/platforms/parrot/bebop/client"
)
func main() {
bebop := client.New()
bebop.Connect()
bebop.TakeOff()
time.Sleep(5 * time.Second)
bebop.Land()
}
@cmelgarejo
Copy link

on Exception:
bebop.Crash()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment