⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 engephemeris.hpp

📁 一个gps小工具包
💻 HPP
📖 第 1 页 / 共 2 页
字号:
      double getAf0() const throw(gpstk::InvalidRequest);               /** This function returns the SV clock drift in          * seconds/seconds. */      double getAf1() const throw(gpstk::InvalidRequest);               /** This function returns the SV clock rate of change of the          * drift in seconds/(seconds*seconds). */      double getAf2() const throw(gpstk::InvalidRequest);               /** This function returns the value of the group delay          * differential in seconds. */      double getTgd() const throw(gpstk::InvalidRequest);               /** This function returns the value of the sine latitude          * harmonic perturbation in radians. */      double getCus() const throw(gpstk::InvalidRequest);               /** This function returns the value of the sine radius          * harmonic perturbation in meters. */      double getCrs() const throw(gpstk::InvalidRequest);               /** This function returns the value of the sine inclination          * harmonic perturbation in radians. */      double getCis() const throw(gpstk::InvalidRequest);               /** This function returns the value of the cosine radius          * harmonic perturbation in meters. */      double getCrc() const throw(gpstk::InvalidRequest);               /** This function returns the value of the cosine latitude          * harmonic perturbation in radians. */      double getCuc() const throw(gpstk::InvalidRequest);               /** This function returns the value of the cosine inclination          * harmonic perturbation in radians. */      double getCic() const throw(gpstk::InvalidRequest);               /** This function returns the value of the time of ephemeris          * in GPS seconds of week. */      double getToe() const throw(gpstk::InvalidRequest);               /** This function returns the value of the mean anomaly in          * radians. */      double getM0() const throw(gpstk::InvalidRequest);               /** This function returns the value of the correction to the          * mean motion in radians/second. */      double getDn() const throw(gpstk::InvalidRequest);               /** This function returns the value of the eccentricity. */      double getEcc() const throw(gpstk::InvalidRequest);               /** This function returns the value of the square root of the          * semi-major axis in square root of meters. */      double getAhalf() const throw(gpstk::InvalidRequest);               /** This function returns the value of the semi-major axis in          * meters. */      double getA() const throw(gpstk::InvalidRequest);               /** This function returns the value of the right ascension of          * the ascending node in radians. */      double getOmega0() const throw(gpstk::InvalidRequest);               /** This function returns the value of the inclination in          * radians. */      double getI0() const throw(gpstk::InvalidRequest);               /** This function returns the value of the argument of          * perigee in radians. */      double getW() const throw(gpstk::InvalidRequest);               /** This function returns the value of the rate of the right          * ascension of the ascending node in radians/second. */      double getOmegaDot() const throw(gpstk::InvalidRequest);               /** This function returns the value of the rate of the          * inclination in radians/second. */      double getIDot() const throw(gpstk::InvalidRequest);               /** Compute satellite velocity/position at the given time          * using this ephemeris.          * @throw InvalidRequest if a required subframe has not been stored.          */      Xvt svXvt(const DayTime& t) const throw(gpstk::InvalidRequest);         /** Compute satellite relativity correction (sec) at the given time          * @throw InvalidRequest if a required subframe has not been stored.          */      double svRelativity(const DayTime& t) const throw(gpstk::InvalidRequest);         /** Compute the satellite clock bias (sec) at the given time          * @throw InvalidRequest if a required subframe has not been stored.          */      double svClockBias(const DayTime& t) const throw(gpstk::InvalidRequest);         /** Compute the satellite clock drift (sec/sec) at the given time          * @throw InvalidRequest if a required subframe has not been stored.          */      double svClockDrift(const DayTime& t) const throw(gpstk::InvalidRequest);         /** This function returns the value of the fit interval          * flag. */      short getFitInt() const throw(gpstk::InvalidRequest);               /** This function returns the value of the ephemeris key that          * is used to sort the ephemerides when they are stored in          * the bcetable. */      double getEphkey() const throw(gpstk::InvalidRequest);         /** This function returnst the value of the Time of Transmit.          * Basically just the earliest of the HOWs. */      long getTot() const throw(gpstk::InvalidRequest);               /** Set the values contained in SubFrame 1.          * @param tlm the new value for the TLM word          * @param how the new value for the HOW          * @param asalert the new falue for the A-S alert flag          * @param fullweek the new value for the full GPS week          * @param cflags the nve values for the L2 code flags          * @param acc the new value for the SV accuracy flag          * @param svhealth the new value for the SV health           * @param iodc the new value for the IODC           * @param l2pdata the new value for the L2 P-code data flag          * @param tgd the new value for the Tgd          * @param toc the new value for the clock epoch          * @param Af2 the new value for Af2          * @param Af1 the new value for Af1          * @param Af0 the new value for Af0          * @param Tracker the new value of the tracker number           * @param prn the new value of the PRN ID          * @return a reference to the modified EngEphemeris object          */      EngEphemeris& setSF1( unsigned tlm, double how, short asalert, short fullweek,                            short cflags, short acc, short svhealth, short iodc,                            short l2pdata, double tgd, double toc, double Af2,                            double Af1, double Af0, short Tracker, short prn )         throw();               /** Set the values contained in SubFrame 2.          * @param tlm the new value for the TLM word          * @param how the new value for the HOW          * @param asalert the new falue for the A-S alert flag          * @param iode the new value for the IODE          * @param crs the new value for the Crs          * @param m0 the new value for M0          * @param Dn the new value for Dn          * @param cuc the new value for the Cuc          * @param Ecc the new value for the Ecc          * @param cus the new value for the Cus          * @param ahalf the new value for Ahalf          * @param toe the new value for the Toe          * @param fitInt the new value for the fit interval flag          * @return a reference to the modified EngEphemeris object          */      EngEphemeris& setSF2( unsigned tlm, double how, short asalert, short iode,                            double crs, double Dn, double m0, double cuc, double Ecc,                            double cus, double ahalf, double toe, short fitInt )         throw();               /** Set the values contained in SubFrame 2.          * @param tlm the new value for the TLM word          * @param how the new value for the HOW          * @param asalert the new falue for the A-S alert flag          * @param cic the new value for the Cic           * @param Omega0 the enw value for Omega0          * @param cis the new value for the Cis          * @param I0 the new value for I0          * @param crc the new value for the Crc          * @param W the new value for W          * @param OmegaDot the new value for OmegaDot          * @param IDot the new value for IDot          * @return a reference to the modified EngEphemeris object          */      EngEphemeris& setSF3( unsigned tlm, double how, short asalert, double cic,                            double Omega0, double cis, double I0, double crc,                            double W, double OmegaDot, double IDot )         throw();               /// Output the contents of this ephemeris to the given stream.      void dump(std::ostream& s = std::cout) const;   protected:      bool haveSubframe[3];/**< flags indicating presence of a subframe */         /// Ephemeris overhead information         //@{      unsigned short tlm_message[3];      short PRNID;         /**< SV PRN ID */      short tracker;       /**< Tracker number */      long HOWtime[3];     /**< Time of subframe 1-3 (sec of week) */      short ASalert[3];    /**< A-S and "alert" flags for each subframe */      short weeknum;       /**< GPS full week number that corresponds to the HOWtime of SF1 */      short codeflags;     /**< L2 codes */      double accuracy;      /**< SV accuracy (m)*/      short accFlag;       /**< User Range Accuracy (URA) the accuracy flag */      short health;        /**< SV health */      short L2Pdata;       /**< L2 P data flag */      short IODC;         /**< Index of data-clock  */      short IODE;         /**< Index of data-eph    */      long  AODO;         /**< Age of Data Offset for NMCT */         //@}               /// Clock information         //@{      double   Toc;           /**< Clock epoch (sec of week) */      double   af0;           /**< SV clock error (sec) */      double   af1;           /**< SV clock drift (sec/sec) */      double   af2;           /**< SV clock drift rate (sec/sec**2) */      double   Tgd;           /**< Group delay differential (sec) */         //@}         /// Harmonic perturbations         //@{      double   Cuc;           /**< Cosine latitude (rad) */      double   Cus;           /**< Sine latitude (rad) */      double   Crc;           /**< Cosine radius (m) */      double   Crs;           /**< Sine radius (m) */      double   Cic;           /**< Cosine inclination (rad) */      double   Cis;           /**< Sine inclination (rad) */         //@}         /// Major ephemeris parameters         //@{      double   Toe;           /**< Ephemeris epoch (sec of week) */      double   M0;            /**< Mean anomaly (rad) */      double   dn;            /**< Correction to mean motion (rad/sec) */      double   ecc;           /**< Eccentricity */      double   Ahalf;         /**< SQRT of semi-major axis (m**1/2) */      double   OMEGA0;        /**< Rt ascension of ascending node (rad) */      double   i0;            /**< Inclination (rad) */      double   w;             /**< Argument of perigee (rad) */      double   OMEGAdot;      /**< Rate of Rt ascension (rad/sec) */      double   idot;          /**< Rate of inclination angle (rad/sec) */      short fitint;           /**< Fit interval flag */         //@}      friend std::ostream& operator<<(std::ostream& s,                                       const EngEphemeris& eph);   }; // class EngEphemeris   //@}} // namespace#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -