Changeset 554 in ntrip for trunk/BNC/RTCM3
- Timestamp:
- Oct 28, 2007, 11:04:23 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM3/RTCM3Decoder.cpp
r512 r554 111 111 for (int ii = 0; ii < _Parser.Data.numsats; ii++) { 112 112 Observation* obs = new Observation(); 113 if (_Parser.Data.satellites[ii] <= PRN_GPS_END) {113 if (_Parser.Data.satellites[ii] <= PRN_GPS_END) { 114 114 obs->satSys = 'G'; 115 115 obs->satNum = _Parser.Data.satellites[ii]; 116 116 } 117 else {117 else if (_Parser.Data.satellites[ii] <= PRN_GLONASS_END) { 118 118 obs->satSys = 'R'; 119 119 obs->satNum = _Parser.Data.satellites[ii] - PRN_GLONASS_START + 1; 120 } 121 else { 122 obs->satSys = 'S'; 123 obs->satNum = _Parser.Data.satellites[ii] - PRN_WAAS_START + 20; 120 124 } 121 125 obs->GPSWeek = _Parser.Data.week;
Note:
See TracChangeset
for help on using the changeset viewer.