Increase hover time and remove cruft from simple Bebop drone example
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
parent
f1239d42a0
commit
f90acf82a3
|
@ -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…
Reference in New Issue