Public Member Functions | Public Attributes | Static Public Attributes | List of all members
gnsstk::GPSCNav2Eph Class Reference

Detailed Description

Class containing data elements unique to GPS CNav2 ephemerides.

Definition at line 51 of file GPSCNav2Eph.hpp.

#include <GPSCNav2Eph.hpp>

Inheritance diagram for gnsstk::GPSCNav2Eph:
Inheritance graph
[legend]

Public Member Functions

NavDataPtr clone () const override
 Create a deep copy of this object. More...
 
void dumpSVStatus (std::ostream &s) const override
 
void fixFit ()
 
 GPSCNav2Eph ()
 Sets the nav message type and all other data members to 0. More...
 
bool validate () const override
 
- Public Member Functions inherited from gnsstk::OrbitDataGPS
bool getXvt (const CommonTime &when, Xvt &xvt, const ObsID &oid=ObsID()) override
 
 OrbitDataGPS ()
 
double svRelativity (const CommonTime &when) const override
 
- Public Member Functions inherited from gnsstk::OrbitDataKepler
std::list< std::string > compare (const NavDataPtr &right) const override
 
void dump (std::ostream &s, DumpDetail dl) const override
 
virtual void dumpClock (std::ostream &s) const
 
virtual void dumpHarmonics (std::ostream &s) const
 
virtual void dumpOrbit (std::ostream &s) const
 
virtual std::string getDataType () const
 
CommonTime getNearTime () const override
 
bool getXvt (const CommonTime &when, const EllipsoidModel &ell, Xvt &xvt, const ObsID &oid=ObsID())
 
bool isSameData (const NavDataPtr &right) const override
 
 OrbitDataKepler ()
 Initialize all data members to 0. More...
 
double svClockBias (const CommonTime &when) const
 
double svClockDrift (const CommonTime &when) const
 
virtual double svRelativity (const CommonTime &when, const EllipsoidModel &ell) const
 
- Public Member Functions inherited from gnsstk::NavData
virtual std::string getClassName () const
 
std::string getDumpTime (DumpDetail dl, const CommonTime &t) const
 
std::string getDumpTimeHdr (DumpDetail dl) const
 
std::string getSignalString () const
 
bool getSVN (const SatID &sat, const gnsstk::CommonTime &when, std::string &svn) const
 
virtual CommonTime getUserTime () const
 
 NavData ()
 Initialize internal data fields. More...
 

Public Attributes

double deltaA
 Semi-major axis relative to reference (Aref). More...
 
double dOMEGAdot
 Rate of right ascension relative to -2.6e-9*pi. More...
 
bool healthL1C
 L1C signal health. More...
 
bool integStat
 Integrity status flag. More...
 
double iscL1CD
 Inter-signal correction for L1CD. More...
 
double iscL1CP
 Inter-signal correction for L1CP. More...
 
uint8_t itow
 
double tgd
 Ionospheric group delay in seconds. NaN=invalid. More...
 
CommonTime top
 Time of prediction. More...
 
int8_t uraED
 5-bit URA index from message type 10. More...
 
int8_t uraNED0
 non-elevation dependent URA from clock message. More...
 
uint8_t uraNED1
 non-elevation dependent URA from clock message. More...
 
uint8_t uraNED2
 non-elevation dependent URA from clock message. More...
 
- Public Attributes inherited from gnsstk::OrbitDataKepler
double A
 Semi-major axis (m) More...
 
double Adot
 Rate of semi-major axis (m/sec) More...
 
double af0
 SV clock error (sec) More...
 
double af1
 SV clock drift (sec/sec) More...
 
double af2
 SV clock drift rate (sec/sec**2) More...
 
double Ahalf
 Square Root of semi-major axis (m**.5) More...
 
double Cic
 Cosine inclination (rad) More...
 
double Cis
 Sine inclination (rad) More...
 
double Crc
 Cosine radius (m) More...
 
double Crs
 Sine radius (m) More...
 
double Cuc
 Cosine latitude (rad) More...
 
double Cus
 Sine latitude (rad) More...
 
double dn
 Correction to mean motion (rad/sec) More...
 
double dndot
 Rate of correction to mean motion (rad/sec/sec) More...
 
double ecc
 Eccentricity. More...
 
RefFrameSys frame
 
SVHealth health
 SV health status. More...
 
double i0
 Inclination (rad) More...
 
double idot
 Rate of inclination angle (rad/sec) More...
 
double M0
 Mean anomaly (rad) More...
 
double OMEGA0
 Longitude of ascending node at weekly epoch (rad) More...
 
double OMEGAdot
 Rate of Rt ascension (rad/sec) More...
 
CommonTime Toc
 Clock epoch. More...
 
CommonTime Toe
 Orbit epoch. More...
 
double w
 Argument of perigee (rad) More...
 
CommonTime xmitTime
 Time of transmission of the start of the data. More...
 
- Public Attributes inherited from gnsstk::NavData
NavMessageID signal
 Source signal identification for this navigation message data. More...
 
CommonTime timeStamp
 
std::string weekFmt
 
- Public Attributes inherited from gnsstk::NavFit
CommonTime beginFit
 Time at beginning of fit interval. More...
 
CommonTime endFit
 Time at end of fit interval. More...
 

Static Public Attributes

static const GNSSTK_EXPORT double refAGPS = 26559710
 Aref value defined in IS-GPS-800 (meters). More...
 
static const GNSSTK_EXPORT double refAQZSS = 42164200
 Aref value defined in IS-QZSS-PNT-004 (meters). More...
 
static const GNSSTK_EXPORT double refOMEGAdotGPS = -2.6e-9 * PI
 OMEGA dot reference value defined in IS-GPS-800 (radians). More...
 
static const GNSSTK_EXPORT double refOMEGAdotQZSS = -2.6e-9 * PI
 OMEGA dot reference value defined in IS-QZSS-PNT-004 (radians). More...
 
- Static Public Attributes inherited from gnsstk::OrbitDataKepler
static const size_t fw = 16
 Field width of floating point numbers (precision + 8). More...
 
static const size_t precision = 8
 Precision used when printing floating point numbers. More...
 
- Static Public Attributes inherited from gnsstk::NavData
static const GNSSTK_EXPORT std::string dumpTimeFmt
 Time format used for the dump method (Full). More...
 
static const GNSSTK_EXPORT std::string dumpTimeFmtBrief
 Time format used for the dump method (Brief). More...
 
static GNSSTK_EXPORT gnsstk::SatMetaDataStoresatMetaDataStore = nullptr
 Set this to a valid store to get PRN->SVN translations in dump(). More...
 

Additional Inherited Members

- Static Public Member Functions inherited from gnsstk::NavData
static gnsstk::SatMetaDataStoregetSatMetaDataStore ()
 Accessor for python. More...
 
static void setSatMetaDataStore (gnsstk::SatMetaDataStore *smds)
 Accessor for python. More...
 
- Protected Attributes inherited from gnsstk::NavData
double msgLenSec
 

Constructor & Destructor Documentation

◆ GPSCNav2Eph()

gnsstk::GPSCNav2Eph::GPSCNav2Eph ( )

Sets the nav message type and all other data members to 0.

Definition at line 53 of file GPSCNav2Eph.cpp.

Member Function Documentation

◆ clone()

NavDataPtr gnsstk::GPSCNav2Eph::clone ( ) const
inlineoverridevirtual

Create a deep copy of this object.

Implements gnsstk::NavData.

Definition at line 66 of file GPSCNav2Eph.hpp.

◆ dumpSVStatus()

void gnsstk::GPSCNav2Eph::dumpSVStatus ( std::ostream &  s) const
overridevirtual

Dump SV status information (e.g. health).

Parameters
[in,out]sThe stream to write the data to.

Reimplemented from gnsstk::OrbitDataKepler.

Definition at line 118 of file GPSCNav2Eph.cpp.

◆ fixFit()

void gnsstk::GPSCNav2Eph::fixFit ( )

Fill the beginFit and endFit values for this object.

Precondition
xmitTime, xmit11, xmitClk, Toe must all be set.
Todo:
replace all these magic numbers with named constants or enums, with sensible names, not "NINTY_MINUTES" [sic]

Definition at line 81 of file GPSCNav2Eph.cpp.

◆ validate()

bool gnsstk::GPSCNav2Eph::validate ( ) const
overridevirtual

Checks the contents of this message against known validity rules as defined in the appropriate ICD.

Todo:
implement some checking.
Returns
true if this message is valid according to ICD criteria.
Todo:
implement some checks.

Implements gnsstk::NavData.

Definition at line 73 of file GPSCNav2Eph.cpp.

Member Data Documentation

◆ deltaA

double gnsstk::GPSCNav2Eph::deltaA

Semi-major axis relative to reference (Aref).

Definition at line 92 of file GPSCNav2Eph.hpp.

◆ dOMEGAdot

double gnsstk::GPSCNav2Eph::dOMEGAdot

Rate of right ascension relative to -2.6e-9*pi.

Definition at line 93 of file GPSCNav2Eph.hpp.

◆ healthL1C

bool gnsstk::GPSCNav2Eph::healthL1C

L1C signal health.

Note
The health flags are true if unhealthy.

Definition at line 86 of file GPSCNav2Eph.hpp.

◆ integStat

bool gnsstk::GPSCNav2Eph::integStat

Integrity status flag.

Definition at line 91 of file GPSCNav2Eph.hpp.

◆ iscL1CD

double gnsstk::GPSCNav2Eph::iscL1CD

Inter-signal correction for L1CD.

Definition at line 97 of file GPSCNav2Eph.hpp.

◆ iscL1CP

double gnsstk::GPSCNav2Eph::iscL1CP

Inter-signal correction for L1CP.

Definition at line 96 of file GPSCNav2Eph.hpp.

◆ itow

uint8_t gnsstk::GPSCNav2Eph::itow

Interval time of week.

Definition at line 84 of file GPSCNav2Eph.hpp.

◆ refAGPS

const double gnsstk::GPSCNav2Eph::refAGPS = 26559710
static

Aref value defined in IS-GPS-800 (meters).

Definition at line 55 of file GPSCNav2Eph.hpp.

◆ refAQZSS

const double gnsstk::GPSCNav2Eph::refAQZSS = 42164200
static

Aref value defined in IS-QZSS-PNT-004 (meters).

Definition at line 59 of file GPSCNav2Eph.hpp.

◆ refOMEGAdotGPS

const double gnsstk::GPSCNav2Eph::refOMEGAdotGPS = -2.6e-9 * PI
static

OMEGA dot reference value defined in IS-GPS-800 (radians).

Definition at line 57 of file GPSCNav2Eph.hpp.

◆ refOMEGAdotQZSS

const double gnsstk::GPSCNav2Eph::refOMEGAdotQZSS = -2.6e-9 * PI
static

OMEGA dot reference value defined in IS-QZSS-PNT-004 (radians).

Definition at line 61 of file GPSCNav2Eph.hpp.

◆ tgd

double gnsstk::GPSCNav2Eph::tgd

Ionospheric group delay in seconds. NaN=invalid.

Definition at line 95 of file GPSCNav2Eph.hpp.

◆ top

CommonTime gnsstk::GPSCNav2Eph::top

Time of prediction.

Definition at line 94 of file GPSCNav2Eph.hpp.

◆ uraED

int8_t gnsstk::GPSCNav2Eph::uraED

5-bit URA index from message type 10.

Definition at line 87 of file GPSCNav2Eph.hpp.

◆ uraNED0

int8_t gnsstk::GPSCNav2Eph::uraNED0

non-elevation dependent URA from clock message.

Definition at line 88 of file GPSCNav2Eph.hpp.

◆ uraNED1

uint8_t gnsstk::GPSCNav2Eph::uraNED1

non-elevation dependent URA from clock message.

Definition at line 89 of file GPSCNav2Eph.hpp.

◆ uraNED2

uint8_t gnsstk::GPSCNav2Eph::uraNED2

non-elevation dependent URA from clock message.

Definition at line 90 of file GPSCNav2Eph.hpp.


The documentation for this class was generated from the following files:


gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:44