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

Detailed Description

Class containing data elements unique to GPS CNAV2 ISC data.

Definition at line 50 of file GPSCNav2ISC.hpp.

#include <GPSCNav2ISC.hpp>

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

Public Member Functions

NavDataPtr clone () const override
 Create a deep copy of this object. More...
 
void dumpCorrections (std::ostream &s) const override
 
bool getISC (const ObsID &oid, double &corr) const override
 
bool getISC (const ObsID &oid1, const ObsID &oid2, double &corr) const override
 
CommonTime getUserTime () const override
 
 GPSCNav2ISC ()
 Sets the internal data members. More...
 
bool validate () const override
 
- Public Member Functions inherited from gnsstk::InterSigCorr
std::list< std::string > compare (const NavDataPtr &right) const override
 
void dump (std::ostream &s, DumpDetail dl) const override
 
 InterSigCorr ()
 Set message type to ISC. More...
 
bool isSameData (const NavDataPtr &right) const override
 
- 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
 
virtual CommonTime getNearTime () 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

bool haveSF2
 True if iscL1CP and iscL1CD are set. More...
 
bool haveSF3
 True if iscL1CA,iscL2C,iscL5I5,iscL5Q5 are set. More...
 
double iscL1CA
 Intersignal corrections for L1 C/A. More...
 
double iscL1CD
 Intersignal corrections for L1 CD. More...
 
double iscL1CP
 Intersignal corrections for L1 CP. More...
 
double iscL2C
 Intersignal corrections for L2C. More...
 
double iscL5I5
 Intersignal corrections for L5 in-phase. More...
 
double iscL5Q5
 Intersignal corrections for L5 quadrature. More...
 
CommonTime xmit2
 Transmit time of subframe 2. More...
 
CommonTime xmit3
 Transmit time of subframe 3. More...
 
- Public Attributes inherited from gnsstk::InterSigCorr
double isc
 
std::string iscLabel
 
- Public Attributes inherited from gnsstk::NavData
NavMessageID signal
 Source signal identification for this navigation message data. More...
 
CommonTime timeStamp
 
std::string weekFmt
 

Additional Inherited Members

- Static Public Member Functions inherited from gnsstk::InterSigCorr
static double getGPSISC (const PackedNavBitsPtr &navIn, unsigned startBit)
 
- 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::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::InterSigCorr
std::set< ObsIDrefOids
 
std::set< ObsIDvalidOids
 
- Protected Attributes inherited from gnsstk::NavData
double msgLenSec
 

Constructor & Destructor Documentation

◆ GPSCNav2ISC()

gnsstk::GPSCNav2ISC::GPSCNav2ISC ( )

Sets the internal data members.

Definition at line 47 of file GPSCNav2ISC.cpp.

Member Function Documentation

◆ clone()

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

Create a deep copy of this object.

Implements gnsstk::NavData.

Definition at line 56 of file GPSCNav2ISC.hpp.

◆ dumpCorrections()

void gnsstk::GPSCNav2ISC::dumpCorrections ( std::ostream &  s) const
overridevirtual

Print the actual corrections provided by this object in a human-readable format. Typically called by dump().

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

Reimplemented from gnsstk::InterSigCorr.

Definition at line 62 of file GPSCNav2ISC.cpp.

◆ getISC() [1/2]

bool gnsstk::GPSCNav2ISC::getISC ( const ObsID oid,
double &  corr 
) const
overridevirtual

Get inter-signal corrections for the single-frequency user.

Parameters
[in]oidThe carrier band and tracking code of the signal to get the correction for.
[out]corrThe correction in seconds for the given band/code.
Returns
true If band/code are valid for this object and corr was set according to available data.

Reimplemented from gnsstk::InterSigCorr.

Definition at line 98 of file GPSCNav2ISC.cpp.

◆ getISC() [2/2]

bool gnsstk::GPSCNav2ISC::getISC ( const ObsID oid1,
const ObsID oid2,
double &  corr 
) const
overridevirtual

Get inter-signal corrections for the dual-frequency user.

Parameters
[in]oid1The carrier band/tracking code of the primary signal that was used to create a dual-frequency, iono-free combined pseudorange.
[in]oid2The carrier band/tracking code of the secondary signal to get the correction for.
[out]corrThe correction in seconds for the given band/code pair.
Returns
true If bands/codes are valid for this object and corr was set according to available data.

Reimplemented from gnsstk::InterSigCorr.

Definition at line 145 of file GPSCNav2ISC.cpp.

◆ getUserTime()

CommonTime gnsstk::GPSCNav2ISC::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 of subframe 2 + 12s or transmit time of subframe 3 + 5.48s, whichever is more recent.

Reimplemented from gnsstk::NavData.

Definition at line 81 of file GPSCNav2ISC.cpp.

◆ validate()

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

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

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

Implements gnsstk::NavData.

Definition at line 90 of file GPSCNav2ISC.cpp.

Member Data Documentation

◆ haveSF2

bool gnsstk::GPSCNav2ISC::haveSF2

True if iscL1CP and iscL1CD are set.

Todo:
deal with the fact that there are two subframes in this, i.e. implement a proper getUserTime() method

Definition at line 104 of file GPSCNav2ISC.hpp.

◆ haveSF3

bool gnsstk::GPSCNav2ISC::haveSF3

True if iscL1CA,iscL2C,iscL5I5,iscL5Q5 are set.

Definition at line 105 of file GPSCNav2ISC.hpp.

◆ iscL1CA

double gnsstk::GPSCNav2ISC::iscL1CA

Intersignal corrections for L1 C/A.

Definition at line 110 of file GPSCNav2ISC.hpp.

◆ iscL1CD

double gnsstk::GPSCNav2ISC::iscL1CD

Intersignal corrections for L1 CD.

Definition at line 109 of file GPSCNav2ISC.hpp.

◆ iscL1CP

double gnsstk::GPSCNav2ISC::iscL1CP

Intersignal corrections for L1 CP.

Definition at line 108 of file GPSCNav2ISC.hpp.

◆ iscL2C

double gnsstk::GPSCNav2ISC::iscL2C

Intersignal corrections for L2C.

Definition at line 111 of file GPSCNav2ISC.hpp.

◆ iscL5I5

double gnsstk::GPSCNav2ISC::iscL5I5

Intersignal corrections for L5 in-phase.

Definition at line 112 of file GPSCNav2ISC.hpp.

◆ iscL5Q5

double gnsstk::GPSCNav2ISC::iscL5Q5

Intersignal corrections for L5 quadrature.

Definition at line 113 of file GPSCNav2ISC.hpp.

◆ xmit2

CommonTime gnsstk::GPSCNav2ISC::xmit2

Transmit time of subframe 2.

Definition at line 106 of file GPSCNav2ISC.hpp.

◆ xmit3

CommonTime gnsstk::GPSCNav2ISC::xmit3

Transmit time of subframe 3.

Definition at line 107 of file GPSCNav2ISC.hpp.


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


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