12 lines
284 B
Python
12 lines
284 B
Python
|
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.disarm_motors(mavproxy,mav)):
|
||
|
return True
|
||
|
return False
|
||
|
|