Changeset 2257 in ntrip for trunk/BNC/RTCM3


Ignore:
Timestamp:
Jan 16, 2010, 11:45:40 AM (14 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC/RTCM3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/RTCM3/ephemeris.cpp

    r2237 r2257  
    256256  int ww  = ee->GPSWeek;
    257257  int tow = ee->GPSTOW;
    258 
    259   updatetime(&ww, &tow, ee->tb*1000, 0);
    260 
    261   int tk = ee->tk-3*60*60;
    262   if (tk < 0) {
    263     tk += 86400;
    264   }
     258  updatetime(&ww, &tow, ee->tb*1000, 0);  // Moscow -> GPS
    265259
    266260  _GPSweek           = ww;
    267261  _GPSweeks          = tow;
    268   _gps_utc           = 0.0;
    269262  _E                 = ee->E;
    270263  _tau               = ee->tau;
     
    281274  _health            = 0;
    282275  _frequency_number  = ee->frequency_number;
    283   _tki               = tk;
     276  _tki               = ee->tk-3*60*60; if (_tki < 0) _tki += 86400;
    284277
    285278  // Initialize status vector
  • trunk/BNC/RTCM3/ephemeris.h

    r2222 r2257  
    9191class t_ephGlo : public t_eph {
    9292 public:
    93   t_ephGlo() { _gps_utc = 0.0; _xv.ReSize(6); }
     93  t_ephGlo() { _xv.ReSize(6); }
    9494
    9595  virtual ~t_ephGlo() {}
     
    109109  mutable ColumnVector _xv;  // status vector (position, velocity) at time _tt
    110110
    111   double  _gps_utc;          // GPS - UTC in seconds     
    112111  double  _E;                // [days]   
    113112  double  _tau;              // [s]     
Note: See TracChangeset for help on using the changeset viewer.