mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
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)
|
m = mav.recv_match(type='VFR_HUD', blocking=True)
|
||||||
if (m.alt < alt_min):
|
if (m.alt < alt_min):
|
||||||
wait_altitude(mav, alt_min, (alt_min + 5))
|
wait_altitude(mav, alt_min, (alt_min + 5))
|
||||||
|
mavproxy.send('rc 3 1430\n')
|
||||||
print("TAKEOFF COMPLETE")
|
print("TAKEOFF COMPLETE")
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user