mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
autotest: Add test "RC not found"
This commit is contained in:
parent
bd89141c3d
commit
9c52930d87
@ -8840,6 +8840,10 @@ class AutoTestCopter(AutoTest):
|
|||||||
"SIM_RC_FAIL": rc_failure_mode,
|
"SIM_RC_FAIL": rc_failure_mode,
|
||||||
})
|
})
|
||||||
self.reboot_sitl()
|
self.reboot_sitl()
|
||||||
|
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",
|
self.assert_prearm_failure("Throttle below failsafe",
|
||||||
other_prearm_failures_fatal=False)
|
other_prearm_failures_fatal=False)
|
||||||
self.context_pop()
|
self.context_pop()
|
||||||
|
Loading…
Reference in New Issue
Block a user