mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 07:13:35 +08:00
Explicitly don't send ack
This commit is contained in:
@@ -609,8 +609,8 @@ void MavlinkReceiver::handle_message_command_both(mavlink_message_t *msg, const
|
|||||||
|
|
||||||
} else if (cmd_mavlink.command == MAV_CMD_DO_SET_GLOBAL_ORIGIN) {
|
} else if (cmd_mavlink.command == MAV_CMD_DO_SET_GLOBAL_ORIGIN) {
|
||||||
_cmd_pub.publish(vehicle_command);
|
_cmd_pub.publish(vehicle_command);
|
||||||
handle_request_message_command(MAVLINK_MSG_ID_GPS_GLOBAL_ORIGIN);
|
result = handle_request_message_command(MAVLINK_MSG_ID_GPS_GLOBAL_ORIGIN);
|
||||||
|
send_ack = false;
|
||||||
} 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