You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
456 B
14 lines
456 B
import arducopter |
|
|
|
def unit_test(mavproxy, mav): |
|
'''A scripted flight plan''' |
|
if ( |
|
arducopter.calibrate_level(mavproxy, mav) and |
|
arducopter.arm_motors(mavproxy, mav) and |
|
arducopter.takeoff(mavproxy,mav, alt_min=80, takeoff_throttle=1510) and |
|
arducopter.hover(mavproxy,mav, hover_throttle=1300) and |
|
arducopter.fly_failsafe(mavproxy, mav, side=80, timeout=120) |
|
): |
|
return True |
|
return False |
|
|
|
|