mirror of https://github.com/ArduPilot/ardupilot
autotest: Add test "RC not found"
This commit is contained in:
parent
bd89141c3d
commit
9c52930d87
|
@ -8840,8 +8840,12 @@ class AutoTestCopter(AutoTest):
|
|||
"SIM_RC_FAIL": rc_failure_mode,
|
||||
})
|
||||
self.reboot_sitl()
|
||||
self.assert_prearm_failure("Throttle below failsafe",
|
||||
other_prearm_failures_fatal=False)
|
||||
if rc_failure_mode == 1:
|
||||
self.assert_prearm_failure("RC not found",
|
||||
other_prearm_failures_fatal=False)
|
||||
elif rc_failure_mode == 2:
|
||||
self.assert_prearm_failure("Throttle below failsafe",
|
||||
other_prearm_failures_fatal=False)
|
||||
self.context_pop()
|
||||
self.reboot_sitl()
|
||||
|
||||
|
|
Loading…
Reference in New Issue