Changeset 9328 in ntrip for trunk/BNC/src/RTCM3
- Timestamp:
- Dec 17, 2020, 11:53:34 PM (4 years ago)
- Location:
- trunk/BNC/src/RTCM3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/RTCM3Decoder.cpp
r9318 r9328 1358 1358 GETFLOATSIGN(eph._Crs, 15, 1.0 / (double )(1 << 4)) 1359 1359 GETFLOATSIGN(eph._IDOT, 14, R2R_PI/(double)(1<<30)/(double)(1<<13)) 1360 SKIPBITS(2) 1360 1361 GETFLOATSIGN(eph._M0, 32, R2R_PI/(double)(1<<30)/(double)(1<< 1)) 1361 1362 GETBITS(i, 16) … … 1384 1385 GETFLOATSIGN(eph._OMEGADOT, 22, R2R_PI/(double)(1<<30)/(double)(1<<11)) 1385 1386 GETFLOATSIGN(eph._i0, 32, R2R_PI/(double)(1<<30)/(double)(1<< 1)) 1386 SKIPBITS(2)1387 1387 SKIPBITS(2) 1388 1388 eph._TOT = 0.9999e9; -
trunk/BNC/src/RTCM3/ephEncoder.cpp
r9002 r9328 85 85 GPSADDBITSFLOAT(15, eph._Crs, 1.0/static_cast<double>(1<< 4)) 86 86 GPSADDBITSFLOAT(14, eph._IDOT, M_PI/static_cast<double>(1<<30)/static_cast<double>(1<<13)) 87 GPSADDBITS(2, 0) /* padding */ 87 88 GPSADDBITSFLOAT(32, eph._M0, M_PI/static_cast<double>(1<<30)/static_cast<double>(1<<1)) 88 89 GPSADDBITS(16, static_cast<int>(eph._TOEsec)>>4) … … 93 94 GPSADDBITSFLOAT(22, eph._OMEGADOT, M_PI/static_cast<double>(1<<30)/static_cast<double>(1<<11)) 94 95 GPSADDBITSFLOAT(32, eph._i0, M_PI/static_cast<double>(1<<30)/static_cast<double>(1<<1)) 95 GPSADDBITS(2, 0) /* padding */96 96 GPSADDBITS(2, 0) /* padding */ 97 97 } else {
Note:
See TracChangeset
for help on using the changeset viewer.