From 4a251bebbdd68c9030b8a2259fef75ed01181904 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 9 Mar 2021 14:15:58 +1100 Subject: [PATCH] autotest: fix fly_home_land_and_disarm; wp 7 is never current wp This is never a current waypoint, so we can't wait for it --- Tools/autotest/arduplane.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/autotest/arduplane.py b/Tools/autotest/arduplane.py index c9f35ae6a4..fc524ffc9f 100644 --- a/Tools/autotest/arduplane.py +++ b/Tools/autotest/arduplane.py @@ -694,7 +694,7 @@ class AutoTestPlane(AutoTest): self.progress("Using %s to fly home" % filename) self.load_mission(filename) self.change_mode("AUTO") - self.set_current_waypoint(7) + self.set_current_waypoint(8) self.drain_mav() # TODO: reflect on file to find this magic waypoint number? # self.wait_waypoint(7, num_wp-1, timeout=500) # we