From 6f7ba3b037437570b3a1c116b579a81d9d2c1147 Mon Sep 17 00:00:00 2001 From: James O'Shannessy <12959316+joshanne@users.noreply.github.com> Date: Fri, 22 Jan 2021 15:33:09 +1100 Subject: [PATCH] AutoTest: Ensure fence is disabled at end of throttle_failsafe_fence test --- Tools/autotest/arduplane.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Tools/autotest/arduplane.py b/Tools/autotest/arduplane.py index 377550ae09..9b90cdbc6b 100644 --- a/Tools/autotest/arduplane.py +++ b/Tools/autotest/arduplane.py @@ -1000,6 +1000,7 @@ class AutoTestPlane(AutoTest): self.progress("Got (%s)" % str(m)) if (not (m.onboard_control_sensors_enabled & fence_bit)): raise NotAchievedException("Fence not enabled after RC fail") + self.do_fence_disable() # Ensure the fence is disabled after test def test_gripper_mission(self): self.context_push()