Changeset 5915 in ntrip for trunk


Ignore:
Timestamp:
Aug 12, 2014, 4:53:39 PM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r5844 r5915  
    8484  _validObs2 = 0;
    8585
    86   bool dualFreq = OPT->dualFreqRequired();
     86  bool dualFreq = OPT->dualFreqRequired(_prn.system());
    8787
    8888  // Select two pseudoranges and two phase observations
     
    241241  // Code (and Phase) Biases
    242242  // -----------------------
    243   bool biasC1flg = false;
    244   bool biasC2flg = false;
    245   bool biasL1flg = false;
    246   bool biasL2flg = false;
    247243  const t_satBias* satBias = PPP_CLIENT->obsPool()->satBias(_prn);
    248244  if (satBias) {
     
    253249        if (bias._codeValid) {
    254250          _model._biasC1 = bias._code;
    255           biasC1flg      = true;
    256251        }
    257252        if (bias._phaseValid) {
    258253          _model._biasL1 = bias._phase;
    259           biasL1flg      = true;
    260254        }
    261255      }
     
    264258        if (bias._codeValid) {
    265259          _model._biasC2 = bias._code;
    266           biasC2flg      = true;
    267260        }
    268261        if (bias._phaseValid) {
    269262          _model._biasL2 = bias._phase;
    270           biasL2flg      = true;
    271263        }
    272264      }
    273     }
    274   }
    275   if (_prn.system() == 'G' && OPT->biasRequired()) {
    276     if (!biasC1flg || !biasC2flg || !biasL1flg || !biasL2flg) {
    277       _valid = false;
    278265    }
    279266  }
Note: See TracChangeset for help on using the changeset viewer.