Changeset 2667 in ntrip
- Timestamp:
- Nov 11, 2010, 10:06:51 AM (14 years ago)
- Location:
- trunk/BNC
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM/GPSDecoder.h
r1567 r2667 42 42 satSys(' '), 43 43 satNum(0), 44 slot (0),44 slotNum(0), 45 45 GPSWeek(0), 46 46 GPSWeeks(0.0), … … 65 65 char satSys; // Satellite System ('G' or 'R') 66 66 int satNum; // Satellite Number (PRN for GPS NAVSTAR) 67 int slot ;// Slot Number (for Glonass)67 int slotNum; // Slot Number (for Glonass) 68 68 int GPSWeek; // Week of GPS-Time 69 69 double GPSWeeks; // Second of Week (GPS-Time) … … 95 95 _o.satSys = 'G'; 96 96 _o.satNum = 0; 97 _o.slot 97 _o.slotNum = 0; 98 98 _o.GPSWeek = 0; 99 99 _o.GPSWeeks = 0.0; -
trunk/BNC/RTCM3/RTCM3Decoder.cpp
r2666 r2667 243 243 obs->_o.satSys = 'R'; 244 244 obs->_o.satNum = parser.Data.satellites[ii] - PRN_GLONASS_START + 1; 245 //// obs->_o.slot = parser.Data.channels[ii];246 obs->_o.slot = parser.GLOFreq[obs->_o.satNum];245 //// obs->_o.slotNum = parser.Data.channels[ii]; 246 obs->_o.slotNum = parser.GLOFreq[obs->_o.satNum] - 100; 247 247 } 248 248 else { -
trunk/BNC/bncpppclient.cpp
r2642 r2667 193 193 194 194 if (obs->satSys == 'R') { 195 f1 = 1602000000.0 + 562500.0 * obs->slot ;196 f2 = 1246000000.0 + 437500.0 * obs->slot ;195 f1 = 1602000000.0 + 562500.0 * obs->slotNum; 196 f2 = 1246000000.0 + 437500.0 * obs->slotNum; 197 197 } 198 198
Note:
See TracChangeset
for help on using the changeset viewer.