qCDebug(ParameterManagerLog)<<"Giving up on (componentId:"<<componentId<<"paramIndex:"<<paramIndex<<"retryCount:"<<_waitingReadParamIndexMap[componentId][paramIndex]<<")";
qCDebug(ParameterManagerLog)<<_logVehiclePrefix(componentId)<<"Giving up on (paramIndex:"<<paramIndex<<"retryCount:"<<_waitingReadParamIndexMap[componentId][paramIndex]<<")";
qCDebug(ParameterManagerLog)<<"Read re-request for (componentId:"<<componentId<<"paramIndex:"<<paramIndex<<"retryCount:"<<_waitingReadParamIndexMap[componentId][paramIndex]<<")";
if(++batchCount>maxBatchSize){
gotoOut;
}
qCDebug(ParameterManagerLog)<<_logVehiclePrefix(componentId)<<"Read re-request for (paramIndex:"<<paramIndex<<"retryCount:"<<_waitingReadParamIndexMap[componentId][paramIndex]<<")";
qCDebug(ParameterManagerLog)<<"Write resend for (componentId:"<<componentId<<"paramName:"<<paramName<<"retryCount:"<<_waitingWriteParamNameMap[componentId][paramName]<<")";
qCDebug(ParameterManagerLog)<<_logVehiclePrefix(componentId)<<"Write resend for (paramName:"<<paramName<<"retryCount:"<<_waitingWriteParamNameMap[componentId][paramName]<<")";
qCDebug(ParameterManagerLog)<<"Read re-request for (componentId:"<<componentId<<"paramName:"<<paramName<<"retryCount:"<<_waitingReadParamNameMap[componentId][paramName]<<")";
qCDebug(ParameterManagerLog)<<_logVehiclePrefix(componentId)<<"Read re-request for (paramName:"<<paramName<<"retryCount:"<<_waitingReadParamNameMap[componentId][paramName]<<")";
qCDebug(ParameterManagerLog)<<"Gave up on initial load after max retries (componentId:"<<componentId<<"paramIndex:"<<paramIndex<<")";
qCDebug(ParameterManagerLog)<<_logVehiclePrefix(componentId)<<"Gave up on initial load after max retries (paramIndex:"<<paramIndex<<")";
}
}
_missingParameters=false;
if(initialLoadFailures){
_missingParameters=true;
qgcApp()->showMessage("QGroundControl was unable to retrieve the full set of parameters from the vehicle. "
QStringerrorMsg=tr("QGroundControl was unable to retrieve the full set of parameters from vehicle %1. "
"This will cause QGroundControl to be unable to display its full user interface. "
"If you are using modified firmware, you may need to resolve any vehicle startup errors to resolve the issue. "
"If you are using standard firmware, you may need to upgrade to a newer version to resolve the issue.");
"If you are using standard firmware, you may need to upgrade to a newer version to resolve the issue.").arg(_vehicle->id());
qCDebug(ParameterManagerLog)<<errorMsg;
qgcApp()->showMessage(errorMsg);
if(!qgcApp()->runningUnitTests()){
qCWarning(ParameterManagerLog)<<"The following parameter indices could not be loaded after the maximum number of retries: "<<indexList;
qCWarning(ParameterManagerLog)<<_logVehiclePrefix()<<"The following parameter indices could not be loaded after the maximum number of retries: "<<indexList;