Browse Source

Tools: autotest: copter: remove check for PWM min/max zero

gps-1.3.1
Iampete1 3 years ago committed by Randy Mackay
parent
commit
59b40a3845
  1. 10
      Tools/autotest/arducopter.py

10
Tools/autotest/arducopter.py

@ -6587,16 +6587,6 @@ class AutoTestCopter(AutoTest): @@ -6587,16 +6587,6 @@ class AutoTestCopter(AutoTest):
self.set_parameter("MOT_PWM_MAX", 100)
self.drain_mav()
self.assert_prearm_failure("Check MOT_PWM_MIN/MAX")
self.progress("invalid; both must be non-zero or both zero (min=0)")
self.set_parameter("MOT_PWM_MIN", 0)
self.set_parameter("MOT_PWM_MAX", 100)
self.drain_mav()
self.assert_prearm_failure("Check MOT_PWM_MIN/MAX")
self.progress("invalid; both must be non-zero or both zero (max=0)")
self.set_parameter("MOT_PWM_MIN", 100)
self.set_parameter("MOT_PWM_MAX", 0)
self.drain_mav()
self.assert_prearm_failure("Check MOT_PWM_MIN/MAX")
def test_alt_estimate_prearm(self):
self.context_push()

Loading…
Cancel
Save