mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
mavsdk_tests: try using tags as intended
The tags should enable use to assemble the tests in various ways. This will probably require some iterations though.
This commit is contained in:
@@ -6,23 +6,23 @@
|
||||
[
|
||||
{
|
||||
"model": "iris",
|
||||
"test_filter": "[multicopter]",
|
||||
"test_filter": "[multicopter],[offboard]",
|
||||
"timeout_min": 20
|
||||
},
|
||||
{
|
||||
"model": "iris_opt_flow_mockup",
|
||||
"test_filter": "[multicopter_offboard]",
|
||||
"test_filter": "[multicopter][offboard][nogps]",
|
||||
"timeout_min": 20
|
||||
},
|
||||
{
|
||||
"model": "iris_vision",
|
||||
"test_filter": "[multicopter_offboard]",
|
||||
"test_filter": "[multicopter][offboard][nogps]",
|
||||
"timeout_min": 20,
|
||||
"max_speed_factor": 1
|
||||
},
|
||||
{
|
||||
"model": "standard_vtol",
|
||||
"test_filter": "[vtol]",
|
||||
"test_filter": "[multicopter][vtol]",
|
||||
"timeout_min": 20
|
||||
}
|
||||
]
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include "autopilot_tester.h"
|
||||
|
||||
|
||||
TEST_CASE("Takeoff and Land (Multicopter offboard)", "[multicopter_offboard]")
|
||||
TEST_CASE("Takeoff and Land (Multicopter offboard)", "[multicopter][offboard][nogps]")
|
||||
{
|
||||
AutopilotTester tester;
|
||||
Offboard::PositionNEDYaw takeoff_position {0.0f, 0.0f, -2.0f, 0.0f};
|
||||
@@ -25,7 +25,7 @@ TEST_CASE("Takeoff and Land (Multicopter offboard)", "[multicopter_offboard]")
|
||||
tester.check_home_within(0.5f);
|
||||
}
|
||||
|
||||
TEST_CASE("Mission (Multicopter offboard )", "[multicopter_offboard]")
|
||||
TEST_CASE("Mission (Multicopter offboard )", "[multicopter][offboard][nogps]")
|
||||
{
|
||||
AutopilotTester tester;
|
||||
Offboard::PositionNEDYaw takeoff_position {0.0f, 0.0f, -2.0f, 0.0f};
|
||||
|
||||
Reference in New Issue
Block a user