Changeset 10577 in ntrip for trunk/BNC/src/ephemeris.h
- Timestamp:
- Nov 8, 2024, 2:13:26 PM (20 months ago)
- File:
-
- 1 edited
-
trunk/BNC/src/ephemeris.h (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/ephemeris.h
r10533 r10577 13 13 class t_orbCorr; 14 14 class t_clkCorr; 15 // enum e_navType {EPH, STO, EOP, ION}; 15 16 16 17 class t_eph { … … 18 19 enum e_type {unknown, GPS, QZSS, GLONASS, Galileo, SBAS, BDS, IRNSS}; 19 20 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}; 21 22 22 23 t_eph(); … … 27 28 virtual unsigned int IOD() const = 0; 28 29 virtual unsigned int isUnhealthy() const = 0; 29 virtual int slotNum() const {return 0;}30 virtual int slotNum() const {return 0;} 30 31 bncTime TOC() const {return _TOC;} 31 32 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;} 33 34 e_checkState checkState() const {return _checkState;} 34 35 QString checkStateToString() { … … 42 43 } 43 44 } 44 e_ navType navType() const {return _navType;}45 t_irc set NavType(QStringnavTypeStr);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); 51 52 const QDateTime& receptDateTime() const {return _receptDateTime;} 52 53 const QString receptStaID() const {return _receptStaID;} 53 54 static QString rinexDateStr(const bncTime& tt, const t_prn& prn, double version); 54 55 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); 56 57 static bool earlierTime(const t_eph* eph1, const t_eph* eph2) {return eph1->_TOC < eph2->_TOC;} 57 58 static bool prnSort(const t_eph* eph1, const t_eph* eph2) {return eph1->prn() < eph2->prn();} … … 64 65 QString _receptStaID; 65 66 e_checkState _checkState; 66 e_ navType _navType; // defined in RINEX 467 e_ephType _ephType; // defined in RINEX 4 67 68 t_orbCorr* _orbCorr; 68 69 t_clkCorr* _clkCorr; … … 106 107 _top = 0.0; 107 108 _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; 119 129 _receptStaID = ""; 120 130 } … … 180 190 double _Delta_n_dot; // [rad/s^2] 181 191 192 double _URAI; // [] user range accuracy index 182 193 double _URAI_NED0; // [] 183 194 double _URAI_NED1; // [] … … 185 196 double _URAI_ED; // [] 186 197 187 double _ISC_L1CA; // [s] 198 double _ISC_L1CA; // [s] inter signal correction 188 199 double _ISC_L2C; // [s] 189 200 double _ISC_L5I5; // [s] … … 192 203 double _ISC_L1Cp; // [s] 193 204 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?) 195 216 }; 196 217 … … 330 351 _BGD_1_5B = 0.0; 331 352 _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; 332 359 _receptStaID = ""; 333 360 };
Note:
See TracChangeset
for help on using the changeset viewer.
