Changeset 10020 in ntrip


Ignore:
Timestamp:
Apr 1, 2023, 10:15:18 PM (13 months ago)
Author:
stuerze
Message:

minor changes

Location:
trunk/BNC/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppFilter.cpp

    r10018 r10020  
    100100      }
    101101    }
    102 //    if (num < OPT->_minObs) {
    103 //      setNeuNoiseToZero = true;
    104 //    }
     102    if (num < OPT->_minObs) {
     103      setNeuNoiseToZero = true;
     104    }
    105105  }
    106106  setStateVectorAndVarCovMatrix(xFltOld, QFltOld, setNeuNoiseToZero);
     
    275275    // Check number of observations
    276276    // ----------------------------
    277     if ((iObs +1) < OPT->_minObs) {
    278       LOG << "t_pppFilter::processSystem not enough observations: " << iObs + 1 << "\n";
     277    if (iObs == -1) {
     278      LOG << " number of observations == " << iObs + 1 << "\n";
    279279      if (preProcessing) {
    280280        _obsPool->setRefSatChangeRequired(sys, true);
     
    372372        }
    373373      } else {    // fin-processing
    374         if (obs->prn() != refPrn) {
    375           LOG << epoTimeStr << " Outlier " << t_lc::toString(maxOutlierLC) << ' '
    376               << obs->prn().toString() << ' ' << setw(8) << setprecision(4)
    377               << maxOutlier << endl;
    378           if (par) {
     374        LOG << epoTimeStr << " Outlier " << t_lc::toString(maxOutlierLC) << ' '
     375            << obs->prn().toString() << ' ' << setw(8) << setprecision(4)
     376            << maxOutlier << endl;
     377        if (par) {
     378          if (par->ambResetCandidate() ||
     379              OPT->_obsModelType == OPT->DCMcodeBias ||
     380              OPT->_obsModelType == OPT->DCMphaseBias) {
    379381            resetAmb(par->prn(), obsVector, maxOutlierLC, &QSav, &xSav);
    380382          }
    381383          else {
     384            par->setAmbResetCandidate();
    382385            obs->setOutlier();
    383386          }
     387        }
     388        else {
     389          obs->setOutlier();
    384390        }
    385391      }
  • trunk/BNC/src/pppMain.cpp

    r9866 r10020  
    208208      opt->_obsModelType = t_pppOptions::PPPRTK;
    209209      opt->_pseudoObsIono  = false;
    210       opt->_noiseIon = 0.1;
    211210    }
    212211    else if (settings.value("PPP/modelObs").toString() == "Uncombined PPP") {
    213212      opt->_obsModelType = t_pppOptions::UncombPPP;
    214       opt->_noiseIon = 0.1;
    215213      if (opt->_pseudoObsIono) {
    216214        opt->_refSatRequired = true;
     
    220218      opt->_obsModelType = t_pppOptions::DCMcodeBias;
    221219      opt->_refSatRequired = true;
    222       opt->_noiseCodeBias  = 10.0;
    223       opt->_noiseIon = 0.1;
    224220    }
    225221    else if (settings.value("PPP/modelObs").toString() == "DCM with Phase Biases") {
    226222      opt->_obsModelType = t_pppOptions::DCMphaseBias;
    227223      opt->_refSatRequired = true;
    228       opt->_noisePhaseBias = 10.0;
    229       opt->_noiseIon = 0.1;
    230224    }
    231225#endif
     
    426420    opt->_aprSigClk       = 1000.0;
    427421    opt->_aprSigIon       = 100.0;
     422    opt->_noiseIon        = 100.0;
    428423    opt->_aprSigCodeBias  = 100.0;
     424    opt->_noiseCodeBias   = 10.0;
    429425    opt->_aprSigPhaseBias = 100.0;
     426    opt->_noisePhaseBias  = 100.0;
    430427
    431428    _options << opt;
Note: See TracChangeset for help on using the changeset viewer.