Changeset 6619 in ntrip
- Timestamp:
- Mar 3, 2015, 10:27:17 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/ephEncoder.cpp
r6615 r6619 349 349 BDSADDBITS(12, RTCM3ID_BDS) 350 350 BDSADDBITS(6, eph._prn.number()) 351 BDSADDBITS(13, eph._TOC .gpsw())351 BDSADDBITS(13, eph._TOC_bdt.gpsw() - 1356.0) 352 352 BDSADDBITS(4, 15);// URAI = 15: no accuracy prediction 353 353 BDSADDBITSFLOAT(14, eph._IDOT, M_PI/static_cast<double>(1<<30)/static_cast<double>(1<<13)) 354 354 BDSADDBITS(5, eph._AODE) 355 BDSADDBITS(17, static_cast<int>(eph._TOC .gpssec())>>3)355 BDSADDBITS(17, static_cast<int>(eph._TOC_bdt.gpssec())>>3) 356 356 BDSADDBITSFLOAT(11, eph._clock_driftrate, 1.0/static_cast<double>(1<<30)/static_cast<double>(1<<6)) 357 357 BDSADDBITSFLOAT(22, eph._clock_drift, 1.0/static_cast<double>(1<<30)/static_cast<double>(1<<20)) … … 365 365 BDSADDBITSFLOAT(18, eph._Cus, 1.0/static_cast<double>(1<<30)/static_cast<double>(1<<1)) 366 366 BDSADDBITSFLOAT(32, eph._sqrt_A, 1.0/static_cast<double>(1<<19)) 367 BDSADDBITS(17, static_cast<int>(eph._TOE .gpssec())>>3)367 BDSADDBITS(17, static_cast<int>(eph._TOE_bdt.gpssec())>>3) 368 368 BDSADDBITSFLOAT(18, eph._Cic, 1.0/static_cast<double>(1<<30)/static_cast<double>(1<<1)) 369 369 BDSADDBITSFLOAT(32, eph._OMEGA0, M_PI/static_cast<double>(1<<30)/static_cast<double>(1<<1)) 370 370 BDSADDBITSFLOAT(18, eph._Cis, 1.0/static_cast<double>(1<<30)/static_cast<double>(1<<1)) 371 371 BDSADDBITSFLOAT(32, eph._i0, M_PI/static_cast<double>(1<<30)/static_cast<double>(1<<1)) 372 BDSADDBITSFLOAT(18, eph._Crc, 1.0/static_cast<double>(1<< 8))372 BDSADDBITSFLOAT(18, eph._Crc, 1.0/static_cast<double>(1<<6)) 373 373 BDSADDBITSFLOAT(32, eph._omega, M_PI/static_cast<double>(1<<30)/static_cast<double>(1<<1)) 374 374 BDSADDBITSFLOAT(24, eph._OMEGADOT, M_PI/static_cast<double>(1<<30)/static_cast<double>(1<<13))
Note:
See TracChangeset
for help on using the changeset viewer.