Changeset 209 in ntrip for trunk/BNC/RTCM


Ignore:
Timestamp:
Oct 6, 2006, 2:01:31 PM (18 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/RTCM/RTCM2.cpp

    r207 r209  
    10711071      if (!ObsBlock.valid()) continue;
    10721072       
    1073       for (int iSat=0;iSat<ObsBlock.nSat;iSat++) {
    1074         cout << iSat << " " << ObsBlock.resolvedPhase_L1(iSat) << endl;
     1073      for (int iSat=0; iSat < ObsBlock.nSat; iSat++) {
     1074        if (ObsBlock.PRN[iSat] <= 32) {
     1075          Observation* obs = new Observation();
     1076
     1077          obs->SVPRN          = ObsBlock.PRN[iSat];
     1078          obs->GPSWeek        = 1390;
     1079          obs->GPSWeeks       = ObsBlock.secs;
     1080          obs->sec            = ObsBlock.secs;
     1081          obs->pCodeIndicator = 0;
     1082          obs->C1 = ObsBlock.rng_C1[iSat];
     1083          obs->P2 = ObsBlock.rng_P2[iSat];
     1084          obs->L1 = ObsBlock.resolvedPhase_L1(iSat);
     1085          obs->L2 = ObsBlock.resolvedPhase_L2(iSat);
     1086
     1087          m_lObsList.push_back(obs);
     1088        }
    10751089      }
    10761090
Note: See TracChangeset for help on using the changeset viewer.