Class containing data elements unique to GLONASS Civil F-Nav almanacs.
Definition at line 53 of file GLOFNavAlm.hpp.
#include <GLOFNavAlm.hpp>
Classes | |
class | NumberCruncher |
Class to assist in doing all the math to get the XVT. More... | |
Public Member Functions | |
NavDataPtr | clone () const override |
Create a deep copy of this object. More... | |
void | dump (std::ostream &s, DumpDetail dl) const override |
void | dumpTerse (std::ostream &s) const |
void | fixFit () |
CommonTime | getUserTime () const override |
bool | getXvt (const CommonTime &when, Xvt &xvt, const ObsID &=ObsID()) override |
GLOFNavAlm () | |
Sets the nav message type, and all other data members to 0. More... | |
void | setSemiMajorAxisIncl () |
Compute and set the semi-major axis (A) and inclination (i). More... | |
bool | validate () const override |
![]() | |
GLOFNavData () | |
Sets the nav message type and all other data members to 0. More... | |
bool | validate () const override |
![]() | |
std::list< std::string > | compare (const NavDataPtr &right) const override |
bool | isSameData (const NavDataPtr &right) const override |
![]() | |
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 | |
double | deltainA |
Correction to mean inclination (Delta i_n^A). More... | |
double | deltaTdotnA |
Time derivative of deltaT (Delta T'_n^A). More... | |
double | deltaTnA |
Correction to mean value of Draconian period (Delta T_n^A). More... | |
double | eccnA |
Eccentricity (epsilon_n^A). More... | |
int | freqnA |
Frequency offset (H_n^A). More... | |
bool | healthBits |
Health flag (C_n, 1 = operable). More... | |
double | lambdanA |
Longitude of ascending node (lambda_n^A). More... | |
NumberCruncher | math |
Retain as much computed data as possible. More... | |
double | omeganA |
Argument of perigee (omega_n^A). More... | |
double | taunA |
Time offset to GLONASS time (tau_n^A). More... | |
double | tLambdanA |
Time of ascending node crossing (t_lambda_n^A). More... | |
CommonTime | Toa |
Reference time for almanac. More... | |
![]() | |
SVHealth | health |
SV health status. More... | |
bool | lhealth |
Health flag? Different from B_n and C_n? More... | |
GLOFNavSatType | satType |
Satellite type (M_n: GLONASS or GLONASS-M). More... | |
unsigned | slot |
Slot number (n). More... | |
CommonTime | xmit2 |
Transmit time for string 2 (eph) or odd string. More... | |
![]() | |
NavMessageID | signal |
Source signal identification for this navigation message data. More... | |
CommonTime | timeStamp |
std::string | weekFmt |
![]() | |
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 | ae = ell.a_km() |
Equatorial radius of Earth in km. More... | |
static const GNSSTK_EXPORT double | C20 = -1082.62575e-6 |
Second zonal harmonic of spherical harmonic expansion. More... | |
static const GNSSTK_EXPORT double | C20Term = (3.0/2.0) * C20 |
Term used in computing orbit. More... | |
static const GNSSTK_EXPORT PZ90Ellipsoid | ell |
Ellipsoid parameters used by GLONASS. More... | |
static const GNSSTK_EXPORT double | icp = 63.0 * gnsstk::PI / 180.0 |
icp</cp> as defined in GLONASS ICD appendix 3.2.1 More... | |
static const GNSSTK_EXPORT double | J = (-3.0/2.0) * C20 |
Some constant or other related to C20. More... | |
static const GNSSTK_EXPORT double | mu = ell.gm_km() |
Gravitational constant. More... | |
static constexpr GNSSTK_EXPORT double | omega3 = 0.7292115e-4 |
static const GNSSTK_EXPORT double | Tcp = 43200.0 |
Tcp</cp> as defined in GLONASS ICD appendix 3.2.1. More... | |
![]() | |
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::SatMetaDataStore * | satMetaDataStore = nullptr |
Set this to a valid store to get PRN->SVN translations in dump(). More... | |
Additional Inherited Members | |
![]() | |
static gnsstk::SatMetaDataStore * | getSatMetaDataStore () |
Accessor for python. More... | |
static void | setSatMetaDataStore (gnsstk::SatMetaDataStore *smds) |
Accessor for python. More... | |
![]() | |
double | msgLenSec |
gnsstk::GLOFNavAlm::GLOFNavAlm | ( | ) |
Sets the nav message type, and all other data members to 0.
Definition at line 60 of file GLOFNavAlm.cpp.
|
inlineoverridevirtual |
Create a deep copy of this object.
Implements gnsstk::NavData.
Definition at line 80 of file GLOFNavAlm.hpp.
|
overridevirtual |
Print the contents of this NavData object in a (usually) human-readable format.
[in,out] | s | The stream to write the data to. |
[in] | dl | The level of detail the output should contain. |
Reimplemented from gnsstk::NavData.
Definition at line 119 of file GLOFNavAlm.cpp.
void gnsstk::GLOFNavAlm::dumpTerse | ( | std::ostream & | s | ) | const |
Dump contents in terse format (DumpDetail==Terse)
[in,out] | s | The stream to write the data to. |
Definition at line 206 of file GLOFNavAlm.cpp.
void gnsstk::GLOFNavAlm::fixFit | ( | ) |
Fill the beginFit and endFit values for this object.
Definition at line 103 of file GLOFNavAlm.cpp.
|
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.
Reimplemented from gnsstk::NavData.
Definition at line 95 of file GLOFNavAlm.cpp.
|
overridevirtual |
Compute the satellites position and velocity at a time.
[in] | when | The time at which to compute the xvt. |
[out] | xvt | The resulting computed position/velocity. |
[in] | oid | Value is ignored - GLONASS does not have distinct transmitters. |
Implements gnsstk::OrbitData.
Definition at line 86 of file GLOFNavAlm.cpp.
void gnsstk::GLOFNavAlm::setSemiMajorAxisIncl | ( | ) |
Compute and set the semi-major axis (A) and inclination (i).
Definition at line 229 of file GLOFNavAlm.cpp.
|
overridevirtual |
Checks the contents of this message against known validity rules as defined in the appropriate ICD.
Implements gnsstk::NavData.
Definition at line 78 of file GLOFNavAlm.cpp.
|
static |
Equatorial radius of Earth in km.
Definition at line 61 of file GLOFNavAlm.hpp.
|
static |
Second zonal harmonic of spherical harmonic expansion.
Definition at line 71 of file GLOFNavAlm.hpp.
Term used in computing orbit.
Definition at line 75 of file GLOFNavAlm.hpp.
double gnsstk::GLOFNavAlm::deltainA |
Correction to mean inclination (Delta i_n^A).
Definition at line 281 of file GLOFNavAlm.hpp.
double gnsstk::GLOFNavAlm::deltaTdotnA |
Time derivative of deltaT (Delta T'_n^A).
Definition at line 286 of file GLOFNavAlm.hpp.
double gnsstk::GLOFNavAlm::deltaTnA |
Correction to mean value of Draconian period (Delta T_n^A).
Definition at line 285 of file GLOFNavAlm.hpp.
double gnsstk::GLOFNavAlm::eccnA |
Eccentricity (epsilon_n^A).
Definition at line 282 of file GLOFNavAlm.hpp.
|
static |
Ellipsoid parameters used by GLONASS.
Definition at line 57 of file GLOFNavAlm.hpp.
int gnsstk::GLOFNavAlm::freqnA |
Frequency offset (H_n^A).
Definition at line 287 of file GLOFNavAlm.hpp.
bool gnsstk::GLOFNavAlm::healthBits |
Health flag (C_n, 1 = operable).
Definition at line 276 of file GLOFNavAlm.hpp.
|
static |
icp</cp> as defined in GLONASS ICD appendix 3.2.1
Definition at line 67 of file GLOFNavAlm.hpp.
Some constant or other related to C20.
Definition at line 73 of file GLOFNavAlm.hpp.
double gnsstk::GLOFNavAlm::lambdanA |
Longitude of ascending node (lambda_n^A).
Definition at line 280 of file GLOFNavAlm.hpp.
NumberCruncher gnsstk::GLOFNavAlm::math |
Retain as much computed data as possible.
Definition at line 292 of file GLOFNavAlm.hpp.
|
static |
Gravitational constant.
Definition at line 59 of file GLOFNavAlm.hpp.
|
staticconstexpr |
Fatty acids? No, Earth's rotation rate.
Definition at line 65 of file GLOFNavAlm.hpp.
double gnsstk::GLOFNavAlm::omeganA |
Argument of perigee (omega_n^A).
Definition at line 283 of file GLOFNavAlm.hpp.
double gnsstk::GLOFNavAlm::taunA |
Time offset to GLONASS time (tau_n^A).
Definition at line 279 of file GLOFNavAlm.hpp.
|
static |
Tcp</cp> as defined in GLONASS ICD appendix 3.2.1.
Definition at line 69 of file GLOFNavAlm.hpp.
double gnsstk::GLOFNavAlm::tLambdanA |
Time of ascending node crossing (t_lambda_n^A).
Definition at line 284 of file GLOFNavAlm.hpp.
CommonTime gnsstk::GLOFNavAlm::Toa |
Reference time for almanac.
Definition at line 275 of file GLOFNavAlm.hpp.