mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 05:43:33 +08:00
Changed constant name to UNMANNED_GROUND_VEHICLE
This commit is contained in:
committed by
Julian Oes
parent
714c90b9db
commit
21760a5856
@@ -76,7 +76,7 @@ int LandDetector::task_spawn(int argc, char *argv[])
|
||||
} else if (strcmp(argv[1], "vtol") == 0) {
|
||||
obj = new VtolLandDetector();
|
||||
|
||||
} else if (strcmp(argv[1], "ugv") == 0) {
|
||||
} else if (strcmp(argv[1], "rover") == 0) {
|
||||
obj = new RoverLandDetector();
|
||||
|
||||
} else {
|
||||
@@ -165,7 +165,7 @@ The module runs periodically on the HP work queue.
|
||||
|
||||
PRINT_MODULE_USAGE_NAME("land_detector", "system");
|
||||
PRINT_MODULE_USAGE_COMMAND_DESCR("start", "Start the background task");
|
||||
PRINT_MODULE_USAGE_ARG("fixedwing|multicopter|vtol|ugv", "Select vehicle type", false);
|
||||
PRINT_MODULE_USAGE_ARG("fixedwing|multicopter|vtol|rover", "Select vehicle type", false);
|
||||
PRINT_MODULE_USAGE_DEFAULT_COMMANDS();
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user