From 56298aabdabb8a688dc5249c63252d62f3c1ca47 Mon Sep 17 00:00:00 2001 From: Pierre Kancir Date: Tue, 9 Jul 2019 17:31:53 +0200 Subject: [PATCH] Tools: update arduplane.py wait function parameters --- Tools/autotest/arduplane.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tools/autotest/arduplane.py b/Tools/autotest/arduplane.py index 6e8bd15dfd..037ea4be5c 100644 --- a/Tools/autotest/arduplane.py +++ b/Tools/autotest/arduplane.py @@ -1571,8 +1571,8 @@ class AutoTestPlane(AutoTest): raise NotAchievedException("Did not get accepted response") self.wait_location(loc, accuracy=100) # based on loiter radius self.delay_sim_time(20) - self.wait_altitude(alt_min=desired_relative_alt-3, - alt_max=desired_relative_alt+3, + self.wait_altitude(altitude_min=desired_relative_alt-3, + altitude_max=desired_relative_alt+3, relative=True) self.fly_home_land_and_disarm()