Browse Source

Merge pull request #5360 from DonLakeFlyer/ParamLogging

Better param logging for mission default component case
QGC4.4
Don Gagne 8 years ago committed by GitHub
parent
commit
891b0adb49
  1. 2
      src/FactSystem/ParameterManager.cc

2
src/FactSystem/ParameterManager.cc

@ -599,7 +599,7 @@ void ParameterManager::_waitingParamTimeout(void) @@ -599,7 +599,7 @@ void ParameterManager::_waitingParamTimeout(void)
if (!paramsRequested && !_waitingForDefaultComponent && !_mapParameterName2Variant.contains(_vehicle->defaultComponentId())) {
// Initial load is complete but we still don't have any default component params. Wait one more cycle to see if the
// any show up.
qCDebug(ParameterManagerLog) << _logVehiclePrefix() << "Restarting _waitingParamTimeoutTimer - still don't have default component params";
qCDebug(ParameterManagerLog) << _logVehiclePrefix() << "Restarting _waitingParamTimeoutTimer - still don't have default component params" << _vehicle->defaultComponentId() << _mapParameterName2Variant.keys();
_waitingParamTimeoutTimer.start();
_waitingForDefaultComponent = true;
return;

Loading…
Cancel
Save