SITL: enable failure command (SYS_FAILURE_EN=1)

This commit is contained in:
Beat Küng
2022-06-04 07:40:29 +02:00
parent 56faaae959
commit 8bf18e31be
3 changed files with 8 additions and 0 deletions
@@ -41,6 +41,7 @@ TEST_CASE("Failure Injection - Reject mid-air when it is disabled", "[multicopte
AutopilotTesterFailure tester;
tester.connect(connection_url);
tester.wait_until_ready();
tester.set_param_int("SYS_FAILURE_EN", 0);
tester.arm();
tester.takeoff();
tester.wait_until_hovering();