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


Ignore:
Timestamp:
Apr 27, 2015, 4:00:38 PM (9 years ago)
Author:
stuerze
Message:

considerationn of the aspect that Galileo navigation messages can be provided for the same epoch but with different flags, e.g.: I/NAV, F/NAV, changed DVS;
simplification for accuracy entries that can be provided as index or in meter

File:
1 edited

Legend:

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

    r6794 r6798  
    3434  void    setCheckState(e_checkState checkState) {_checkState = checkState;}
    3535  t_prn   prn() const {return _prn;}
     36  int     flags() const {return _flags;}
     37  bool    hasOtherFlagsThan(const t_eph* eph) {return differentFlags(eph, this);}
    3638  t_irc   getCrd(const bncTime& tt, ColumnVector& xc, ColumnVector& vv, bool useCorr) const;
    3739  void    setOrbCorr(const t_orbCorr* orbCorr);
     
    4143  static QString rinexDateStr(const bncTime& tt, const QString& prnStr, double version);
    4244  static bool earlierTime(const t_eph* eph1, const t_eph* eph2) {return eph1->_TOC < eph2->_TOC;}
     45  static bool differentFlags(const t_eph* eph1, const t_eph* eph2) {return eph1->_flags != eph2->_flags;}
    4346
    4447 protected: 
     
    4649  t_prn        _prn;
    4750  bncTime      _TOC;
     51  int          _flags;
    4852  QDateTime    _receptDateTime;
    4953  e_checkState _checkState;
     
    98102  double  _L2PFlag;         // L2 P data flag
    99103
    100   mutable double  _ura;             // SV accuracy
     104  mutable double  _ura;     // SV accuracy
    101105  double  _health;          // SV health
    102106  double  _TGD;             // [s]   
     
    191195  // spare
    192196
    193   int     _SISAI;            //  [0..255] Signal In Space Accuracy Index from RTCM stream
    194   double  _SISA;             //  [m]      Signal In Space Accuracy from RINEX file
    195   // Health Status
    196   //   0: signal OK, 1: signal out of service, 2: signal will be out of service
    197   //   3: signal component currently in test
     197  mutable double  _SISA;     // Signal In Space Accuracy
    198198  double  _E5aHS;            //  [0..3] E5a Health Status
    199199  double  _E5bHS;            //  [0..3] E5b Health Status
     
    203203
    204204  double _TOT;               // [s]
    205   int    _flags;
    206205};
    207206
     
    238237  double _z_acceleration; // [m/s^2]
    239238
    240   double _ura;
     239  mutable double _ura;
    241240  double _health;
    242241};
     
    263262  int     _AODE;
    264263  int     _AODC;
    265   int     _URAI;             //  [0..15] index from RTCM stream
    266   double  _URA;              //  [m]     from RINEX file
     264  mutable double  _URA;      //  user range accuracy
    267265  double  _clock_bias;       //  [s]   
    268266  double  _clock_drift;      //  [s/s] 
Note: See TracChangeset for help on using the changeset viewer.