GNSS-SDR  0.0.19
An Open Source GNSS Software Defined Receiver
Public Member Functions | Public Attributes | List of all members
Gps_Almanac Class Reference

This class is a storage for the GPS SV ALMANAC data as described in IS-GPS-200M. More...

#include <gps_almanac.h>

Inheritance diagram for Gps_Almanac:
Gnss_Almanac

Public Member Functions

 Gps_Almanac ()
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 
- Public Member Functions inherited from Gnss_Almanac
 Gnss_Almanac ()=default
 
double predicted_doppler (double rx_time_s, double lat, double lon, double h, double ve, double vn, double vu, int band) const
 Computes prediction of the Doppler shift for a given time and receiver's position and velocity.

\[ f_{d} = - \mathbf{v} \frac{\mathbf{x}^{T}}{\left| \mathbf{x} \right| } \frac{f_{L}}{c} \]

where:

\[ \mathbf{v} = \mathbf{v}_{sat} - \mathbf{v}_{rx} \]

\[ \mathbf{x} = \mathbf{x}_{sat} - \mathbf{x}_{rx} \]

\[ \left| \mathbf{x} \right| = \sqrt{\mathbf{x}\mathbf{x}^{T}} \]

. More...

 
void satellitePosVelComputation (double transmitTime, std::array< double, 7 > &pos_vel_dtr) const
 Computes satellite Position and Velocity, in ECEF, for a given time (expressed in seconds of week) More...
 

Public Attributes

int32_t SV_health {}
 SV Health. More...
 
int32_t AS_status {}
 Anti-Spoofing Flags and SV Configuration. More...
 
- Public Attributes inherited from Gnss_Almanac
uint32_t PRN {}
 SV PRN NUMBER. More...
 
double delta_i {}
 Inclination Angle at Reference Time (relative to i_0 = 0.30 semi-circles) More...
 
int32_t toa {}
 Almanac data reference time of week [s]. More...
 
int32_t WNa {}
 Almanac week number. More...
 
double M_0 {}
 Mean Anomaly at Reference Time [semi-circles]. More...
 
double ecc {}
 Eccentricity [dimensionless]. More...
 
double sqrtA {}
 Square Root of the Semi-Major Axis [sqrt(m)]. More...
 
double OMEGA_0 {}
 Longitude of Ascending Node of Orbit Plane at Weekly Epoch [semi-circles]. More...
 
double omega {}
 Argument of Perigee [semi-cicles]. More...
 
double OMEGAdot {}
 Rate of Right Ascension [semi-circles/s]. More...
 
double af0 {}
 Coefficient 0 of code phase offset model [s]. More...
 
double af1 {}
 Coefficient 1 of code phase offset model [s/s]. More...
 

Additional Inherited Members

- Protected Attributes inherited from Gnss_Almanac
char System {}
 Character ID of the GNSS system. 'G': GPS. 'E': Galileo. 'B': BeiDou. More...
 

Detailed Description

This class is a storage for the GPS SV ALMANAC data as described in IS-GPS-200M.

See https://www.gps.gov/technical/icwg/IS-GPS-200M.pdf Appendix II

Definition at line 35 of file gps_almanac.h.

Constructor & Destructor Documentation

◆ Gps_Almanac()

Gps_Almanac::Gps_Almanac ( )
inline

Default constructor

Definition at line 41 of file gps_almanac.h.

References Gnss_Almanac::System.

Member Data Documentation

◆ AS_status

int32_t Gps_Almanac::AS_status {}

Anti-Spoofing Flags and SV Configuration.

Definition at line 47 of file gps_almanac.h.

◆ SV_health

int32_t Gps_Almanac::SV_health {}

SV Health.

Definition at line 46 of file gps_almanac.h.


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