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

Detailed Description

Class containing data elements unique to BeiDou D1 almanac pages.

Definition at line 50 of file BDSD1NavAlm.hpp.

#include <BDSD1NavAlm.hpp>

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

Public Member Functions

 BDSD1NavAlm ()
 Sets the nav message type. More...
 
NavDataPtr clone () const override
 Create a deep copy of this object. More...
 
void dumpHarmonics (std::ostream &s) const override
 
void dumpSVStatus (std::ostream &s) const override
 
void fixFit ()
 Fill the beginFit and endFit values for this object. More...
 
bool validate () const override
 
- Public Member Functions inherited from gnsstk::BDSD1NavData
 BDSD1NavData ()
 Initialize data members. More...
 
bool validate () const override
 
- Public Member Functions inherited from gnsstk::OrbitDataBDS
bool getXvt (const CommonTime &when, Xvt &xvt, const ObsID &oid=ObsID()) override
 
 OrbitDataBDS ()
 
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 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 deltai
 Inclination in rad relative to 0.3*pi rad. More...
 
uint16_t healthBits
 9 bits of health from sf5,pg7/8. More...
 
bool isDefault
 True if the source page was all 0s for orbit. More...
 
uint8_t pnum
 Almanac page number. More...
 
double toa
 Convenience storage of unqualified toa. More...
 
- Public Attributes inherited from gnsstk::BDSD1NavData
uint8_t fraID
 The subframe ID (FraID) from word 1 of the subframe. More...
 
uint32_t pre
 The preamble from word 1 of the subframe. More...
 
uint32_t rev
 The rev field from word 1 of the subframe. More...
 
uint32_t sow
 Seconds of week from word 1-2 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::BDSD1NavData
static constexpr double refioffset = 0.3
 inclination offset, this + delta i = i0, defined in SIS-ICD. 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

◆ BDSD1NavAlm()

gnsstk::BDSD1NavAlm::BDSD1NavAlm ( )

Sets the nav message type.

Definition at line 47 of file BDSD1NavAlm.cpp.

Member Function Documentation

◆ clone()

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

Create a deep copy of this object.

Implements gnsstk::NavData.

Definition at line 56 of file BDSD1NavAlm.hpp.

◆ dumpHarmonics()

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

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

Reimplemented from gnsstk::OrbitDataKepler.

Definition at line 68 of file BDSD1NavAlm.hpp.

◆ dumpSVStatus()

void gnsstk::BDSD1NavAlm::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 76 of file BDSD1NavAlm.cpp.

◆ fixFit()

void gnsstk::BDSD1NavAlm::fixFit ( )

Fill the beginFit and endFit values for this object.

Definition at line 67 of file BDSD1NavAlm.cpp.

◆ validate()

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

Definition at line 60 of file BDSD1NavAlm.cpp.

Member Data Documentation

◆ deltai

double gnsstk::BDSD1NavAlm::deltai

Inclination in rad relative to 0.3*pi rad.

Definition at line 79 of file BDSD1NavAlm.hpp.

◆ healthBits

uint16_t gnsstk::BDSD1NavAlm::healthBits

9 bits of health from sf5,pg7/8.

Definition at line 81 of file BDSD1NavAlm.hpp.

◆ isDefault

bool gnsstk::BDSD1NavAlm::isDefault

True if the source page was all 0s for orbit.

Definition at line 82 of file BDSD1NavAlm.hpp.

◆ pnum

uint8_t gnsstk::BDSD1NavAlm::pnum

Almanac page number.

Definition at line 78 of file BDSD1NavAlm.hpp.

◆ toa

double gnsstk::BDSD1NavAlm::toa

Convenience storage of unqualified toa.

Definition at line 80 of file BDSD1NavAlm.hpp.


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


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