Changeset 9490 in ntrip for trunk/BNC/src


Ignore:
Timestamp:
Aug 4, 2021, 11:52:53 AM (3 years ago)
Author:
stuerze
Message:

minor changes regarding PPP

Location:
trunk/BNC/src
Files:
2 edited

Legend:

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

    r9432 r9490  
    793793//////////////////////////////////////////////////////////////////////////////
    794794void t_pppClient::setRefSatellites(std::vector<t_pppSatObs*>& obsVector) {
    795   t_irc  refSatReDefinition = success;
    796795  // reference satellite definition per system
    797796  for (unsigned iSys = 0; iSys < _opt->systems().size(); iSys++) {
     797    t_irc  refSatReDefinition = success;
    798798    char sys = _opt->systems()[iSys];
    799799    bool refSatDefined = false;
     
    831831      }
    832832    }
     833
    833834    // all available satellites were already tried to use
    834835    if ((!refSatDefined) && (refSatReDefinition == failure)) {
     
    886887    }
    887888    else if (prn.number() == 99) { // refSat re-definition not possible
    888 #ifdef BNC_DEBUG_PPP
    889           LOG << " => refSat re-definition impossible: " << sys << endl;
    890 #endif
     889      LOG << " => refSat re-definition impossible: " << sys << endl;
    891890      return failure;
    892891    }
  • trunk/BNC/src/pppMain.cpp

    r9486 r9490  
    179179    opt->_blqFileName.assign(settings.value("PPP/blqFile").toString().toStdString());
    180180#endif
    181     opt->_sigmaC1      = settings.value("PPP/sigmaC1").toDouble(); if (opt->_sigmaC1 <= 0.0)  opt->_sigmaC1  = 2.00;
     181    opt->_sigmaC1      = settings.value("PPP/sigmaC1").toDouble(); if (opt->_sigmaC1 <= 0.0)  opt->_sigmaC1  = 1.00;
    182182    opt->_sigmaL1      = settings.value("PPP/sigmaL1").toDouble(); if (opt->_sigmaL1 <= 0.0)  opt->_sigmaL1  = 0.01;
    183183    opt->_sigmaGIM     = settings.value("PPP/sigmaGIM").toDouble();if (opt->_sigmaGIM <= 0.0) opt->_sigmaGIM = 4.00;
     
    225225      opt->_obsModelType = t_pppOptions::DCMcodeBias;
    226226      opt->_refSatRequired = true;
     227      opt->_noiseIon       = 1e4;
     228      opt->_noiseCodeBias  = 1e4;
    227229    }
    228230    else if (settings.value("PPP/modelObs").toString() == "DCM with Phase Biases") {
    229231      opt->_obsModelType = t_pppOptions::DCMphaseBias;
    230232      opt->_refSatRequired = true;
     233      opt->_noisePhaseBias = 1e4;
    231234    }
    232235#endif
     
    349352    opt->_aprSigPhaseBias = 1e4;
    350353
    351     opt->_noiseIon        = 1e4; // maybe: comment for uncombined PPP
    352     opt->_noiseCodeBias   = 1e4;
    353     opt->_noisePhaseBias  = 1e4;
    354 
    355354    _options << opt;
    356355  }
Note: See TracChangeset for help on using the changeset viewer.