mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
autotest: wait for a higher altitude on takeoff
otherwise left circuit can crash
This commit is contained in:
parent
c0697d0a2d
commit
ef104b6629
@ -36,10 +36,10 @@ def takeoff(mavproxy, mav):
|
||||
|
||||
# hit the gas harder now, and give it some more elevator
|
||||
mavproxy.send('rc 2 1100\n')
|
||||
mavproxy.send('rc 3 1800\n')
|
||||
mavproxy.send('rc 3 2000\n')
|
||||
|
||||
# gain a bit of altitude
|
||||
if not wait_altitude(mav, homeloc.alt+30, homeloc.alt+60, timeout=30):
|
||||
if not wait_altitude(mav, homeloc.alt+150, homeloc.alt+180, timeout=30):
|
||||
return False
|
||||
|
||||
# level off
|
||||
|
Loading…
Reference in New Issue
Block a user