mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-12 04:43:33 +08:00
[1.16 backport] MAV_CMD_DO_SET_MODE - add support
This commit is contained in:
committed by
Hamish Willee
parent
0294b608d3
commit
aa745f2949
@@ -606,6 +606,9 @@ void MavlinkReceiver::handle_message_command_both(mavlink_message_t *msg, const
|
||||
send_ack = true;
|
||||
}
|
||||
|
||||
} else if (cmd_mavlink.command == MAV_CMD_DO_SET_MODE) {
|
||||
_cmd_pub.publish(vehicle_command);
|
||||
|
||||
} else if (cmd_mavlink.command == MAV_CMD_DO_AUTOTUNE_ENABLE) {
|
||||
|
||||
bool has_module = true;
|
||||
|
||||
Reference in New Issue
Block a user