Tools: update quadplane tests to use safer functions
This commit is contained in:
parent
d37a74f46a
commit
b35cb4d814
@ -120,13 +120,14 @@ class AutoTestQuadPlane(AutoTest):
|
||||
self.wait_mode('AUTO')
|
||||
self.wait_waypoint(1, 19, max_dist=60, timeout=1200)
|
||||
|
||||
self.mavproxy.expect('DISARMED')
|
||||
self.mav.motors_disarmed_wait()
|
||||
# wait for blood sample here
|
||||
self.mavproxy.send('wp set 20\n')
|
||||
self.wait_ready_to_arm()
|
||||
self.arm_vehicle()
|
||||
self.wait_waypoint(20, 34, max_dist=60, timeout=1200)
|
||||
|
||||
self.mavproxy.expect('DISARMED')
|
||||
self.mav.motors_disarmed_wait()
|
||||
self.progress("Mission OK")
|
||||
|
||||
def autotest(self):
|
||||
@ -151,7 +152,7 @@ class AutoTestQuadPlane(AutoTest):
|
||||
|
||||
# wait for EKF and GPS checks to pass
|
||||
self.progress("Waiting reading for arm")
|
||||
self.wait_seconds(30)
|
||||
self.wait_ready_to_arm()
|
||||
|
||||
self.run_test("Arm features", self.test_arm_feature)
|
||||
self.arm_vehicle()
|
||||
|
Loading…
Reference in New Issue
Block a user