Changeset 10899 in ntrip for trunk/BNC/src/RTCM3
- Timestamp:
- May 4, 2026, 4:52:14 PM (10 days ago)
- Location:
- trunk/BNC/src/RTCM3
- Files:
-
- 2 edited
-
RTCM3Decoder.cpp (modified) (2 diffs)
-
ephEncoder.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/RTCM3Decoder.cpp
r10694 r10899 1549 1549 GETFLOATSIGN(eph._Crs, 15, 1.0 / (double )(1 << 4)) 1550 1550 GETFLOATSIGN(eph._IDOT, 14, R2R_PI/(double)(1<<30)/(double)(1<<13)) 1551 SKIPBITS(2)1552 1551 GETFLOATSIGN(eph._M0, 32, R2R_PI/(double)(1<<30)/(double)(1<< 1)) 1553 1552 GETBITS(i, 16) … … 1586 1585 GETFLOATSIGN(eph._OMEGADOT, 22, R2R_PI/(double)(1<<30)/(double)(1<<11)) 1587 1586 GETFLOATSIGN(eph._i0, 32, R2R_PI/(double)(1<<30)/(double)(1<< 1)) 1588 SKIPBITS(2) 1587 GETBITS(eph._s_bits_after_IDOT, 2) 1588 GETBITS(eph._s_bits_after_i0, 2) 1589 1589 1590 eph._TOT = 0.9999e9; 1590 1591 eph._type = t_eph::LNAV; -
trunk/BNC/src/RTCM3/ephEncoder.cpp
r10619 r10899 87 87 GPSADDBITSFLOAT(15, eph._Crs, 1.0/static_cast<double>(1<< 4)) 88 88 GPSADDBITSFLOAT(14, eph._IDOT, M_PI/static_cast<double>(1<<30)/static_cast<double>(1<<13)) 89 GPSADDBITS(2, 0) /* padding */90 89 GPSADDBITSFLOAT(32, eph._M0, M_PI/static_cast<double>(1<<30)/static_cast<double>(1<<1)) 91 90 GPSADDBITS(16, static_cast<int>(eph._TOEsec)>>4) … … 96 95 GPSADDBITSFLOAT(22, eph._OMEGADOT, M_PI/static_cast<double>(1<<30)/static_cast<double>(1<<11)) 97 96 GPSADDBITSFLOAT(32, eph._i0, M_PI/static_cast<double>(1<<30)/static_cast<double>(1<<1)) 98 GPSADDBITS(2, 0) /* padding */ 97 GPSADDBITS(2, eph._s_bits_after_IDOT) 98 GPSADDBITS(2, eph._s_bits_after_i0) 99 99 } else { 100 100 GPSADDBITS(12, 1019)
Note:
See TracChangeset
for help on using the changeset viewer.
