Browse Source

AutoTest: Ensure fence is disabled at end of throttle_failsafe_fence test

zr-v5.1
James O'Shannessy 4 years ago committed by Peter Barker
parent
commit
6f7ba3b037
  1. 1
      Tools/autotest/arduplane.py

1
Tools/autotest/arduplane.py

@ -1000,6 +1000,7 @@ class AutoTestPlane(AutoTest): @@ -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()

Loading…
Cancel
Save