Changeset 10590 in ntrip


Ignore:
Timestamp:
Dec 12, 2024, 2:20:02 PM (7 hours ago)
Author:
stuerze
Message:

changes regarding PPP

Location:
trunk/BNC/src
Files:
3 edited

Legend:

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

    r10583 r10590  
    152152    // First-Design Matrix, Terms Observed-Computed, Weight Matrix
    153153    // -----------------------------------------------------------
    154     Matrix AA(maxObs, nPar);
     154    Matrix AA(maxObs, nPar);   AA = 0.0;
    155155    ColumnVector ll(maxObs);   ll = 0.0;
    156156    DiagonalMatrix PP(maxObs); PP = 0.0;
     
    266266      }
    267267      if (par) {
    268         resetAmb(obs->prn(), obsVector, maxOutlierLC, &QSav, &xSav);
     268        if (par->ambResetCandidate()) {
     269          resetAmb(obs->prn(), obsVector, maxOutlierLC, &QSav, &xSav);
     270        }
     271        else {
     272          par->setAmbResetCandidate();
     273          obs->setOutlier();
     274        }
    269275      }
    270276      else {
     
    386392        firstObsTime = lastObsTime : firstObsTime = par->firstObsTime();
    387393      t_lc::type tLC = par->tLC();
    388 //   if (tLC != lc) {continue;}
     394      if (tLC != lc) {continue;}
    389395      LOG << string(_epoTime) << " RESET " << par->toString() << endl;
    390396      delete par; par = new t_pppParam(t_pppParam::amb, prn, tLC, &obsVector);
  • trunk/BNC/src/PPP/pppParlist.cpp

    r10584 r10590  
    431431  // Receiver Clocks
    432432  // ---------------
    433    if (_usedSystems['G']) {
     433   //if (_usedSystems['G']) {
     434   if (OPT->useSystem('G')) {
    434435     required.push_back(new t_pppParam(t_pppParam::rClkG, t_prn(), t_lc::dummy));
    435436   }
    436437
    437    if (_usedSystems['R']) {
     438   if (OPT->useSystem('R')) {
    438439     required.push_back(new t_pppParam(t_pppParam::rClkR, t_prn(), t_lc::dummy));
    439440   }
    440441
    441    if (_usedSystems['E']) {
     442   if (OPT->useSystem('E')) {
    442443     required.push_back(new t_pppParam(t_pppParam::rClkE, t_prn(), t_lc::dummy));
    443444   }
    444445
    445    if (_usedSystems['C']) {
     446   if (OPT->useSystem('C')) {
    446447     required.push_back(new t_pppParam(t_pppParam::rClkC, t_prn(), t_lc::dummy));
    447448   }
  • trunk/BNC/src/pppRun.cpp

    r10217 r10590  
    277277    return;
    278278  }
    279 
     279/*
    280280  int    currentWeek = 0;
    281281  double currentSec  = 0.0;
    282282  currentGPSWeeks(currentWeek, currentSec);
    283283  bncTime currentTime(currentWeek, currentSec);
    284 
     284*/
    285285  // Loop over all observations (possible different epochs)
    286286  // -----------------------------------------------------
     
    290290    t_satObs*       newObs = new t_satObs(oldObs);
    291291
    292     // Check regarding current time
     292    /* Check regarding current time
    293293    // ----------------------------
    294294    if (OPT->_realTime && BNC_CORE->mode() != t_bncCore::batchPostProcessing ) {
     
    299299      }
    300300    }
    301 
     301    */
    302302    // Find the corresponding data epoch or create a new one
    303303    // -----------------------------------------------------
     
    330330  // Make sure the buffer does not grow beyond any limit
    331331  // ---------------------------------------------------
    332   const unsigned MAX_EPODATA_SIZE = 61;
     332  const unsigned MAX_EPODATA_SIZE = 120;
    333333  if (_epoData.size() > MAX_EPODATA_SIZE) {
    334334    delete _epoData.front();
Note: See TracChangeset for help on using the changeset viewer.