forked from Archive/PX4-Autopilot
Add reposition command support
This commit is contained in:
parent
326389d04b
commit
64a6c16fb6
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue