Changeset 6487 in ntrip for trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp
- Timestamp:
- Dec 28, 2014, 5:19:06 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp
r6486 r6487 215 215 void RTCM3coDecoder::sendResults() { 216 216 217 QList<t_orbCorr>& orbCorrections = _orbCorrections[_lastTime]; 218 QList<t_clkCorr>& clkCorrections = _clkCorrections[_lastTime]; 219 QList<t_satCodeBias>& codeBiases = _codeBiases[_lastTime]; 217 QList<t_orbCorr>& orbCorrections = _orbCorrections[_lastTime]; 218 QList<t_clkCorr>& clkCorrections = _clkCorrections[_lastTime]; 219 QList<t_satCodeBias>& codeBiases = _codeBiases[_lastTime]; 220 QList<t_satPhaseBias>& phaseBiases = _phaseBiases[_lastTime]; 221 t_vTec& vTec = _vTec[_lastTime]; 220 222 221 223 // Orbit and clock corrections of all satellites … … 329 331 } 330 332 333 // Phase Biases 334 // ----------- 335 for (unsigned ii = 0; ii < CLOCKORBIT_NUMGPS + _phaseBias.NumberOfSat[CLOCKORBIT_SATGLONASS]; ii++) { 336 char sysCh = ' '; 337 if (ii < _phaseBias.NumberOfSat[CLOCKORBIT_SATGPS]) { 338 sysCh = 'G'; 339 } 340 else if (ii >= CLOCKORBIT_NUMGPS) { 341 sysCh = 'R'; 342 } 343 else { 344 continue; 345 } 346 t_satPhaseBias satPhaseBias; 347 satPhaseBias._prn.set(sysCh, _phaseBias.Sat[ii].ID); 348 satPhaseBias._staID = _staID.toAscii().data(); 349 satPhaseBias._time = _lastTime; 350 for (unsigned jj = 0; jj < _phaseBias.Sat[ii].NumberOfPhaseBiases; jj++) { 351 const PhaseBias::PhaseBiasSat::PhaseBiasEntry& biasEntry = _phaseBias.Sat[ii].Biases[jj]; 352 t_frqPhaseBias frqPhaseBias; 353 frqPhaseBias._rnxType2ch = codeTypeToRnxType(sysCh, biasEntry.Type); 354 frqPhaseBias._value = biasEntry.Bias; 355 if (!frqPhaseBias._rnxType2ch.empty()) { 356 satPhaseBias._bias.push_back(frqPhaseBias); 357 } 358 } 359 phaseBiases.push_back(satPhaseBias); 360 } 361 331 362 // Dump all older epochs 332 363 // --------------------- … … 356 387 t_satCodeBias::writeEpoch(_out, itCB.value()); 357 388 itCB.remove(); 389 } 390 } 391 QMutableMapIterator<bncTime, QList<t_satPhaseBias> > itPB(_phaseBiases); 392 while (itPB.hasNext()) { 393 itPB.next(); 394 if (itPB.key() < _lastTime) { 395 emit newPhaseBiases(itPB.value()); 396 t_satPhaseBias::writeEpoch(_out, itPB.value()); 397 itPB.remove(); 358 398 } 359 399 }
Note:
See TracChangeset
for help on using the changeset viewer.