Changeset 4780 in ntrip for trunk/BNC/src/RTRover


Ignore:
Timestamp:
Oct 26, 2012, 6:59:15 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/RTRover/bncrtrover.cpp

    r4779 r4780  
    258258          allObs[codeType]._rnxType[1]  = codeType[1];
    259259        }
     260        rtrover_obs& currObs = allObs[codeType];
    260261        if      (rnxStr[0] == 'C') {
    261           allObs[codeType]._code    = obsBnc._measdata[iEntry];
     262          currObs._code         = obsBnc._measdata[iEntry];
     263          currObs._codeValid    = true;
    262264        }
    263265        else if (rnxStr[0] == 'L') {
    264           allObs[codeType]._phase   = obsBnc._measdata[iEntry];
     266          currObs._phase        = obsBnc._measdata[iEntry];
     267          currObs._phaseValid   = true;
     268          if      (codeType[0] == '1') {
     269            currObs._slip        = obsBnc.slipL1;
     270            currObs._slipCounter = obsBnc.slip_cnt_L1;
     271          }
     272          else if (codeType[0] == '2') {
     273            currObs._slip        = obsBnc.slipL2;
     274            currObs._slipCounter = obsBnc.slip_cnt_L2;
     275          }
     276          else if (codeType[0] == '5') {
     277            currObs._slip        = obsBnc.slipL5;
     278            currObs._slipCounter = obsBnc.slip_cnt_L5;
     279          }
    265280        }
    266281        else if (rnxStr[0] == 'D') {
    267           allObs[codeType]._doppler = obsBnc._measdata[iEntry];
     282          currObs._doppler      = obsBnc._measdata[iEntry];
     283          currObs._dopplerValid = true;
    268284        }
    269285        else if (rnxStr[0] == 'S') {
    270           allObs[codeType]._snr     = obsBnc._measdata[iEntry];
     286          currObs._snr          = obsBnc._measdata[iEntry];
     287          currObs._snrValid     = true;
    271288        }
    272289      }
Note: See TracChangeset for help on using the changeset viewer.