Changeset 9329 in ntrip


Ignore:
Timestamp:
Dec 17, 2020, 11:58:07 PM (3 years ago)
Author:
stuerze
Message:

bug fixed in IRNSS ephemeris ecoding / decoding

Location:
branches/BNC_2.12/src/RTCM3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/RTCM3/RTCM3Decoder.cpp

    r9319 r9329  
    13581358    GETFLOATSIGN(eph._Crs,  15, 1.0 / (double )(1 <<  4))
    13591359    GETFLOATSIGN(eph._IDOT, 14, R2R_PI/(double)(1<<30)/(double)(1<<13))
     1360    SKIPBITS(2)
    13601361    GETFLOATSIGN(eph._M0,   32, R2R_PI/(double)(1<<30)/(double)(1<< 1))
    13611362    GETBITS(i, 16)
     
    13841385    GETFLOATSIGN(eph._OMEGADOT, 22, R2R_PI/(double)(1<<30)/(double)(1<<11))
    13851386    GETFLOATSIGN(eph._i0,       32, R2R_PI/(double)(1<<30)/(double)(1<< 1))
    1386     SKIPBITS(2)
    13871387    SKIPBITS(2)
    13881388    eph._TOT = 0.9999e9;
  • branches/BNC_2.12/src/RTCM3/ephEncoder.cpp

    r9003 r9329  
    8585    GPSADDBITSFLOAT(15, eph._Crs, 1.0/static_cast<double>(1<< 4))
    8686    GPSADDBITSFLOAT(14, eph._IDOT, M_PI/static_cast<double>(1<<30)/static_cast<double>(1<<13))
     87    GPSADDBITS(2, 0) /* padding */
    8788    GPSADDBITSFLOAT(32, eph._M0, M_PI/static_cast<double>(1<<30)/static_cast<double>(1<<1))
    8889    GPSADDBITS(16, static_cast<int>(eph._TOEsec)>>4)
     
    9394    GPSADDBITSFLOAT(22, eph._OMEGADOT, M_PI/static_cast<double>(1<<30)/static_cast<double>(1<<11))
    9495    GPSADDBITSFLOAT(32, eph._i0, M_PI/static_cast<double>(1<<30)/static_cast<double>(1<<1))
    95     GPSADDBITS(2, 0) /* padding */
    9696    GPSADDBITS(2, 0) /* padding */
    9797  } else {
Note: See TracChangeset for help on using the changeset viewer.