Changeset 10899 in ntrip for trunk/BNC/src/RTCM3/ephEncoder.cpp


Ignore:
Timestamp:
May 4, 2026, 4:52:14 PM (12 hours ago)
Author:
stuerze
Message:

bugfix in NavIC broadcast epehemeris encoding/decoding

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/RTCM3/ephEncoder.cpp

    r10619 r10899  
    8787    GPSADDBITSFLOAT(15, eph._Crs, 1.0/static_cast<double>(1<< 4))
    8888    GPSADDBITSFLOAT(14, eph._IDOT, M_PI/static_cast<double>(1<<30)/static_cast<double>(1<<13))
    89     GPSADDBITS(2, 0) /* padding */
    9089    GPSADDBITSFLOAT(32, eph._M0, M_PI/static_cast<double>(1<<30)/static_cast<double>(1<<1))
    9190    GPSADDBITS(16, static_cast<int>(eph._TOEsec)>>4)
     
    9695    GPSADDBITSFLOAT(22, eph._OMEGADOT, M_PI/static_cast<double>(1<<30)/static_cast<double>(1<<11))
    9796    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)
    9999  } else {
    100100    GPSADDBITS(12, 1019)
Note: See TracChangeset for help on using the changeset viewer.