Public Member Functions | Protected Attributes | Friends | List of all members
gnsstk::AlmOrbit Class Reference

Detailed Description

Encapsulation of almanac SV orbital parameters (page 5, subframes 1-24).

Definition at line 59 of file AlmOrbit.hpp.

#include <AlmOrbit.hpp>

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

Public Member Functions

 AlmOrbit () noexcept
 Default constructor, initialize to 0. More...
 
 AlmOrbit (short prn, double aEcc, double ai_offset, double aOMEGAdot, double aAhalf, double aOMEGA0, double aw, double aM0, double aAF0, double aAF1, long aToa, long axmit_time, short aweek, short aSV_health)
 Fill constructor for all fields. More...
 
void dump (std::ostream &s=std::cout, int verbosity=1) const
 
double getAF0 () const
 
double getAF1 () const
 
double getAhalf () const
 
double getecc () const
 
short getFullWeek () const noexcept
 returns full week of TRANSMIT TIME More...
 
double geti_offset () const
 
double getM0 () const
 
double getOMEGA0 () const
 
double getOMEGAdot () const
 
short getPRN () const
 
short getPRNID () const noexcept
 
short getSVHealth () const noexcept
 
CommonTime getTimestamp () const noexcept
 
long getToaSOW () const
 
CommonTime getToaTime () const noexcept
 
short getToaWeek () const
 
CommonTime getTransmitTime () const noexcept
 
double getw () const
 
long getxmit_time () const
 
Xvt svXvt (const CommonTime &t) const
 

Protected Attributes

double AF0
 
double AF1
 
double Ahalf
 
double ecc
 
double i_offset
 
double M0
 
double OMEGA0
 
double OMEGAdot
 
short PRN
 
short SV_health
 
long Toa
 
double w
 
short week
 
long xmit_time
 

Friends

class EngAlmanac
 

Constructor & Destructor Documentation

◆ AlmOrbit() [1/2]

gnsstk::AlmOrbit::AlmOrbit ( )
noexcept

Default constructor, initialize to 0.

Definition at line 52 of file AlmOrbit.cpp.

◆ AlmOrbit() [2/2]

gnsstk::AlmOrbit::AlmOrbit ( short  prn,
double  aEcc,
double  ai_offset,
double  aOMEGAdot,
double  aAhalf,
double  aOMEGA0,
double  aw,
double  aM0,
double  aAF0,
double  aAF1,
long  aToa,
long  axmit_time,
short  aweek,
short  aSV_health 
)

Fill constructor for all fields.

Definition at line 62 of file AlmOrbit.cpp.

Member Function Documentation

◆ dump()

void gnsstk::AlmOrbit::dump ( std::ostream &  s = std::cout,
int  verbosity = 1 
) const

Definition at line 215 of file AlmOrbit.cpp.

◆ getAF0()

double gnsstk::AlmOrbit::getAF0 ( ) const
inline

Definition at line 135 of file AlmOrbit.hpp.

◆ getAF1()

double gnsstk::AlmOrbit::getAF1 ( ) const
inline

Definition at line 136 of file AlmOrbit.hpp.

◆ getAhalf()

double gnsstk::AlmOrbit::getAhalf ( ) const
inline

Definition at line 131 of file AlmOrbit.hpp.

◆ getecc()

double gnsstk::AlmOrbit::getecc ( ) const
inline

Definition at line 128 of file AlmOrbit.hpp.

◆ getFullWeek()

short gnsstk::AlmOrbit::getFullWeek ( ) const
noexcept

returns full week of TRANSMIT TIME

Definition at line 197 of file AlmOrbit.cpp.

◆ geti_offset()

double gnsstk::AlmOrbit::geti_offset ( ) const
inline

Definition at line 129 of file AlmOrbit.hpp.

◆ getM0()

double gnsstk::AlmOrbit::getM0 ( ) const
inline

Definition at line 134 of file AlmOrbit.hpp.

◆ getOMEGA0()

double gnsstk::AlmOrbit::getOMEGA0 ( ) const
inline

Definition at line 132 of file AlmOrbit.hpp.

◆ getOMEGAdot()

double gnsstk::AlmOrbit::getOMEGAdot ( ) const
inline

Definition at line 130 of file AlmOrbit.hpp.

◆ getPRN()

short gnsstk::AlmOrbit::getPRN ( ) const
inline

Definition at line 127 of file AlmOrbit.hpp.

◆ getPRNID()

short gnsstk::AlmOrbit::getPRNID ( ) const
inlinenoexcept

Definition at line 76 of file AlmOrbit.hpp.

◆ getSVHealth()

short gnsstk::AlmOrbit::getSVHealth ( ) const
inlinenoexcept

Definition at line 84 of file AlmOrbit.hpp.

◆ getTimestamp()

CommonTime gnsstk::AlmOrbit::getTimestamp ( ) const
inlinenoexcept

Definition at line 83 of file AlmOrbit.hpp.

◆ getToaSOW()

long gnsstk::AlmOrbit::getToaSOW ( ) const
inline

Definition at line 137 of file AlmOrbit.hpp.

◆ getToaTime()

CommonTime gnsstk::AlmOrbit::getToaTime ( ) const
noexcept

Definition at line 210 of file AlmOrbit.cpp.

◆ getToaWeek()

short gnsstk::AlmOrbit::getToaWeek ( ) const
inline

Definition at line 139 of file AlmOrbit.hpp.

◆ getTransmitTime()

CommonTime gnsstk::AlmOrbit::getTransmitTime ( ) const
noexcept

Definition at line 192 of file AlmOrbit.cpp.

◆ getw()

double gnsstk::AlmOrbit::getw ( ) const
inline

Definition at line 133 of file AlmOrbit.hpp.

◆ getxmit_time()

long gnsstk::AlmOrbit::getxmit_time ( ) const
inline

Definition at line 138 of file AlmOrbit.hpp.

◆ svXvt()

Xvt gnsstk::AlmOrbit::svXvt ( const CommonTime t) const
Exceptions
InvalidRequest

Definition at line 73 of file AlmOrbit.cpp.

Friends And Related Function Documentation

◆ EngAlmanac

friend class EngAlmanac
friend

Definition at line 119 of file AlmOrbit.hpp.

Member Data Documentation

◆ AF0

double gnsstk::AlmOrbit::AF0
protected

clock model coeff in sec

Definition at line 111 of file AlmOrbit.hpp.

◆ AF1

double gnsstk::AlmOrbit::AF1
protected

clock model coeff in sec/sec

Definition at line 112 of file AlmOrbit.hpp.

◆ Ahalf

double gnsstk::AlmOrbit::Ahalf
protected

sqrt of semi-major axis in m**1/2

Definition at line 107 of file AlmOrbit.hpp.

◆ ecc

double gnsstk::AlmOrbit::ecc
protected

eccentricity

Definition at line 104 of file AlmOrbit.hpp.

◆ i_offset

double gnsstk::AlmOrbit::i_offset
protected

i offset from 54 deg. in rads.

Definition at line 105 of file AlmOrbit.hpp.

◆ M0

double gnsstk::AlmOrbit::M0
protected

mean anomoly in rads

Definition at line 110 of file AlmOrbit.hpp.

◆ OMEGA0

double gnsstk::AlmOrbit::OMEGA0
protected

Right Asc. of Ascending node in rads.

Definition at line 108 of file AlmOrbit.hpp.

◆ OMEGAdot

double gnsstk::AlmOrbit::OMEGAdot
protected

Right Ascention rate in rad/sec

Definition at line 106 of file AlmOrbit.hpp.

◆ PRN

short gnsstk::AlmOrbit::PRN
protected

PRN identifier for this SV

Definition at line 103 of file AlmOrbit.hpp.

◆ SV_health

short gnsstk::AlmOrbit::SV_health
protected

health of SV

Definition at line 116 of file AlmOrbit.hpp.

◆ Toa

long gnsstk::AlmOrbit::Toa
protected

Time of epoch in GPS sec

Definition at line 113 of file AlmOrbit.hpp.

◆ w

double gnsstk::AlmOrbit::w
protected

arguement of perigee in rads.

Definition at line 109 of file AlmOrbit.hpp.

◆ week

short gnsstk::AlmOrbit::week
protected

week of Toa (full week)

Definition at line 115 of file AlmOrbit.hpp.

◆ xmit_time

long gnsstk::AlmOrbit::xmit_time
protected

Transmission time

Definition at line 114 of file AlmOrbit.hpp.


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


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