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

Detailed Description

Class containing data elements unique to GPS CNav midi almanac.

Definition at line 50 of file GPSCNavAlm.hpp.

#include <GPSCNavAlm.hpp>

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

Public Member Functions

NavDataPtr clone () const override
 Create a deep copy of this object. More...
 
void dumpHarmonics (std::ostream &s) const override
 
void fixFit ()
 Fill the beginFit and endFit values for this object. More...
 
CommonTime getUserTime () const override
 
 GPSCNavAlm ()
 Sets the nav message type. More...
 
bool validate () const override
 
- Public Member Functions inherited from gnsstk::GPSCNavData
 GPSCNavData ()
 Initialize data members. 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 dumpOrbit (std::ostream &s) const
 
virtual void dumpSVStatus (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
 
 NavData ()
 Initialize internal data fields. More...
 

Public Attributes

double deltai
 Inclination in rad relative to 0.3*pi rad. More...
 
bool healthL1
 L1 signal health from message type 10. More...
 
bool healthL2
 L2 signal health from message type 10. More...
 
bool healthL5
 L5 signal health from message type 10. More...
 
double toa
 Convenience storage of unqualified toa. More...
 
unsigned wna
 Reference week for toa. More...
 
- Public Attributes inherited from gnsstk::GPSCNavData
bool alert
 Alert flag. More...
 
uint32_t pre
 The preamble from the start of the subframe. 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...
 

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...
 
- Static Public Attributes inherited from gnsstk::GPSCNavData
static const GNSSTK_EXPORT double refAGPS = 26559710
 
static const GNSSTK_EXPORT double refAQZSS = 42164200
 
static const GNSSTK_EXPORT double refdeltaiGPS = 0.0056 * PI
 
static const GNSSTK_EXPORT double refdeltaiQZSS = 0.0056 * PI
 
static const GNSSTK_EXPORT double refEccGPS = 0
 
static const GNSSTK_EXPORT double refEccQZSS = 0.075
 
static const GNSSTK_EXPORT double refi0GPS = 0.3 * PI
 
static const GNSSTK_EXPORT double refi0QZSS = 0.25 * PI
 
static const GNSSTK_EXPORT double refOMEGAdotEphGPS = -2.6e-9 * PI
 
static const GNSSTK_EXPORT double refOMEGAdotEphQZSS = -2.6e-9 * PI
 Ephemeris OMEGA dot reference value for QZSS (radians). More...
 
static const GNSSTK_EXPORT double refOMEGAdotRedAlmGPS = -2.6e-9 * PI
 
static const GNSSTK_EXPORT double refOMEGAdotRedAlmQZSS = -8.7e-10 * PI
 Reduced almanac OMEGA dot reference value for QZSS (radians). More...
 
static const GNSSTK_EXPORT double refwGPS = 0
 Argument of perigee reference value (radians, guessed at). More...
 
static const GNSSTK_EXPORT double refwQZSS = 2.0 * PI * 270.0 / 360.0
 Argument of perigee reference value in IS-QZSS (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...
 
- Protected Attributes inherited from gnsstk::NavData
double msgLenSec
 

Constructor & Destructor Documentation

◆ GPSCNavAlm()

gnsstk::GPSCNavAlm::GPSCNavAlm ( )

Sets the nav message type.

Definition at line 46 of file GPSCNavAlm.cpp.

Member Function Documentation

◆ clone()

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

Create a deep copy of this object.

Implements gnsstk::NavData.

Reimplemented in gnsstk::GPSCNavRedAlm.

Definition at line 56 of file GPSCNavAlm.hpp.

◆ dumpHarmonics()

void gnsstk::GPSCNavAlm::dumpHarmonics ( std::ostream &  s) const
inlineoverridevirtual

Override dumpHarmonics to hide them in output since GPS CNav almanacs don't contain this data.

Reimplemented from gnsstk::OrbitDataKepler.

Definition at line 78 of file GPSCNavAlm.hpp.

◆ fixFit()

void gnsstk::GPSCNavAlm::fixFit ( )

Fill the beginFit and endFit values for this object.

Todo:
Determine a more reasonable set of values. This was copied from OrbAlmExt.

Definition at line 75 of file GPSCNavAlm.cpp.

◆ getUserTime()

CommonTime gnsstk::GPSCNavAlm::getUserTime ( ) const
overridevirtual

Returns the time when the navigation message would have first been available to the user equipment, i.e. the time at which the final bit of a given broadcast navigation message is received. This is used by NavDataFactoryWithStore::find() in User mode.

Returns
transmit time + 12s or 6s, depending on whether this is CNAV on L5 or on L2.

Reimplemented from gnsstk::NavData.

Definition at line 66 of file GPSCNavAlm.cpp.

◆ validate()

bool gnsstk::GPSCNavAlm::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.

Implements gnsstk::NavData.

Reimplemented in gnsstk::GPSCNavRedAlm.

Definition at line 59 of file GPSCNavAlm.cpp.

Member Data Documentation

◆ deltai

double gnsstk::GPSCNavAlm::deltai

Inclination in rad relative to 0.3*pi rad.

Definition at line 88 of file GPSCNavAlm.hpp.

◆ healthL1

bool gnsstk::GPSCNavAlm::healthL1

L1 signal health from message type 10.

Note
The health flags are true if unhealthy.

Definition at line 85 of file GPSCNavAlm.hpp.

◆ healthL2

bool gnsstk::GPSCNavAlm::healthL2

L2 signal health from message type 10.

Definition at line 86 of file GPSCNavAlm.hpp.

◆ healthL5

bool gnsstk::GPSCNavAlm::healthL5

L5 signal health from message type 10.

Definition at line 87 of file GPSCNavAlm.hpp.

◆ toa

double gnsstk::GPSCNavAlm::toa

Convenience storage of unqualified toa.

Definition at line 90 of file GPSCNavAlm.hpp.

◆ wna

unsigned gnsstk::GPSCNavAlm::wna

Reference week for toa.

Definition at line 89 of file GPSCNavAlm.hpp.


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


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