Changeset 6380 in ntrip


Ignore:
Timestamp:
Dec 19, 2014, 2:40:40 PM (9 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r6373 r6380  
    1919class t_eph {
    2020 public:
    21   enum e_type {unknown, GPS, QZSS, GLONASS, Galileo};
     21  enum e_type {unknown, GPS, QZSS, GLONASS, Galileo, SBAS};
    2222
    2323  t_eph();
     
    201201};
    202202
     203class t_ephSBAS : public t_eph {
     204 friend class t_ephEncoder;
     205 public:
     206  t_ephSBAS() { _xv.ReSize(6); }
     207  t_ephSBAS(float rnxVersion, const QStringList& lines);
     208  virtual ~t_ephSBAS() {}
     209
     210  void            set(const sbasephemeris* ee);
     211  virtual e_type  type() const {return t_eph::SBAS;}
     212  virtual int     IOD() const {return _IODN;}
     213  virtual QString toString(double version) const;
     214
     215 private:
     216  virtual t_irc        position(int GPSweek, double GPSweeks, double* xc, double* vv) const;
     217  static ColumnVector  sbas_deriv(double /* tt */, const ColumnVector& xv, double* acc);
     218
     219  mutable bncTime      _tt;  // time
     220  mutable ColumnVector _xv;  // status vector (position, velocity) at time _tt
     221
     222  int    _IODN;
     223  int    _TOW;            // not used (set to  0.9999e9)
     224  double _agf0;           // [s]    clock correction
     225  double _agf1;           // [s/s]  clock correction drift
     226
     227  double _x_pos;          // [km]     
     228  double _x_velocity;     // [km/s]   
     229  double _x_acceleration; // [km/s^2]
     230
     231  double _y_pos;          // [km]     
     232  double _y_velocity;     // [km/s]   
     233  double _y_acceleration; // [km/s^2]
     234
     235  double _z_pos;          // [km]     
     236  double _z_velocity;     // [km/s]   
     237  double _z_acceleration; // [km/s^2]
     238
     239  int    _ura;
     240};
     241
    203242#endif
Note: See TracChangeset for help on using the changeset viewer.