Changeset 9892 in ntrip


Ignore:
Timestamp:
Nov 23, 2022, 10:48:36 AM (17 months ago)
Author:
stuerze
Message:

some bugfixes regarding GLONASS RNX

Location:
trunk/BNC/src
Files:
2 edited

Legend:

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

    r9891 r9892  
    11161116    eph._receptStaID = _staID;
    11171117
     1118    eph._flags_unknown = true;
     1119
    11181120    GETBITS(sv, 6)
    11191121    eph._prn.set('R', sv);
     
    11231125    GETBITS(eph._almanac_health, 1) /* almanac healthy */
    11241126    GETBITS(eph._almanac_health_availablility_indicator, 1) /* almanac health ok */
     1127/*
    11251128    if (eph._almanac_health_availablility_indicator == 0.0) {
    11261129#ifdef BNC_DEBUG_BCEP
     
    11291132           .arg(eph._almanac_health_availablility_indicator).toLatin1(), true));
    11301133#endif
    1131       //return false;
    1132     }
     1134      return false;
     1135    }
     1136*/
    11331137    GETBITS(eph._P1, 2) /*  P1 */
    11341138    GETBITS(i, 5)
  • trunk/BNC/src/ephemeris.cpp

    r9789 r9892  
    830830  if (rnxVersion >= 3.05) {
    831831    nLines += 1;
    832     _flags_unknown = false;
    833832  }
    834833  else {
    835834    _M_delta_tau = 0.9999e9; // unknown
    836835    _M_FT = 1.5e1;           // unknown
    837     _flags_unknown = true;
    838836  }
    839837
     
    941939    // =====================
    942940    else if ( iLine == 4 ) {
    943       if ( readDbl(line, pos[0], fieldLen, statusflags    )  ||
    944            readDbl(line, pos[1], fieldLen, _M_delta_tau   )  ||
    945            readDbl(line, pos[2], fieldLen, _M_FT          )  ||
    946            readDbl(line, pos[3], fieldLen, healthflags    ) ) {
    947         _checkState = bad;
    948         return;
     941      if (readDbl(line, pos[0], fieldLen, statusflags    ) ) {
     942        //statusflags BLK, do nothing
     943        _flags_unknown = true;
    949944      }
    950945      else {
     946        _flags_unknown = false;
    951947        // status flags
    952948        // ============
     
    968964          _M_P  = 0.0;
    969965        }
     966      }
     967      if ( readDbl(line, pos[1], fieldLen, _M_delta_tau   )  ||
     968           readDbl(line, pos[2], fieldLen, _M_FT          ) ) {
     969        _checkState = bad;
     970        return;
     971      }
     972      if (readDbl(line, pos[3], fieldLen, healthflags    ) ) {
     973        // healthflags BLK
     974        _flags_unknown = true;
     975      }
     976      else {
     977        _flags_unknown = false;
    970978        // health flags
    971979        // ============
Note: See TracChangeset for help on using the changeset viewer.