From 7fd52a12cff9afffe4f9a2a28c6ddf24ca7a055b Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 25 Sep 2019 12:25:55 +1000 Subject: [PATCH] Tools: autotest: remove switch position assumption from takeoff --- Tools/autotest/arduplane.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Tools/autotest/arduplane.py b/Tools/autotest/arduplane.py index c78b5b348a..d6552360b9 100644 --- a/Tools/autotest/arduplane.py +++ b/Tools/autotest/arduplane.py @@ -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()