Changeset 7835 in ntrip for trunk/BNC/src/RTCM


Ignore:
Timestamp:
Mar 14, 2016, 2:30:51 PM (8 years ago)
Author:
stuerze
Message:

slip Counter is set to -1 because it's definition is vice versa to that in RTCM3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/RTCM/RTCM2Decoder.cpp

    r7528 r7835  
    154154          frqObs1P->_phaseValid = true;
    155155          frqObs1P->_phase = _ObsBlock.resolvedPhase_L1(iSat);
    156           frqObs1P->_slipCounter = _ObsBlock.slip_L1[iSat];
     156          //frqObs1P->_slipCounter = _ObsBlock.slip_L1[iSat];
     157          frqObs1P->_slipCounter = -1; // because RTCM2 definition is vice versa to RTCM3
    157158          obs._obs.push_back(frqObs1P);
    158159
     
    163164          frqObs2P->_phaseValid = true;
    164165          frqObs2P->_phase = _ObsBlock.resolvedPhase_L2(iSat);
    165           frqObs2P->_slipCounter = _ObsBlock.slip_L2[iSat];
     166          //frqObs2P->_slipCounter = _ObsBlock.slip_L2[iSat];
     167          frqObs2P->_slipCounter = -1; // because RTCM2 definition is vice versa to RTCM3
    166168          obs._obs.push_back(frqObs2P);
    167169
     
    380382            frqObs1P->_phaseValid = true;
    381383            frqObs1P->_phase = *obsVal / LAMBDA_1;
    382             frqObs1P->_slipCounter = corr->lock1;
     384            //frqObs1P->_slipCounter = corr->lock1;
     385            frqObs1P->_slipCounter = -1; // because RTCM2 definition is vice versa to RTCM3
    383386            break;
    384387          case 1: // --- L2 ---
    385388            frqObs2P->_phaseValid = true;
    386389            frqObs2P->_phase = *obsVal / LAMBDA_2;
    387             frqObs2P->_slipCounter = corr->lock2;
     390            //frqObs2P->_slipCounter = corr->lock2;
     391            frqObs2P->_slipCounter = -1; // because RTCM2 definition is vice versa to RTCM3
    388392            break;
    389393          case 2: // --- C1 / P1 ---
Note: See TracChangeset for help on using the changeset viewer.