Add reposition command support

This commit is contained in:
Lorenz Meier 2016-02-27 11:22:39 +01:00
parent 326389d04b
commit 64a6c16fb6
1 changed files with 2 additions and 2 deletions

View File

@ -398,8 +398,8 @@ Navigator::task_main()
vehicle_command_s cmd;
orb_copy(ORB_ID(vehicle_command), _vehicle_command_sub, &cmd);
if (cmd.command == vehicle_command_s::VEHICLE_CMD_NAV_TAKEOFF) {
warnx("navigator: got takeoff coordinates");
if (cmd.command == vehicle_command_s::VEHICLE_CMD_DO_REPOSITION) {
warnx("navigator: got reposition command");
}
}