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:
parent
2707124725
commit
807999debf
@ -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()
|
||||
})
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user