mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-27 10:17:45 +08:00
mavsdk_tests: improve test name/description
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
#include "autopilot_tester.h"
|
#include "autopilot_tester.h"
|
||||||
|
|
||||||
|
|
||||||
TEST_CASE("Takeoff and Land (Multicopter)", "[multicopter][vtol]")
|
TEST_CASE("Takeoff and Land", "[multicopter][vtol]")
|
||||||
{
|
{
|
||||||
AutopilotTester tester;
|
AutopilotTester tester;
|
||||||
tester.connect(connection_url);
|
tester.connect(connection_url);
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
#include "autopilot_tester.h"
|
#include "autopilot_tester.h"
|
||||||
|
|
||||||
|
|
||||||
TEST_CASE("Takeoff and Land (Multicopter offboard)", "[multicopter][offboard][nogps]")
|
TEST_CASE("Offboard takeoff and land", "[multicopter][offboard][nogps]")
|
||||||
{
|
{
|
||||||
AutopilotTester tester;
|
AutopilotTester tester;
|
||||||
Offboard::PositionNEDYaw takeoff_position {0.0f, 0.0f, -2.0f, 0.0f};
|
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][no
|
|||||||
tester.check_home_within(0.5f);
|
tester.check_home_within(0.5f);
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_CASE("Mission (Multicopter offboard )", "[multicopter][offboard][nogps]")
|
TEST_CASE("Offboard position control", "[multicopter][offboard][nogps]")
|
||||||
{
|
{
|
||||||
AutopilotTester tester;
|
AutopilotTester tester;
|
||||||
Offboard::PositionNEDYaw takeoff_position {0.0f, 0.0f, -2.0f, 0.0f};
|
Offboard::PositionNEDYaw takeoff_position {0.0f, 0.0f, -2.0f, 0.0f};
|
||||||
|
|||||||
Reference in New Issue
Block a user