Changeset 926 in ntrip
- Timestamp:
- May 25, 2008, 12:17:49 PM (16 years ago)
- Location:
- trunk/BNS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bnseph.cpp
r918 r926 388 388 } 389 389 390 // Glonass IOD 391 //////////////////////////////////////////////////////////////////////////// 392 int t_ephGlo::IOD() const { 393 //// return int(fmod(_GPSweeks,86400.0)) / 600; 394 unsigned int tb = int(fmod(_GPSweeks,86400.0)) * 1000; // msec of day 395 396 // 5 LSBs of iod are equal to 5 LSBs of tb, remaining bits are zero 397 unsigned int iod = tb << 3; 398 return (iod >> 3); 399 } -
trunk/BNS/bnseph.h
r918 r926 37 37 virtual void position(int GPSweek, double GPSweeks, ColumnVector& xc, 38 38 ColumnVector& vv) const; 39 virtual int IOD() const {return int(fmod(_GPSweeks,86400.0)) / 600;}39 virtual int IOD() const; 40 40 private: 41 41 static ColumnVector glo_deriv(double /* tt */, const ColumnVector& xv);
Note:
See TracChangeset
for help on using the changeset viewer.