#include <EngEphemeris.hpp>
Inheritance diagram for EngEphemeris:


This class encapsulates the ephemeris navigation message (subframes 1-3) and provides functions to decode the as-broadcast ephemerides.
Definition at line 77 of file EngEphemeris.hpp.
Public Member Functions | ||||
| EngEphemeris () throw () | ||||
| Default constructor. | ||||
| virtual | ~EngEphemeris () | |||
| Destructor. | ||||
| bool | addSubframe (const long subframe[10], const int gpsWeek, const short PRN, const short track) throw ( gpstk::InvalidParameter ) | |||
| Historically, EngEphemeris allowed calling programs to add data one subframe at a time. | ||||
| bool | addSubframeNoParity (const long subframe[10], const int gpsWeek, const short PRN, const short track) throw ( gpstk::InvalidParameter ) | |||
| Store a subframe in this object. | ||||
| bool | addIncompleteSF1Thru3 (const long sf1[8], const long sf2[8], const long sf3[8], const long sf1TransmitSOW, const int gpsWeek, const short PRN, const short track) | |||
| Store a subframe in this object. | ||||
| bool | isData (short subframe) const throw ( gpstk::InvalidRequest ) | |||
| Query presence of subframe in this object. | ||||
| void | setAccuracy (const double &acc) throw ( gpstk::InvalidParameter ) | |||
| Set the value of the SV accuracy (in meters). | ||||
| short | getFitInterval () const throw ( gpstk::InvalidRequest ) | |||
| This is for Block II/IIA Need update for Block IIR and IIF. | ||||
| Xvt | svXvt (const CommonTime &t) const throw ( gpstk::InvalidRequest ) | |||
| Compute satellite position & velocity at the given time using this ephemeris. | ||||
| unsigned char | getTLMPreamble () const throw () | |||
| Return 0x8b, the upper 5 bits of the 22-bit TLM word. | ||||
| unsigned | getTLMMessage (short subframe) const throw ( gpstk::InvalidRequest ) | |||
| Return the lower 16 bits of the TLM word for the given subframe. | ||||
| CommonTime | getEphemerisEpoch () const throw ( gpstk::InvalidRequest ) | |||
| EXvtracts the epoch time from this ephemeris, correcting for half weeks and HOW time. | ||||
| CommonTime | getEpochTime () const throw ( gpstk::InvalidRequest ) | |||
| EXvtracts the epoch time (time of clock) from this ephemeris, correcting for half weeks and HOW time. | ||||
| CommonTime | getTransmitTime () const throw () | |||
| EXvtracts the transmit time from the ephemeris using the Tot. | ||||
| CommonTime | getTimestamp () const throw () | |||
| used for template functions | ||||
| std::string | getSatSys () const throw () | |||
| This functions returns the GNSS type (satellite system code). | ||||
| short | getPRNID () const throw ( gpstk::InvalidRequest ) | |||
| This function returns the PRN ID of the SV. | ||||
| short | getTracker () const throw ( gpstk::InvalidRequest ) | |||
| This function returns the tracker number. | ||||
| double | getHOWTime (short subframe) const throw ( gpstk::InvalidRequest ) | |||
| This function returns the time of the HOW in subframe 1 or 2 or 3 in seconds of week. | ||||
| short | getASAlert (short subframe) const throw ( gpstk::InvalidRequest ) | |||
| This function returns the A-S alert flag for either subframe 1 or 2 or 3. | ||||
| short | getFullWeek () const throw ( gpstk::InvalidRequest ) | |||
| This function return the GPS week number for the ephemeris. | ||||
| short | getCodeFlags () const throw ( gpstk::InvalidRequest ) | |||
| This function returns the values of the L2 codes. | ||||
| double | getAccuracy () const throw ( gpstk::InvalidRequest ) | |||
| This function returns the value of the SV accuracy (m) computed from the accuracy flag in the nav message, or as set by the setAccuracy() method. | ||||
| short | getAccFlag () const throw ( gpstk::InvalidRequest ) | |||
| This function returns the flag based on the SV accuracy flag as it appears in the nav message. | ||||
| short | getHealth () const throw ( gpstk::InvalidRequest ) | |||
| This function returns the value of the SV health flag. | ||||
| short | getL2Pdata () const throw ( gpstk::InvalidRequest ) | |||
| This function returns the value of the L2 P-code data flag. | ||||
| short | getIODC () const throw ( gpstk::InvalidRequest ) | |||
| This function returns the IODC for the given PRN. | ||||
| short | getIODE () const throw ( gpstk::InvalidRequest ) | |||
| This function return the IODE for the ephemeris. | ||||
| long | getAODO () const throw ( gpstk::InvalidRequest ) | |||
| This function return the AODO for the ephemeris. | ||||
| double | getToc () const throw ( gpstk::InvalidRequest ) | |||
| This function returns the clock epoch in GPS seconds of week. | ||||
| double | getAf0 () const throw ( gpstk::InvalidRequest ) | |||
| This function returns the SV clock error in seconds. | ||||
| double | getAf1 () const throw ( gpstk::InvalidRequest ) | |||
| This function returns the SV clock drift in seconds/seconds. | ||||
| double | getAf2 () const throw ( gpstk::InvalidRequest ) | |||
| This function returns the SV clock rate of change of the drift in seconds/(seconds*seconds). | ||||
| double | getTgd () const throw ( gpstk::InvalidRequest ) | |||
| This function returns the value of the group delay differential in seconds. | ||||
| double | getCus () const throw ( gpstk::InvalidRequest ) | |||
| This function returns the value of the sine latitude harmonic perturbation in radians. | ||||
| double | getCrs () const throw ( gpstk::InvalidRequest ) | |||
| This function returns the value of the sine radius harmonic perturbation in meters. | ||||
| double | getCis () const throw ( gpstk::InvalidRequest ) | |||
| This function returns the value of the sine inclination harmonic perturbation in radians. | ||||
| double | getCrc () const throw ( gpstk::InvalidRequest ) | |||
| This function returns the value of the cosine radius harmonic perturbation in meters. | ||||
| double | getCuc () const throw ( gpstk::InvalidRequest ) | |||
| This function returns the value of the cosine latitude harmonic perturbation in radians. | ||||
| double | getCic () const throw ( gpstk::InvalidRequest ) | |||
| This function returns the value of the cosine inclination harmonic perturbation in radians. | ||||
| double | getToe () const throw ( gpstk::InvalidRequest ) | |||
| This function returns the value of the time of ephemeris in GPS seconds of week. | ||||
| double | getM0 () const throw ( gpstk::InvalidRequest ) | |||
| This function returns the value of the mean anomaly in radians. | ||||
| double | getDn () const throw ( gpstk::InvalidRequest ) | |||
| This function returns the value of the correction to the mean motion in radians/second. | ||||
| double | getEcc () const throw ( gpstk::InvalidRequest ) | |||
| This function returns the value of the eccentricity. | ||||
| double | getAhalf () const throw ( gpstk::InvalidRequest ) | |||
| This function returns the value of the square root of the semi-major axis in square root of meters. | ||||
| double | getA () const throw ( gpstk::InvalidRequest ) | |||
| This function returns the value of the semi-major axis in meters. | ||||
| double | getOmega0 () const throw ( gpstk::InvalidRequest ) | |||
| This function returns the value of the right ascension of the ascending node in radians. | ||||
| double | getI0 () const throw ( gpstk::InvalidRequest ) | |||
| This function returns the value of the inclination in radians. | ||||
| double | getW () const throw ( gpstk::InvalidRequest ) | |||
| This function returns the value of the argument of perigee in radians. | ||||
| double | getOmegaDot () const throw ( gpstk::InvalidRequest ) | |||
| This function returns the value of the rate of the right ascension of the ascending node in radians/second. | ||||
| double | getIDot () const throw ( gpstk::InvalidRequest ) | |||
| This function returns the value of the rate of the inclination in radians/second. | ||||
| double | svRelativity (const CommonTime &t) const throw ( gpstk::InvalidRequest ) | |||
Compute satellite relativity correction (sec) at the given time
| ||||
| double | svClockBias (const CommonTime &t) const throw ( gpstk::InvalidRequest ) | |||
Compute the satellite clock bias (sec) at the given time
| ||||
| double | svClockDrift (const CommonTime &t) const throw ( gpstk::InvalidRequest ) | |||
Compute the satellite clock drift (sec/sec) at the given time
| ||||
| short | getFitInt () const throw ( gpstk::InvalidRequest ) | |||
| This function returns the value of the fit interval flag. | ||||
| double | getEphkey () 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. | ||||
| long | getTot () const throw ( gpstk::InvalidRequest ) | |||
| This function returnst the value of the Time of Transmit. | ||||
| BrcKeplerOrbit | getOrbit () const throw (gpstk::InvalidRequest) | |||
| BrcClockCorrection | getClock () const throw (gpstk::InvalidRequest) | |||
| EngEphemeris & | loadData (const std::string satSysArg, unsigned short tlm[3], const long how[3], const short asalert[3], const short Tracker, const short prn, const short fullweek, const short cflags, const short acc, const short svhealth, const short iodc, const short l2pdata, const long Aodo, const double tgd, const double toc, const double Af2, const double Af1, const double Af0, const short iode, const double crs, const double Dn, const double m0, const double cuc, const double Ecc, const double cus, const double ahalf, const double toe, const short fitInt, const double cic, const double Omega0, const double cis, const double I0, const double crc, const double W, const double OmegaDot, const double IDot) throw () | |||
| Set the values contained in SubFrame 1,2 and 3. | ||||
| 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 () | |||
| 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 ( InvalidRequest ) | |||
| 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 ( InvalidRequest ) | |||
| void | dump (std::ostream &s=std::cout) const throw ( InvalidRequest ) | |||
| Output the contents of this ephemeris to the given stream. | ||||
| void | setFIC (const bool arg) | |||
| void | dumpTerse (std::ostream &s=std::cout) const throw ( InvalidRequest ) | |||
| bool | unifiedConvert (const int gpsWeek, const short PRN, const short track) | |||
| Each of the addSubframe( ) methods eventually calls unifiedConvert( ) in order to crack the raw subframe data into engineering units and load the orbit and clock objects. | ||||
Public Attributes | ||||
| bool | haveSubframe [3] | |||
| flags indicating presence of a subframe | ||||
| long | subframeStore [3][10] | |||
| bool | isFIC | |||
| short | accFlagTmp | |||
| unsigned short | tlm_message [3] | |||
| std::string | satSys | |||
| GNSS (satellite system). | ||||
| 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. | ||||
| 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. | ||||
| short | fitint | |||
| Fit interval flag. | ||||
| double | Tgd | |||
| L1 and L2 correction term. | ||||
| BrcClockCorrection | bcClock | |||
| BrcKeplerOrbit | orbit | |||
Friends | ||||
| std::ostream & | operator<< (std::ostream &s, const EngEphemeris &eph) | |||
|
|
Default constructor.
Definition at line 63 of file EngEphemeris.cpp. References EngEphemeris::ASalert, EngEphemeris::codeflags, EngEphemeris::fitint, EngEphemeris::haveSubframe, EngEphemeris::health, EngEphemeris::HOWtime, EngEphemeris::IODC, EngEphemeris::IODE, EngEphemeris::isFIC, EngEphemeris::L2Pdata, EngEphemeris::PRNID, EngEphemeris::satSys, EngEphemeris::subframeStore, EngEphemeris::Tgd, EngEphemeris::tlm_message, EngEphemeris::tracker, and EngEphemeris::weeknum. |
|
|
Destructor.
Definition at line 85 of file EngEphemeris.hpp. |
|
||||||||||||||||||||||||||||||||
|
Store a subframe in this object. This method is provided in order to provide a path to a EngEphemeris object for cases where a receiver only provides words 3-10 of subframes 1-3.
Definition at line 157 of file EngEphemeris.cpp. References EngEphemeris::haveSubframe, EngEphemeris::subframeStore, and EngEphemeris::unifiedConvert(). Referenced by MinSfTest::process(). |
|
||||||||||||||||||||
|
Historically, EngEphemeris allowed calling programs to add data one subframe at a time.
Definition at line 102 of file EngEphemeris.cpp. References GPSTK_THROW. Referenced by gpstk::makeEngEphemeris(), FICData::operator EngEphemeris(), and NovatelData::operator RinexNavData(). |
|
||||||||||||||||||||
|
Store a subframe in this object. This method is provided in order to allow construction of an EngEphemeris object for cases where a receiver only provides the 24 msb of each word and strips the parity.l
Definition at line 136 of file EngEphemeris.cpp. |
|
|
Output the contents of this ephemeris to the given stream.
Definition at line 1360 of file EngEphemeris.cpp. References GPSTK_THROW. Referenced by GPSEphemerisStore::dump(), gpstk::operator<<(), and MinSfTest::process(). |
|
|
Definition at line 1305 of file EngEphemeris.cpp. References SVNumXRef::getNAVSTAR(), GPSTK_THROW, and gpstk::printTime(). |
|
|
This function returns the value of the semi-major axis in meters.
Definition at line 858 of file EngEphemeris.cpp. References BrcKeplerOrbit::getA(), GPSTK_THROW, EngEphemeris::haveSubframe, and EngEphemeris::orbit. |
|
|
This function returns the flag based on the SV accuracy flag as it appears in the nav message.
Definition at line 616 of file EngEphemeris.cpp. References BrcKeplerOrbit::getURAoe(), GPSTK_THROW, EngEphemeris::haveSubframe, and EngEphemeris::orbit. Referenced by FICData9::FICData9(), ComputeIURAWeights::getWeight(), SimpleIURAWeight::getWeights(), and MinSfTest::process(). |
|
|
This function returns the value of the SV accuracy (m) computed from the accuracy flag in the nav message, or as set by the setAccuracy() method.
Definition at line 605 of file EngEphemeris.cpp. References BrcKeplerOrbit::getAccuracy(), GPSTK_THROW, EngEphemeris::haveSubframe, and EngEphemeris::orbit. Referenced by MinSfTest::process(), Rinex3NavData::Rinex3NavData(), and RinexNavData::RinexNavData(). |
|
|
This function returns the SV clock error in seconds.
Definition at line 693 of file EngEphemeris.cpp. References EngEphemeris::bcClock, BrcClockCorrection::getAf0(), GPSTK_THROW, and EngEphemeris::haveSubframe. Referenced by FICData9::FICData9(), Rinex3NavData::Rinex3NavData(), and RinexNavData::RinexNavData(). |
|
|
This function returns the SV clock drift in seconds/seconds.
Definition at line 704 of file EngEphemeris.cpp. References EngEphemeris::bcClock, BrcClockCorrection::getAf1(), GPSTK_THROW, and EngEphemeris::haveSubframe. Referenced by FICData9::FICData9(), Rinex3NavData::Rinex3NavData(), and RinexNavData::RinexNavData(). |
|
|
This function returns the SV clock rate of change of the drift in seconds/(seconds*seconds).
Definition at line 715 of file EngEphemeris.cpp. References EngEphemeris::bcClock, BrcClockCorrection::getAf2(), GPSTK_THROW, and EngEphemeris::haveSubframe. Referenced by FICData9::FICData9(), Rinex3NavData::Rinex3NavData(), and RinexNavData::RinexNavData(). |
|
|
This function returns the value of the square root of the semi-major axis in square root of meters.
Definition at line 847 of file EngEphemeris.cpp. References BrcKeplerOrbit::getAhalf(), GPSTK_THROW, EngEphemeris::haveSubframe, and EngEphemeris::orbit. Referenced by FICData9::FICData9(), Rinex3NavData::Rinex3NavData(), and RinexNavData::RinexNavData(). |
|
|
This function return the AODO for the ephemeris.
Definition at line 671 of file EngEphemeris.cpp. References GPSTK_THROW, and EngEphemeris::haveSubframe. |
|
|
This function returns the A-S alert flag for either subframe 1 or 2 or 3.
Definition at line 571 of file EngEphemeris.cpp. References GPSTK_THROW. Referenced by FICData9::firstFiveItems(). |
|
|
This function returns the value of the cosine inclination harmonic perturbation in radians.
Definition at line 792 of file EngEphemeris.cpp. References BrcKeplerOrbit::getCic(), GPSTK_THROW, EngEphemeris::haveSubframe, and EngEphemeris::orbit. Referenced by FICData9::FICData9(), Rinex3NavData::Rinex3NavData(), and RinexNavData::RinexNavData(). |
|
|
This function returns the value of the sine inclination harmonic perturbation in radians.
Definition at line 759 of file EngEphemeris.cpp. References BrcKeplerOrbit::getCis(), GPSTK_THROW, EngEphemeris::haveSubframe, and EngEphemeris::orbit. Referenced by FICData9::FICData9(), Rinex3NavData::Rinex3NavData(), and RinexNavData::RinexNavData(). |
|
|
Definition at line 522 of file EngEphemeris.cpp. References EngEphemeris::bcClock, GPSTK_THROW, and BrcClockCorrection::hasData(). |
|
|
This function returns the values of the L2 codes.
Definition at line 594 of file EngEphemeris.cpp. References GPSTK_THROW, and EngEphemeris::haveSubframe. Referenced by FICData9::FICData9(), MinSfTest::process(), Rinex3NavData::Rinex3NavData(), and RinexNavData::RinexNavData(). |
|
|
This function returns the value of the cosine radius harmonic perturbation in meters.
Definition at line 770 of file EngEphemeris.cpp. References BrcKeplerOrbit::getCrc(), GPSTK_THROW, EngEphemeris::haveSubframe, and EngEphemeris::orbit. Referenced by FICData9::FICData9(), Rinex3NavData::Rinex3NavData(), and RinexNavData::RinexNavData(). |
|
|
This function returns the value of the sine radius harmonic perturbation in meters.
Definition at line 748 of file EngEphemeris.cpp. References BrcKeplerOrbit::getCrs(), GPSTK_THROW, EngEphemeris::haveSubframe, and EngEphemeris::orbit. Referenced by FICData9::FICData9(), Rinex3NavData::Rinex3NavData(), and RinexNavData::RinexNavData(). |
|
|
This function returns the value of the cosine latitude harmonic perturbation in radians.
Definition at line 781 of file EngEphemeris.cpp. References BrcKeplerOrbit::getCuc(), GPSTK_THROW, EngEphemeris::haveSubframe, and EngEphemeris::orbit. Referenced by FICData9::FICData9(), Rinex3NavData::Rinex3NavData(), and RinexNavData::RinexNavData(). |
|
|
This function returns the value of the sine latitude harmonic perturbation in radians.
Definition at line 737 of file EngEphemeris.cpp. References BrcKeplerOrbit::getCus(), GPSTK_THROW, EngEphemeris::haveSubframe, and EngEphemeris::orbit. Referenced by FICData9::FICData9(), Rinex3NavData::Rinex3NavData(), and RinexNavData::RinexNavData(). |
|
|
This function returns the value of the correction to the mean motion in radians/second.
Definition at line 825 of file EngEphemeris.cpp. References BrcKeplerOrbit::getDn(), GPSTK_THROW, EngEphemeris::haveSubframe, and EngEphemeris::orbit. Referenced by FICData9::FICData9(), Rinex3NavData::Rinex3NavData(), and RinexNavData::RinexNavData(). |
|
|
This function returns the value of the eccentricity.
Definition at line 836 of file EngEphemeris.cpp. References BrcKeplerOrbit::getEcc(), GPSTK_THROW, EngEphemeris::haveSubframe, and EngEphemeris::orbit. Referenced by FICData9::FICData9(), Rinex3NavData::Rinex3NavData(), and RinexNavData::RinexNavData(). |
|
|
EXvtracts the epoch time from this ephemeris, correcting for half weeks and HOW time.
Definition at line 505 of file EngEphemeris.cpp. References BrcKeplerOrbit::getOrbitEpoch(), and EngEphemeris::orbit. Referenced by GPSEphemerisStore::addEphemeris(). |
|
|
This function returns the value of the ephemeris key that is used to sort the ephemerides when they are stored in the bcetable.
|
|
|
EXvtracts the epoch time (time of clock) from this ephemeris, correcting for half weeks and HOW time.
Definition at line 499 of file EngEphemeris.cpp. References EngEphemeris::bcClock, and BrcClockCorrection::getEpochTime(). Referenced by MinSfTest::process(), Rinex3NavData::Rinex3NavData(), and RinexNavData::RinexNavData(). |
|
|
This function returns the value of the fit interval flag.
Definition at line 924 of file EngEphemeris.cpp. References GPSTK_THROW, and EngEphemeris::haveSubframe. Referenced by FICData9::FICData9(), EngEphemeris::getFitInterval(), and MinSfTest::process(). |
|
|
This is for Block II/IIA Need update for Block IIR and IIF. This fit interval is (typically) centered around the Toe (time of ephemeris) for the ephemeris. See IS-GPS-200 section 20.3.4.4, Table 20-XIA and section 20.3.3.4.3.1 for more information.
Definition at line 352 of file EngEphemeris.cpp. References EngEphemeris::getFitInt(), and EngEphemeris::getIODC(). Referenced by GPSEphemerisStore::findNearEphemeris(), GPSEphemerisStore::findUserEphemeris(), MinSfTest::process(), Rinex3NavData::Rinex3NavData(), and RinexNavData::RinexNavData(). |
|
|
This function return the GPS week number for the ephemeris. this is the full GPS week (ie > 10 bits). Definition at line 583 of file EngEphemeris.cpp. References GPSTK_THROW, and EngEphemeris::haveSubframe. Referenced by EngEphemeris::getTransmitTime(), Rinex3NavData::Rinex3NavData(), and RinexNavData::RinexNavData(). |
|
|
This function returns the value of the SV health flag.
Definition at line 627 of file EngEphemeris.cpp. References GPSTK_THROW, and EngEphemeris::haveSubframe. Referenced by FICData9::FICData9(), GPSEphemerisStore::getSatHealth(), MinSfTest::process(), Rinex3NavData::Rinex3NavData(), and RinexNavData::RinexNavData(). |
|
|
This function returns the time of the HOW in subframe 1 or 2 or 3 in seconds of week.
Definition at line 555 of file EngEphemeris.cpp. References GPSTK_THROW. Referenced by GPSEphemerisStore::dump(), FICData9::firstFiveItems(), EngEphemeris::getTot(), Rinex3NavData::Rinex3NavData(), and RinexNavData::RinexNavData(). |
|
|
This function returns the value of the inclination in radians.
Definition at line 880 of file EngEphemeris.cpp. References BrcKeplerOrbit::getI0(), GPSTK_THROW, EngEphemeris::haveSubframe, and EngEphemeris::orbit. Referenced by FICData9::FICData9(), Rinex3NavData::Rinex3NavData(), and RinexNavData::RinexNavData(). |
|
|
This function returns the value of the rate of the inclination in radians/second.
Definition at line 913 of file EngEphemeris.cpp. References BrcKeplerOrbit::getIDot(), GPSTK_THROW, EngEphemeris::haveSubframe, and EngEphemeris::orbit. Referenced by FICData9::FICData9(), Rinex3NavData::Rinex3NavData(), and RinexNavData::RinexNavData(). |
|
|
This function returns the IODC for the given PRN.
Definition at line 649 of file EngEphemeris.cpp. References GPSTK_THROW, and EngEphemeris::haveSubframe. Referenced by FICData9::FICData9(), EngEphemeris::getFitInterval(), GPSEphemerisStore::getXvt(), MinSfTest::process(), Rinex3NavData::Rinex3NavData(), and RinexNavData::RinexNavData(). |
|
|
This function return the IODE for the ephemeris.
Definition at line 660 of file EngEphemeris.cpp. References GPSTK_THROW, and EngEphemeris::haveSubframe. Referenced by FICData9::FICData9(), MinSfTest::process(), Rinex3NavData::Rinex3NavData(), and RinexNavData::RinexNavData(). |
|
|
This function returns the value of the L2 P-code data flag.
Definition at line 638 of file EngEphemeris.cpp. References GPSTK_THROW, and EngEphemeris::haveSubframe. Referenced by FICData9::FICData9(), MinSfTest::process(), Rinex3NavData::Rinex3NavData(), and RinexNavData::RinexNavData(). |
|
|
This function returns the value of the mean anomaly in radians.
Definition at line 814 of file EngEphemeris.cpp. References BrcKeplerOrbit::getM0(), GPSTK_THROW, EngEphemeris::haveSubframe, and EngEphemeris::orbit. Referenced by FICData9::FICData9(), Rinex3NavData::Rinex3NavData(), and RinexNavData::RinexNavData(). |
|
|
This function returns the value of the right ascension of the ascending node in radians.
Definition at line 869 of file EngEphemeris.cpp. References BrcKeplerOrbit::getOmega0(), GPSTK_THROW, EngEphemeris::haveSubframe, and EngEphemeris::orbit. Referenced by FICData9::FICData9(), Rinex3NavData::Rinex3NavData(), and RinexNavData::RinexNavData(). |
|
|
This function returns the value of the rate of the right ascension of the ascending node in radians/second.
Definition at line 902 of file EngEphemeris.cpp. References BrcKeplerOrbit::getOmegaDot(), GPSTK_THROW, EngEphemeris::haveSubframe, and EngEphemeris::orbit. Referenced by FICData9::FICData9(), Rinex3NavData::Rinex3NavData(), and RinexNavData::RinexNavData(). |
|
|
Definition at line 511 of file EngEphemeris.cpp. References GPSTK_THROW, BrcKeplerOrbit::hasData(), and EngEphemeris::orbit. |
|
|
This function returns the PRN ID of the SV.
Definition at line 533 of file EngEphemeris.cpp. References GPSTK_THROW, and EngEphemeris::haveSubframe. Referenced by FICData9::FICData9(), Rinex3NavData::Rinex3NavData(), and RinexNavData::RinexNavData(). |
|
|
This functions returns the GNSS type (satellite system code).
Definition at line 234 of file EngEphemeris.hpp. Referenced by Rinex3NavData::Rinex3NavData(). |
|
|
This function returns the value of the group delay differential in seconds.
Definition at line 726 of file EngEphemeris.cpp. References GPSTK_THROW, and EngEphemeris::haveSubframe. Referenced by FICData9::FICData9(), ModelObsFixedStation::getTGDCorrections(), ModeledReferencePR::getTGDCorrections(), BasicModel::getTGDCorrections(), Rinex3NavData::Rinex3NavData(), and RinexNavData::RinexNavData(). |
|
|
used for template functions
Definition at line 229 of file EngEphemeris.hpp. |
|
|
Return the lower 16 bits of the TLM word for the given subframe.
Definition at line 479 of file EngEphemeris.cpp. References GPSTK_THROW. Referenced by FICData9::firstFiveItems(). |
|
|
Return 0x8b, the upper 5 bits of the 22-bit TLM word.
Definition at line 206 of file EngEphemeris.hpp. |
|
|
This function returns the clock epoch in GPS seconds of week.
Definition at line 682 of file EngEphemeris.cpp. References EngEphemeris::bcClock, BrcClockCorrection::getToc(), GPSTK_THROW, and EngEphemeris::haveSubframe. Referenced by GPSEphemerisStore::dump(), FICData9::FICData9(), Rinex3NavData::Rinex3NavData(), and RinexNavData::RinexNavData(). |
|
|
This function returns the value of the time of ephemeris in GPS seconds of week.
Definition at line 803 of file EngEphemeris.cpp. References BrcKeplerOrbit::getToe(), GPSTK_THROW, EngEphemeris::haveSubframe, and EngEphemeris::orbit. Referenced by FICData9::FICData9(), Rinex3NavData::Rinex3NavData(), and RinexNavData::RinexNavData(). |
|
|
This function returnst the value of the Time of Transmit. Basically just the earliest of the HOWs. Definition at line 935 of file EngEphemeris.cpp. References EngEphemeris::getHOWTime(), GPSTK_THROW, EngEphemeris::haveSubframe, and gpstk::min(). Referenced by EngEphemeris::getTransmitTime(). |
|
|
This function returns the tracker number.
Definition at line 544 of file EngEphemeris.cpp. References GPSTK_THROW, and EngEphemeris::haveSubframe. Referenced by FICData9::FICData9(). |
|
|
EXvtracts the transmit time from the ephemeris using the Tot.
Definition at line 491 of file EngEphemeris.cpp. References EngEphemeris::getFullWeek(), and EngEphemeris::getTot(). Referenced by GPSEphemerisStore::addEphemeris(), FICData9::FICData9(), GPSEphemerisStore::findNearEphemeris(), GPSEphemerisStore::findUserEphemeris(), and MinSfTest::process(). |
|
|
This function returns the value of the argument of perigee in radians.
Definition at line 891 of file EngEphemeris.cpp. References BrcKeplerOrbit::getW(), GPSTK_THROW, EngEphemeris::haveSubframe, and EngEphemeris::orbit. Referenced by FICData9::FICData9(), Rinex3NavData::Rinex3NavData(), and RinexNavData::RinexNavData(). |
|
|
Query presence of subframe in this object.
Definition at line 323 of file EngEphemeris.cpp. References GPSTK_THROW. Referenced by gpstk::makeEngEphemeris(), and MinSfTest::process(). |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Set the values contained in SubFrame 1,2 and 3. Values contained in SubFrame 1.
Definition at line 969 of file EngEphemeris.cpp. References gpstk::getLegacyFitInterval(), BrcKeplerOrbit::loadData(), and gpstk::ura2accuracy(). |
|
|
Set the value of the SV accuracy (in meters). This is the only "set" method and is provided so that one can set the SV accuracy directly and thereby override the conversion of the SV accuracy flag to meters. This is usually used when entering data from some source other than an SV nav message.
Definition at line 336 of file EngEphemeris.cpp. References GPSTK_THROW. Referenced by RinexNavData::operator EngEphemeris(), and Rinex3NavData::operator EngEphemeris(). |
|
|
Definition at line 1243 of file EngEphemeris.cpp. References EngEphemeris::isFIC. Referenced by RinexNavData::operator EngEphemeris(). |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 1048 of file EngEphemeris.cpp. References BrcKeplerOrbit::loadData(). Referenced by RinexNavData::operator EngEphemeris(), and FICData::operator EngEphemeris(). |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 1093 of file EngEphemeris.cpp. References gpstk::getLegacyFitInterval(), GPSTK_THROW, and BrcKeplerOrbit::loadData(). Referenced by RinexNavData::operator EngEphemeris(), and FICData::operator EngEphemeris(). |
|
||||||||||||||||||||||||||||||||||||||||||||||||
|
|
Compute the satellite clock bias (sec) at the given time
Definition at line 467 of file EngEphemeris.cpp. |
|
|
Compute the satellite clock drift (sec/sec) at the given time
Definition at line 473 of file EngEphemeris.cpp. |
|
|
Compute satellite relativity correction (sec) at the given time
Definition at line 461 of file EngEphemeris.cpp. |
|
|
Compute satellite position & velocity at the given time using this ephemeris.
Definition at line 443 of file EngEphemeris.cpp. References Xvt::clkbias, Xvt::clkdrift, Xvt::relcorr, Xv::v, Xvt::v, Xv::x, and Xvt::x. Referenced by GPSEphemerisStore::getXvt(). |
|
||||||||||||||||
|
Each of the addSubframe( ) methods eventually calls unifiedConvert( ) in order to crack the raw subframe data into engineering units and load the orbit and clock objects.
Definition at line 210 of file EngEphemeris.cpp. References EngEphemeris::AODO, EngEphemeris::ASalert, EngEphemeris::bcClock, EngEphemeris::codeflags, EngEphemeris::fitint, gpstk::getLegacyFitInterval(), EngEphemeris::health, EngEphemeris::HOWtime, EngEphemeris::IODC, EngEphemeris::IODE, EngEphemeris::L2Pdata, BrcClockCorrection::loadData(), BrcKeplerOrbit::loadData(), EngEphemeris::orbit, EngEphemeris::PRNID, EngEphemeris::satSys, EngNav::subframeConvert(), EngEphemeris::subframeStore, EngEphemeris::Tgd, EngEphemeris::tlm_message, EngEphemeris::tracker, and EngEphemeris::weeknum. Referenced by EngEphemeris::addIncompleteSF1Thru3(). |
|
||||||||||||
|
|
|
|
Definition at line 565 of file EngEphemeris.hpp. |
|
|
Age of Data Offset for NMCT.
Definition at line 559 of file EngEphemeris.hpp. Referenced by EngEphemeris::unifiedConvert(). |
|
|
A-S and "alert" flags for each subframe. 2 bit quantity with A-S flag the high order bit and the alert flag low order bit Definition at line 551 of file EngEphemeris.hpp. Referenced by EngEphemeris::EngEphemeris(), Rinex3NavData::operator EngEphemeris(), and EngEphemeris::unifiedConvert(). |
|
|
Definition at line 576 of file EngEphemeris.hpp. Referenced by EngEphemeris::getAf0(), EngEphemeris::getAf1(), EngEphemeris::getAf2(), EngEphemeris::getClock(), EngEphemeris::getEpochTime(), EngEphemeris::getToc(), Rinex3NavData::operator EngEphemeris(), and EngEphemeris::unifiedConvert(). |
|
|
L2 codes.
Definition at line 554 of file EngEphemeris.hpp. Referenced by EngEphemeris::EngEphemeris(), Rinex3NavData::operator EngEphemeris(), and EngEphemeris::unifiedConvert(). |
|
|
Fit interval flag.
Definition at line 560 of file EngEphemeris.hpp. Referenced by EngEphemeris::EngEphemeris(), Rinex3NavData::operator EngEphemeris(), and EngEphemeris::unifiedConvert(). |
|
|
|
SV health.
Definition at line 555 of file EngEphemeris.hpp. Referenced by EngEphemeris::EngEphemeris(), Rinex3NavData::operator EngEphemeris(), and EngEphemeris::unifiedConvert(). |
|
|
Time of subframe 1-3 (sec of week).
Definition at line 550 of file EngEphemeris.hpp. Referenced by EngEphemeris::EngEphemeris(), Rinex3NavData::operator EngEphemeris(), and EngEphemeris::unifiedConvert(). |
|
|
Index of data-clock.
Definition at line 557 of file EngEphemeris.hpp. Referenced by EngEphemeris::EngEphemeris(), Rinex3NavData::operator EngEphemeris(), and EngEphemeris::unifiedConvert(). |
|
|
Index of data-eph.
Definition at line 558 of file EngEphemeris.hpp. Referenced by EngEphemeris::EngEphemeris(), Rinex3NavData::operator EngEphemeris(), and EngEphemeris::unifiedConvert(). |
|
|
Definition at line 542 of file EngEphemeris.hpp. Referenced by EngEphemeris::EngEphemeris(), and EngEphemeris::setFIC(). |
|
|
L2 P data flag.
Definition at line 556 of file EngEphemeris.hpp. Referenced by EngEphemeris::EngEphemeris(), Rinex3NavData::operator EngEphemeris(), and EngEphemeris::unifiedConvert(). |
|
|
|
SV PRN ID.
Definition at line 548 of file EngEphemeris.hpp. Referenced by EngEphemeris::EngEphemeris(), Rinex3NavData::operator EngEphemeris(), and EngEphemeris::unifiedConvert(). |
|
|
GNSS (satellite system).
Definition at line 547 of file EngEphemeris.hpp. Referenced by EngEphemeris::EngEphemeris(), Rinex3NavData::operator EngEphemeris(), and EngEphemeris::unifiedConvert(). |
|
|
Definition at line 540 of file EngEphemeris.hpp. Referenced by EngEphemeris::addIncompleteSF1Thru3(), EngEphemeris::EngEphemeris(), and EngEphemeris::unifiedConvert(). |
|
|
L1 and L2 correction term.
Definition at line 561 of file EngEphemeris.hpp. Referenced by EngEphemeris::EngEphemeris(), Rinex3NavData::operator EngEphemeris(), and EngEphemeris::unifiedConvert(). |
|
|
Definition at line 546 of file EngEphemeris.hpp. Referenced by EngEphemeris::EngEphemeris(), Rinex3NavData::operator EngEphemeris(), and EngEphemeris::unifiedConvert(). |
|
|
Tracker number.
Definition at line 549 of file EngEphemeris.hpp. Referenced by EngEphemeris::EngEphemeris(), Rinex3NavData::operator EngEphemeris(), and EngEphemeris::unifiedConvert(). |
|
|
GPS full week number that corresponds to the HOWtime of SF1.
Definition at line 553 of file EngEphemeris.hpp. Referenced by EngEphemeris::EngEphemeris(), Rinex3NavData::operator EngEphemeris(), and EngEphemeris::unifiedConvert(). |
1.3.9.1