Ignore:
Timestamp:
Nov 20, 2019, 2:52:17 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
  • branches/BNC_2.12/src/RTCM3/RTCM3Decoder.cpp

    r8843 r8854  
    10291029    int i, week;
    10301030    uint64_t numbits = 0, bitfield = 0;
     1031    int fitIntervalFalg = 0;
    10311032
    10321033    data += 3; /* header */
     
    10801081    GETBITS(eph._health, 6)
    10811082    GETBITS(eph._L2PFlag, 1)
    1082     GETBITS(eph._fitInterval, 1)
     1083    GETBITS(fitIntervalFalg, 1)
     1084    if (fitIntervalFalg == 0) {
     1085      eph._fitInterval = 4.0;
     1086    }
    10831087    eph._TOT = 0.9999e9;
    10841088
     
    11851189    int i, week;
    11861190    uint64_t numbits = 0, bitfield = 0;
    1187 
     1191    int fitIntervalFalg = 0;
     1192   
    11881193    data += 3; /* header */
    11891194    size -= 6; /* header + crc */
     
    12411246    GETFLOATSIGN(eph._TGD, 8, 1.0 / (double )(1 << 30) / (double )(1 << 1))
    12421247    GETBITS(eph._IODC, 10)
    1243     GETBITS(eph._fitInterval, 1)
     1248    GETBITS(fitIntervalFalg, 1)
     1249    if (fitIntervalFalg == 0) {
     1250      eph._fitInterval = 2.0;
     1251    }
    12441252    eph._TOT = 0.9999e9;
    12451253
Note: See TracChangeset for help on using the changeset viewer.