Tools: autotest: remove switch position assumption from takeoff

This commit is contained in:
Peter Barker 2019-09-25 12:25:55 +10:00 committed by Andrew Tridgell
parent 5871cdad23
commit 7fd52a12cf

View File

@ -81,8 +81,7 @@ class AutoTestPlane(AutoTest):
if alt_max is None:
alt_max = alt + 30
self.mavproxy.send('switch 4\n')
self.wait_mode('FBWA')
self.change_mode("FBWA")
self.wait_ready_to_arm()
self.arm_vehicle()