mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 02:04:08 +08:00
Support MAV_CMD_DO_SET_GLOBAL_ORIGIN
This commit is contained in:
parent
f413b0c4d2
commit
cebf5bb42a
@ -607,6 +607,10 @@ void MavlinkReceiver::handle_message_command_both(mavlink_message_t *msg, const
|
||||
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) {
|
||||
|
||||
bool has_module = true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user