Changeset 889 in ntrip


Ignore:
Timestamp:
May 8, 2008, 5:02:42 PM (16 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bnseph.cpp

    r888 r889  
    263263}
    264264
    265 //
     265// Read Glonass Ephemeris
    266266////////////////////////////////////////////////////////////////////////////
    267267void t_ephGlo::read(const QStringList& lines) {
     
    343343}
    344344
    345 //
     345// Compute Glonass Satellite Position
    346346////////////////////////////////////////////////////////////////////////////
    347347void t_ephGlo::position(int GPSweek, double GPSweeks, ColumnVector& xc,
  • trunk/BNS/bnseph.h

    r887 r889  
    3535  virtual void position(int GPSweek, double GPSweeks, ColumnVector& xc,
    3636                        ColumnVector& vv) const;
    37   virtual int  IOD() const;
     37  virtual int  IOD() const {return int(_GPSweeks);}
    3838 private:
    3939  static ColumnVector glo_deriv(double /* tt */, const ColumnVector& xv);
    40   ColumnVector _xv;
     40  double       _tt;  // time in seconds of GPSweek
     41  ColumnVector _xv;  // status vector (position, velocity) at time _tt
    4142
    42   double _E;                  /* [days]   */
    43   double _tau;                /* [s]      */
    44   double _gamma;              /*          */
    45   double _x_pos;              /* [km]     */
    46   double _x_velocity;         /* [km/s]   */
    47   double _x_acceleration;     /* [km/s^2] */
    48   double _y_pos;              /* [km]     */
    49   double _y_velocity;         /* [km/s]   */
    50   double _y_acceleration;     /* [km/s^2] */
    51   double _z_pos;              /* [km]     */
    52   double _z_velocity;         /* [km/s]   */
    53   double _z_acceleration;     /* [km/s^2] */
    54   double _health;             /* 0 = O.K. */
    55   double _frequency_number;   /* ICD-GLONASS data position */
     43  double _E;                  // [days]   
     44  double _tau;                // [s]     
     45  double _gamma;              //         
     46  double _x_pos;              // [km]     
     47  double _x_velocity;         // [km/s]   
     48  double _x_acceleration;     // [km/s^2]
     49  double _y_pos;              // [km]     
     50  double _y_velocity;         // [km/s]   
     51  double _y_acceleration;     // [km/s^2]
     52  double _z_pos;              // [km]     
     53  double _z_velocity;         // [km/s]   
     54  double _z_acceleration;     // [km/s^2]
     55  double _health;             // 0 = O.K.
     56  double _frequency_number;   // ICD-GLONASS data position
    5657};
    5758
Note: See TracChangeset for help on using the changeset viewer.