Increase hover time and remove cruft from simple Bebop drone example

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram 2016-04-12 14:32:53 -07:00
parent f1239d42a0
commit f90acf82a3
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ func main() {
work := func() {
gobot.On(drone.Event("flying"), func(data interface{}) {
gobot.After(3*time.Second, func() {
gobot.After(10*time.Second, func() {
drone.Land()
})
})