Added fix for Takeoff Test

This commit is contained in:
Jason Short 2011-12-22 20:33:49 -08:00
parent d626fcb52f
commit c9b2d1c3c2
1 changed files with 1 additions and 0 deletions

View File

@ -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