Changeset 2257 in ntrip for trunk/BNC/RTCM3
- Timestamp:
- Jan 16, 2010, 11:45:40 AM (15 years ago)
- Location:
- trunk/BNC/RTCM3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/BNC/RTCM3/ephemeris.cpp ¶
r2237 r2257 256 256 int ww = ee->GPSWeek; 257 257 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 265 259 266 260 _GPSweek = ww; 267 261 _GPSweeks = tow; 268 _gps_utc = 0.0;269 262 _E = ee->E; 270 263 _tau = ee->tau; … … 281 274 _health = 0; 282 275 _frequency_number = ee->frequency_number; 283 _tki = tk;276 _tki = ee->tk-3*60*60; if (_tki < 0) _tki += 86400; 284 277 285 278 // Initialize status vector -
TabularUnified trunk/BNC/RTCM3/ephemeris.h ¶
r2222 r2257 91 91 class t_ephGlo : public t_eph { 92 92 public: 93 t_ephGlo() { _ gps_utc = 0.0; _xv.ReSize(6); }93 t_ephGlo() { _xv.ReSize(6); } 94 94 95 95 virtual ~t_ephGlo() {} … … 109 109 mutable ColumnVector _xv; // status vector (position, velocity) at time _tt 110 110 111 double _gps_utc; // GPS - UTC in seconds112 111 double _E; // [days] 113 112 double _tau; // [s]
Note:
See TracChangeset
for help on using the changeset viewer.