Changeset 2667 in ntrip


Ignore:
Timestamp:
Nov 11, 2010, 10:06:51 AM (13 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/RTCM/GPSDecoder.h

    r1567 r2667  
    4242    satSys(' '),
    4343    satNum(0),
    44     slot(0),
     44    slotNum(0),
    4545    GPSWeek(0),
    4646    GPSWeeks(0.0),
     
    6565  char   satSys;        // Satellite System ('G' or 'R')
    6666  int    satNum;        // Satellite Number (PRN for GPS NAVSTAR)
    67   int    slot;          // Slot Number (for Glonass)
     67  int    slotNum;       // Slot Number (for Glonass)
    6868  int    GPSWeek;       // Week of GPS-Time
    6969  double GPSWeeks;      // Second of Week (GPS-Time)
     
    9595    _o.satSys        = 'G';
    9696    _o.satNum        = 0;
    97     _o.slot          = 0;
     97    _o.slotNum       = 0;
    9898    _o.GPSWeek       = 0;
    9999    _o.GPSWeeks      = 0.0;
  • trunk/BNC/RTCM3/RTCM3Decoder.cpp

    r2666 r2667  
    243243                obs->_o.satSys = 'R';
    244244                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;
    247247              }
    248248              else {
  • trunk/BNC/bncpppclient.cpp

    r2642 r2667  
    193193
    194194  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;
    197197  }
    198198
Note: See TracChangeset for help on using the changeset viewer.