Changeset 6974 in ntrip
- Timestamp:
- Jun 25, 2015, 4:35:34 PM (10 years ago)
- Location:
- trunk/BNC/src/PPP_SSR_I
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP_SSR_I/pppClient.cpp
r6969 r6974 92 92 satData->P2 = 0.0; 93 93 satData->P5 = 0.0; 94 satData->P7 = 0.0; 94 95 satData->L1 = 0.0; 95 96 satData->L2 = 0.0; 96 97 satData->L5 = 0.0; 98 satData->L7 = 0.0; 97 99 for (unsigned ifrq = 0; ifrq < obs->_obs.size(); ifrq++) { 98 100 t_frqObs* frqObs = obs->_obs[ifrq]; … … 112 114 if (frqObs->_slip) satData->slipFlag = true; 113 115 } 116 else if (frqObs->_rnxType2ch[0] == '7') { 117 if (frqObs->_codeValid) satData->P7 = frqObs->_code; 118 if (frqObs->_phaseValid) satData->L7 = frqObs->_phase; 119 if (frqObs->_slip) satData->slipFlag = true; 120 } 114 121 } 115 122 putNewObs(satData); … … 245 252 } 246 253 } 254 255 // Set Observations BDS 256 // --------------------- 257 else if (satData->system() == 'C' && _opt->useSystem('C')) { 258 if (satData->P2 != 0.0 && satData->P7 != 0.0 && 259 satData->L2 != 0.0 && satData->L7 != 0.0 ) { 260 double f2 = t_CST::freq(t_frequency::C2, 0); 261 double f7 = t_CST::freq(t_frequency::C7, 0); 262 double a2 = f2 * f2 / (f2 * f2 - f7 * f7); 263 double a7 = - f7 * f7 / (f2 * f2 - f7 * f7); 264 satData->L2 = satData->L2 * t_CST::c / f2; 265 satData->L7 = satData->L7 * t_CST::c / f7; 266 satData->P3 = a2 * satData->P2 + a7 * satData->P7; 267 satData->L3 = a2 * satData->L2 + a7 * satData->L7; 268 satData->lambda3 = a2 * t_CST::c / f2 + a7 * t_CST::c / f7; 269 satData->lkA = a2; 270 satData->lkB = a7; 271 _epoData->satData[satData->prn] = satData; 272 } 273 else { 274 delete satData; 275 } 276 } 247 277 } 248 278 -
trunk/BNC/src/PPP_SSR_I/pppFilter.cpp
r6968 r6974 233 233 if (OPT->useSystem('E')) { 234 234 _params.push_back(new t_pppParam(t_pppParam::GALILEO_OFFSET, ++nextPar, "")); 235 } /*235 } 236 236 if (OPT->useSystem('C')) { 237 237 _params.push_back(new t_pppParam(t_pppParam::BDS_OFFSET, ++nextPar, "")); 238 } */238 } 239 239 240 240 _QQ.ReSize(_params.size()); … … 528 528 } 529 529 530 // BDS Offset 531 // ---------- 530 532 else if (pp->type == t_pppParam::BDS_OFFSET) { 531 _QQ(iPar,iPar) += 0.1 * 0.1;//TODO533 _QQ(iPar,iPar) += 0.1 * 0.1; //TODO 532 534 } 533 535 } … … 726 728 if (iPhase == 1) { 727 729 if (maxResGlo > 2.98 * OPT->_maxResL1) { 728 LOG << "Outlier Phase " << prnGlo. toAscii().data() << ' ' << maxResGlo << endl;730 LOG << "Outlier Phase " << prnGlo.mid(0,3).toAscii().data() << ' ' << maxResGlo << endl; 729 731 return prnGlo; 730 732 } 731 733 else if (maxResGPS > 2.98 * OPT->_maxResL1) { 732 LOG << "Outlier Phase " << prnGPS. toAscii().data() << ' ' << maxResGPS << endl;734 LOG << "Outlier Phase " << prnGPS.mid(0,3).toAscii().data() << ' ' << maxResGPS << endl; 733 735 return prnGPS; 734 736 } 735 737 } 736 738 else if (iPhase == 0 && maxResGPS > 2.98 * OPT->_maxResC1) { 737 LOG << "Outlier Code " << prnGPS. toAscii().data() << ' ' << maxResGPS << endl;739 LOG << "Outlier Code " << prnGPS.mid(0,3).toAscii().data() << ' ' << maxResGPS << endl; 738 740 return prnGPS; 739 741 } -
trunk/BNC/src/PPP_SSR_I/pppFilter.h
r6968 r6974 64 64 double P2; 65 65 double P5; 66 double P7; 66 67 double P3; 67 68 double L1; 68 69 double L2; 69 70 double L5; 71 double L7; 70 72 double L3; 71 73 ColumnVector xx;
Note:
See TracChangeset
for help on using the changeset viewer.