mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 02:33:34 +08:00
Support MAV_CMD_DO_SET_GLOBAL_ORIGIN
This commit is contained in:
@@ -607,6 +607,10 @@ void MavlinkReceiver::handle_message_command_both(mavlink_message_t *msg, const
|
|||||||
send_ack = true;
|
send_ack = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
} else if (cmd_mavlink.command == MAV_CMD_DO_SET_GLOBAL_ORIGIN) {
|
||||||
|
_cmd_pub.publish(vehicle_command);
|
||||||
|
handle_request_message_command(MAVLINK_MSG_ID_GPS_GLOBAL_ORIGIN);
|
||||||
|
|
||||||
} else if (cmd_mavlink.command == MAV_CMD_DO_AUTOTUNE_ENABLE) {
|
} else if (cmd_mavlink.command == MAV_CMD_DO_AUTOTUNE_ENABLE) {
|
||||||
|
|
||||||
bool has_module = true;
|
bool has_module = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user