mirror of https://github.com/ArduPilot/ardupilot
Added fix for Takeoff Test
This commit is contained in:
parent
d626fcb52f
commit
c9b2d1c3c2
|
@ -53,6 +53,7 @@ def takeoff(mavproxy, mav, alt_min = 30):
|
|||
m = mav.recv_match(type='VFR_HUD', blocking=True)
|
||||
if (m.alt < alt_min):
|
||||
wait_altitude(mav, alt_min, (alt_min + 5))
|
||||
mavproxy.send('rc 3 1430\n')
|
||||
print("TAKEOFF COMPLETE")
|
||||
return True
|
||||
|
||||
|
|
Loading…
Reference in New Issue