Changed constant name to UNMANNED_GROUND_VEHICLE

This commit is contained in:
Timothy Scott
2019-06-13 10:04:26 +02:00
committed by Julian Oes
parent 714c90b9db
commit 21760a5856
19 changed files with 39 additions and 32 deletions
@@ -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;
}