mavsdk_tests: add offboard attitude test & run with Q estimator

This commit is contained in:
Beat Küng
2023-08-04 11:27:31 -04:00
committed by Daniel Agar
parent d75bb62a65
commit 0277a6486f
6 changed files with 86 additions and 1 deletions
@@ -73,3 +73,12 @@ TEST_CASE("Offboard position control", "[multicopter][offboard]")
tester.wait_until_disarmed(std::chrono::seconds(120));
tester.check_home_within(1.0f);
}
TEST_CASE("Offboard attitude control", "[multicopter][offboard_attitude]")
{
AutopilotTester tester;
tester.connect(connection_url);
tester.set_rc_loss_exception(AutopilotTester::RcLossException::Offboard);
tester.fly_forward_in_offboard_attitude();
tester.wait_until_disarmed(std::chrono::seconds(120));
}