1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-04-26 13:48:49 +08:00

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 2707124725
commit 807999debf

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