Changeset 341 in ntrip for trunk/BNC/RTCM
- Timestamp:
- Dec 1, 2006, 2:24:04 PM (18 years ago)
- Location:
- trunk/BNC/RTCM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM/GPSDecoder.h
r333 r341 34 34 flags = 0; 35 35 StatID[0] = '\0'; 36 SVPRN = 0; 36 satSys = 'G'; 37 satNum = 0; 38 slot = 0; 37 39 GPSWeek = 0; 38 40 GPSWeeks = 0.0; … … 46 48 } 47 49 int flags; 48 char StatID[29+1];// Station ID 49 int SVPRN; // Satellite PRN 50 char StatID[20+1];// Station ID 51 char satSys; // Satellite System ('G' or 'R') 52 int satNum; // Satellite Number (PRN for GPS NAVSTAR) 53 int slot; // Slot Number (for Glonass) 50 54 int GPSWeek; // Week of GPS-Time 51 55 double GPSWeeks; // Second of Week (GPS-Time) … … 55 59 double L1; // L1 carrier phase (cycles) 56 60 double L2; // L2 carrier phase (cycles) 57 int SNR1; // L1 signal-to noise ratio ( 0.1 dB)58 int SNR2; // L2 signal-to noise ratio ( 0.1 dB)61 int SNR1; // L1 signal-to noise ratio (RINEX convention) 62 int SNR2; // L2 signal-to noise ratio (RINEX convention) 59 63 }; 60 64 -
trunk/BNC/RTCM/RTCM2Decoder.cpp
r297 r341 75 75 for (int iSat=0; iSat < _ObsBlock.nSat; iSat++) { 76 76 Observation* obs = new Observation(); 77 78 obs->SVPRN = _ObsBlock.PRN[iSat]; 77 if (_ObsBlock.PRN[iSat] > 100) { 78 obs->satNum = _ObsBlock.PRN[iSat] % 100; 79 obs->satSys = 'R'; 80 } 81 else { 82 obs->satNum = _ObsBlock.PRN[iSat]; 83 obs->satSys = 'G'; 84 } 79 85 obs->GPSWeek = epochWeek; 80 86 obs->GPSWeeks = epochSecs;
Note:
See TracChangeset
for help on using the changeset viewer.