- Timestamp:
- Aug 12, 2014, 4:53:39 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppSatObs.cpp
r5844 r5915 84 84 _validObs2 = 0; 85 85 86 bool dualFreq = OPT->dualFreqRequired( );86 bool dualFreq = OPT->dualFreqRequired(_prn.system()); 87 87 88 88 // Select two pseudoranges and two phase observations … … 241 241 // Code (and Phase) Biases 242 242 // ----------------------- 243 bool biasC1flg = false;244 bool biasC2flg = false;245 bool biasL1flg = false;246 bool biasL2flg = false;247 243 const t_satBias* satBias = PPP_CLIENT->obsPool()->satBias(_prn); 248 244 if (satBias) { … … 253 249 if (bias._codeValid) { 254 250 _model._biasC1 = bias._code; 255 biasC1flg = true;256 251 } 257 252 if (bias._phaseValid) { 258 253 _model._biasL1 = bias._phase; 259 biasL1flg = true;260 254 } 261 255 } … … 264 258 if (bias._codeValid) { 265 259 _model._biasC2 = bias._code; 266 biasC2flg = true;267 260 } 268 261 if (bias._phaseValid) { 269 262 _model._biasL2 = bias._phase; 270 biasL2flg = true;271 263 } 272 264 } 273 }274 }275 if (_prn.system() == 'G' && OPT->biasRequired()) {276 if (!biasC1flg || !biasC2flg || !biasL1flg || !biasL2flg) {277 _valid = false;278 265 } 279 266 }
Note:
See TracChangeset
for help on using the changeset viewer.