Changeset 10577 in ntrip for trunk/BNC/src/ephemeris.h


Ignore:
Timestamp:
Nov 8, 2024, 2:13:26 PM (20 months ago)
Author:
stuerze
Message:

updates regarding RINEX version 4.02 navigation information

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/ephemeris.h

    r10533 r10577  
    1313class t_orbCorr;
    1414class t_clkCorr;
     15//  enum e_navType {EPH, STO, EOP, ION};
    1516
    1617class t_eph {
     
    1819  enum e_type {unknown, GPS, QZSS, GLONASS, Galileo, SBAS, BDS, IRNSS};
    1920  enum e_checkState {unchecked, ok, bad, outdated, unhealthy};
    20   enum e_navType {undefined, LNAV, FDMA, FNAV, INAF, D1, D2, SBASL1, CNAV, CNV1, CNV2, CNV3};
     21  enum e_ephType {undefined, LNAV, FDMA, FNAV, INAF, D1, D2, SBASL1, CNAV, CNV1, CNV2, CNV3, L1NV, L1OC, L3OC};
    2122
    2223  t_eph();
     
    2728  virtual unsigned int IOD() const = 0;
    2829  virtual unsigned int isUnhealthy() const = 0;
    29   virtual int     slotNum() const {return 0;}
     30  virtual int slotNum() const {return 0;}
    3031  bncTime TOC() const {return _TOC;}
    3132  bool    isNewerThan(const t_eph* eph) const {return earlierTime(eph, this);}
    32   void setCheckState(e_checkState checkState) {_checkState = checkState;}
     33  void    setCheckState(e_checkState checkState) {_checkState = checkState;}
    3334  e_checkState checkState() const {return _checkState;}
    3435  QString checkStateToString() {
     
    4243    }
    4344  }
    44   e_navType navType() const {return _navType;}
    45   t_irc setNavType(QString navTypeStr);
    46 
    47   t_prn   prn() const {return _prn;}
    48   t_irc   getCrd(const bncTime& tt, ColumnVector& xc, ColumnVector& vv, bool useCorr) const;
    49   void    setOrbCorr(const t_orbCorr* orbCorr);
    50   void    setClkCorr(const t_clkCorr* clkCorr);
     45  e_ephType ephType() const {return _ephType;}
     46  t_irc setEphType(QString ephTypeStr);
     47
     48  t_prn prn() const {return _prn;}
     49  t_irc getCrd(const bncTime& tt, ColumnVector& xc, ColumnVector& vv, bool useCorr) const;
     50  void setOrbCorr(const t_orbCorr* orbCorr);
     51  void setClkCorr(const t_clkCorr* clkCorr);
    5152  const QDateTime& receptDateTime() const {return _receptDateTime;}
    5253  const QString receptStaID() const {return _receptStaID;}
    5354  static QString rinexDateStr(const bncTime& tt, const t_prn& prn, double version);
    5455  static QString rinexDateStr(const bncTime& tt, const QString& prnStr, double version);
    55   static QString navTypeString(e_navType navType, const t_prn& prn, double version);
     56  static QString ephTypeStr(e_ephType ephType, const t_prn& prn, double version);
    5657  static bool earlierTime(const t_eph* eph1, const t_eph* eph2) {return eph1->_TOC < eph2->_TOC;}
    5758  static bool prnSort(const t_eph* eph1, const t_eph* eph2) {return eph1->prn() < eph2->prn();}
     
    6465  QString          _receptStaID;
    6566  e_checkState     _checkState;
    66   e_navType        _navType; // defined in RINEX 4
     67  e_ephType        _ephType; // defined in RINEX 4
    6768  t_orbCorr*       _orbCorr;
    6869  t_clkCorr*       _clkCorr;
     
    106107    _top             = 0.0;
    107108    _Delta_n_dot     = 0.0;
    108    _URAI_NED0        = 0.0;
    109    _URAI_NED1        = 0.0;
    110    _URAI_NED2        = 0.0;
    111    _URAI_ED          = 0.0;
    112    _ISC_L1CA         = 0.0;
    113    _ISC_L2C          = 0.0;
    114    _ISC_L5I5         = 0.0;
    115    _ISC_L5Q5         = 0.0;
    116    _ISC_L1Cd         = 0.0;
    117    _ISC_L1Cp         = 0.0;
    118    _wnop             = 0.0;
     109    _URAI            = 0.0;
     110    _URAI_NED0       = 0.0;
     111    _URAI_NED1       = 0.0;
     112    _URAI_NED2       = 0.0;
     113    _URAI_ED         = 0.0;
     114    _ISC_L1CA        = 0.0;
     115    _ISC_L2C         = 0.0;
     116    _ISC_L5I5        = 0.0;
     117    _ISC_L5Q5        = 0.0;
     118    _ISC_L1Cd        = 0.0;
     119    _ISC_L1Cp        = 0.0;
     120    _RSF             = 0.0;
     121    _ISC_S           = 0.0;
     122    _ISC_L1D         = 0.0;
     123    _ISC_L1P         = 0.0;
     124    _wnop            = 0.0;
     125    _intSF           = -1;
     126    _ephSF           = -1;
     127    _L2Cphasing      = -1;
     128    _alert           = -1;
    119129    _receptStaID     = "";
    120130  }
     
    180190  double  _Delta_n_dot;     // [rad/s^2]
    181191
     192  double _URAI;             // [] user range accuracy index
    182193  double _URAI_NED0;        // []
    183194  double _URAI_NED1;        // []
     
    185196  double _URAI_ED;          // []
    186197
    187   double _ISC_L1CA;         // [s]
     198  double _ISC_L1CA;         // [s] inter signal correction
    188199  double _ISC_L2C;          // [s]
    189200  double _ISC_L5I5;         // [s]
     
    192203  double _ISC_L1Cp;         // [s]
    193204
    194   double _wnop;             // GPS continuous week number with the ambiguity resolved
     205  double _RSF;              // [-] Reference Signal Flag for IRNSS
     206  double _ISC_S;            // [s]
     207  double _ISC_L1D;          // [s]
     208  double _ISC_L1P;          // [s]
     209
     210  bool   _intSF;            // [-] integrity status flag
     211  bool   _ephSF;            // [-] ephemeris status flag (QZSS)
     212  bool   _L2Cphasing;       // [-] L2C phasing flag
     213  bool   _alert;            // [-] alert flag
     214
     215  double _wnop;             // GPS continuous week number with the ambiguity resolved (same as _TOEweek?)
    195216};
    196217
     
    330351    _BGD_1_5B        = 0.0;
    331352    _TOT             = 0.0;
     353    bool    _inav;
     354    /** Data comes from F/NAV when <code>true</code> */
     355    bool    _fnav;
     356    bool    _e1DataInValid;
     357    bool    _e5aDataInValid;
     358    bool    _e5bDataInValid;
    332359    _receptStaID     = "";
    333360  };
Note: See TracChangeset for help on using the changeset viewer.