diff --git a/Tools/autotest/arducopter.py b/Tools/autotest/arducopter.py index 8b46a62473ec3..eb241490131b6 100644 --- a/Tools/autotest/arducopter.py +++ b/Tools/autotest/arducopter.py @@ -1719,8 +1719,6 @@ def MinAltFence(self): # Also check that the vehicle will not try and ascend too fast when trying to backup from a min alt fence due to avoidance def MinAltFenceAvoid(self): '''Test Min Alt Fence Avoidance''' - self.takeoff(30, mode="LOITER") - """Hold loiter position.""" # enable fence, only min altitude # No action, rely on avoidance to prevent the breach @@ -1731,6 +1729,9 @@ def MinAltFenceAvoid(self): "FENCE_ACTION": 0, }) + self.takeoff(30, mode="LOITER") + """Hold loiter position.""" + # Try and fly past the fence self.set_rc(3, 1120)