qCDebug(VehicleLog)<<"Giving up on getting AUTOPILOT_VERSION after 10 seconds";
qgcApp()->showMessage(QStringLiteral("Vehicle failed to send AUTOPILOT_VERSION"));
qgcApp()->showMessage(QStringLiteral("Vehicle failed to send AUTOPILOT_VERSION"));
_handleUnsupportedRequestAutopilotCapabilities();
_handleUnsupportedRequestAutopilotCapabilities();
}else{
}else{
// Vehicle never sent us AUTOPILOT_VERSION response. Try again.
// Vehicle never sent us AUTOPILOT_VERSION response. Try again.
qCDebug(VehicleLog)<<"Sending MAV_CMD_REQUEST_AUTOPILOT_CAPABILITIES again due to no response with AUTOPILOT_VERSION - _capabilitiesRetryCount"<<_capabilitiesRetryCount;
qCDebug(VehicleLog)<<QStringLiteral("Sending MAV_CMD_REQUEST_AUTOPILOT_CAPABILITIES again due to no response with AUTOPILOT_VERSION - _capabilitiesRetryCount(%1) elapsed(%2)").arg(_capabilitiesRetryCount).arg(_capabilitiesRetryElapsed.elapsed());