From 2772022785bc3f9d27d21acf2922773b33318146 Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Tue, 9 Feb 2021 08:50:37 +0100 Subject: [PATCH] mavsdk_tests: disable mag stuck test The estimator sometimes diverges in vz after landing which makes the test fail. This needs to be dealt with first before we can enable the test again. --- test/mavsdk_tests/test_multicopter_failsafe.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/mavsdk_tests/test_multicopter_failsafe.cpp b/test/mavsdk_tests/test_multicopter_failsafe.cpp index 90bf9b0cda..68fa56f6dd 100644 --- a/test/mavsdk_tests/test_multicopter_failsafe.cpp +++ b/test/mavsdk_tests/test_multicopter_failsafe.cpp @@ -83,6 +83,9 @@ TEST_CASE("Continue on mag lost during mission", "[multicopter][vtol]") tester.wait_until_disarmed(until_disarmed_timeout); } +#if 0 +// This test is disabled for now because the estimator sometimes diverges on +// right after landing which then prevents auto-disarm. TEST_CASE("Continue on mag stuck during mission", "[multicopter][vtol]") { AutopilotTester tester; @@ -97,6 +100,7 @@ TEST_CASE("Continue on mag stuck during mission", "[multicopter][vtol]") std::chrono::seconds until_disarmed_timeout = std::chrono::seconds(180); tester.wait_until_disarmed(until_disarmed_timeout); } +#endif TEST_CASE("Continue on baro lost during mission (baro height mode)", "[multicopter][vtol]") {