Skip to content

Commit

Permalink
mavsdk_tests: disable mag stuck test
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
julianoes authored and LorenzMeier committed Feb 9, 2021
1 parent e592bed commit 2772022
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/mavsdk_tests/test_multicopter_failsafe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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]")
{
Expand Down

0 comments on commit 2772022

Please sign in to comment.