Ignore:
Timestamp:
Jul 14, 2015, 4:13:56 PM (9 years ago)
Author:
stuerze
Message:

small changes which allow to the user to decide whether he wants to use code and/or phase observations of GLONASS, Galileo and BDS in SSR I PPP mode

File:
1 edited

Legend:

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

    r7038 r7050  
    10071007
    10081008    for (int iPhase = 0; iPhase <= (usePhase ? 1 : 0); iPhase++) {
    1009    
     1009
    10101010      // Status Prediction
    10111011      // -----------------
     
    10171017      unsigned nObs = 0;
    10181018      nObs = epoData->sizeAll();
     1019      bool useObs = false;
     1020      char additionalSys[] ={'R', 'E', 'C'};
     1021      for (unsigned ii = 0; ii < sizeof(additionalSys); ii++) {
     1022        const char s = additionalSys[ii];
     1023        (iPhase == 0) ? useObs = OPT->codeLCs(s).size() : useObs = OPT->ambLCs(s).size();
     1024        if (!useObs) {
     1025          nObs -= epoData->sizeSys(s);
     1026        }
     1027      }
    10191028     
    10201029      // Prepare first-design Matrix, vector observed-computed
     
    10301039        t_satData* satData = it.value();
    10311040        QString prn = satData->prn;
    1032         addObs(iPhase, iObs, satData, AA, ll, PP);
     1041        char sys =   satData->system();
     1042        (iPhase == 0) ? useObs = OPT->codeLCs(sys).size() : useObs = OPT->ambLCs(sys).size();
     1043        if (sys == 'G' || useObs) {
     1044          addObs(iPhase, iObs, satData, AA, ll, PP);
     1045        }
    10331046      }
    10341047
Note: See TracChangeset for help on using the changeset viewer.