Changeset 9765 in ntrip for trunk/BNC/src/RTCM3


Ignore:
Timestamp:
Jun 20, 2022, 4:54:59 PM (2 years ago)
Author:
stuerze
Message:

some more changes to consider RINEX Version 4 nav file (EPH key only)

File:
1 edited

Legend:

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

    r9541 r9765  
    10911091    eph._fitInterval = fitIntervalFromFlag(fitIntervalFalg, eph._IODC, eph.type());
    10921092    eph._TOT = 0.9999e9;
     1093    eph._navType = t_eph::LNAV;
    10931094
    10941095    emit newGPSEph(eph);
     
    12161217    _gloFrq = QString("%1 %2").arg(eph._prn.toString().c_str()).arg(eph._frequency_number, 2, 'f', 0);
    12171218
     1219    eph._navType = t_eph::FDMA;
     1220
    12181221    emit newGlonassEph(eph);
    12191222    decoded = true;
     
    12991302    eph._fitInterval = fitIntervalFromFlag(fitIntervalFalg, eph._IODC, eph.type());
    13001303    eph._TOT = 0.9999e9;
     1304    eph._navType = t_eph::LNAV;
    13011305
    13021306    emit newGPSEph(eph);
     
    13901394    SKIPBITS(2)
    13911395    eph._TOT = 0.9999e9;
     1396    eph._navType = t_eph::LNAV;
    13921397
    13931398    emit newGPSEph(eph);
     
    14451450    eph._TOT = 0.9999E9;
    14461451    eph._health = 0;
     1452    eph._navType = t_eph::SBASL1;
    14471453
    14481454    emit newSBASEph(eph);
     
    15291535        return false;
    15301536      }
     1537      eph._navType = t_eph::INAF;
    15311538    }
    15321539    else {
     
    15401547      GETBITS(eph._E5aHS, 2)
    15411548      GETBITS(eph._e5aDataInValid, 1)
     1549      eph._navType = t_eph::FNAV;
    15421550    }
    15431551    eph._TOT = 0.9999e9;
     
    15621570bool RTCM3Decoder::DecodeBDSEphemeris(unsigned char* data, int size) {
    15631571  bool decoded = false;
     1572  const double iMaxGEO = 10.0 / 180.0 * M_PI;
    15641573
    15651574  if (size == 70) {
     
    16221631
    16231632    eph._TOT = 0.9999E9;
     1633    if (eph._i0 > iMaxGEO) {
     1634      eph._navType = t_eph::D1;
     1635    }
     1636    else {
     1637      eph._navType = t_eph::D2;
     1638    }
     1639
     1640
    16241641    emit newBDSEph(eph);
    16251642    decoded = true;
Note: See TracChangeset for help on using the changeset viewer.