mirror of https://github.com/ArduPilot/ardupilot
Tools: autotest: copter: remove check for PWM min/max zero
This commit is contained in:
parent
b7db7f8cac
commit
59b40a3845
|
@ -6587,16 +6587,6 @@ class AutoTestCopter(AutoTest):
|
||||||
self.set_parameter("MOT_PWM_MAX", 100)
|
self.set_parameter("MOT_PWM_MAX", 100)
|
||||||
self.drain_mav()
|
self.drain_mav()
|
||||||
self.assert_prearm_failure("Check MOT_PWM_MIN/MAX")
|
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):
|
def test_alt_estimate_prearm(self):
|
||||||
self.context_push()
|
self.context_push()
|
||||||
|
|
Loading…
Reference in New Issue