Ignore:
Timestamp:
Nov 20, 2019, 2:38:50 PM (4 years ago)
Author:
stuerze
Message:

small improvement with respect to fit interval for GPS and QZSS at least if the flag is 0

File:
1 edited

Legend:

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

    r8844 r8852  
    10211021    int i, week;
    10221022    uint64_t numbits = 0, bitfield = 0;
     1023    int fitIntervalFalg = 0;
    10231024
    10241025    data += 3; /* header */
     
    10711072    GETBITS(eph._health, 6)
    10721073    GETBITS(eph._L2PFlag, 1)
    1073     GETBITS(eph._fitInterval, 1)
     1074    GETBITS(fitIntervalFalg, 1)
     1075    if (fitIntervalFalg == 0) {
     1076      eph._fitInterval = 4.0;
     1077    }
    10741078    eph._TOT = 0.9999e9;
    10751079
     
    11771181    int i, week;
    11781182    uint64_t numbits = 0, bitfield = 0;
     1183    int fitIntervalFalg = 0;
    11791184
    11801185    data += 3; /* header */
     
    12321237    GETFLOATSIGN(eph._TGD,       8, 1.0 / (double )(1 << 30) / (double )(1 << 1))
    12331238    GETBITS(eph._IODC, 10)
    1234     GETBITS(eph._fitInterval, 1)
     1239    GETBITS(fitIntervalFalg, 1)
     1240    if (fitIntervalFalg == 0) {
     1241      eph._fitInterval = 2.0;
     1242    }
    12351243    eph._TOT = 0.9999e9;
    12361244
Note: See TracChangeset for help on using the changeset viewer.