Changeset 5140 in ntrip for trunk/BNC/src/rinex/reqcanalyze.cpp
- Timestamp:
- May 7, 2013, 3:58:58 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/reqcanalyze.cpp
r5136 r5140 241 241 t_postProcessing::setObsFromRnx(obsFile, _currEpo, rnxSat, obs); 242 242 243 if (obs.satSys == 'R') {244 // TODO: set channel number245 }246 247 243 QString prn = QString("%1%2").arg(obs.satSys) 248 244 .arg(obs.satNum, 2, 10, QChar('0')); 249 245 246 t_ephGlo* ephGlo = 0; 247 if (obs.satSys == 'R') { 248 for (int ie = 0; ie < _ephs.size(); ie++) { 249 if (_ephs[ie]->prn() == prn) { 250 ephGlo = dynamic_cast<t_ephGlo*>(_ephs[ie]); 251 break; 252 } 253 } 254 if (ephGlo) { 255 obs.slotNum = ephGlo->slotNum(); 256 } 257 } 258 250 259 t_irc irc = _allObsMap[prn].addObs(obs); 251 260 252 261 if (irc == success) { 253 const t_oneObs* newObs = _allObsMap[prn]._oneObsVec.last(); 262 t_oneObs* newObs = _allObsMap[prn]._oneObsVec.last(); 263 if (ephGlo) { 264 newObs->_slotSet = true; 265 } 254 266 if (newObs->_hasL1 && newObs->_hasL2) { 255 267 _obsStat._prnStat[prn]._numObs += 1; … … 485 497 // Loop over all Epochs within one Chunk of Data 486 498 // --------------------------------------------- 499 bool slotSet = false; 487 500 for (int ii = 0; ii < numEpo; ii++) { 488 501 int iEpo = chunkStart + ii; 489 502 const t_oneObs* oneObs = allObs._oneObsVec[iEpo]; 503 if (oneObs->_slotSet) { 504 slotSet = true; 505 } 490 506 491 507 currTime.set(oneObs->_GPSWeek, oneObs->_GPSWeeks); … … 572 588 // Compute the Multipath 573 589 // --------------------- 574 if (prn[0] != 'R' ) { // TODO590 if (prn[0] != 'R' || slotSet) { 575 591 bool slipMP = false; 576 592 meanMP1 /= numEpo;
Note:
See TracChangeset
for help on using the changeset viewer.