|
|
|
@ -708,6 +708,12 @@ void GCS_MAVLINK_Copter::send_banner()
@@ -708,6 +708,12 @@ void GCS_MAVLINK_Copter::send_banner()
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void GCS_MAVLINK_Copter::handle_command_ack(const mavlink_message_t* msg) |
|
|
|
|
{ |
|
|
|
|
copter.command_ack_counter++; |
|
|
|
|
GCS_MAVLINK::handle_command_ack(msg); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void GCS_MAVLINK_Copter::handleMessage(mavlink_message_t* msg) |
|
|
|
|
{ |
|
|
|
|
MAV_RESULT result = MAV_RESULT_FAILED; // assume failure. Each messages id is responsible for return ACK or NAK if required
|
|
|
|
@ -1337,12 +1343,6 @@ void GCS_MAVLINK_Copter::handleMessage(mavlink_message_t* msg)
@@ -1337,12 +1343,6 @@ void GCS_MAVLINK_Copter::handleMessage(mavlink_message_t* msg)
|
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
case MAVLINK_MSG_ID_COMMAND_ACK: // MAV ID: 77
|
|
|
|
|
{ |
|
|
|
|
copter.command_ack_counter++; |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#if MODE_GUIDED_ENABLED == ENABLED |
|
|
|
|
case MAVLINK_MSG_ID_SET_ATTITUDE_TARGET: // MAV ID: 82
|
|
|
|
|
{ |
|
|
|
|