0.4.1
Loading...
Searching...
No Matches
NAV::GnssNavInfo Class Reference

GNSS Navigation message information. More...

Data Structures

struct  TimeSystemCorrections
 Time system correction parameters. More...
 

Public Member Functions

void addSatelliteNavData (const SatId &satId, const std::shared_ptr< SatNavData > &satNavData)
 Adds the provided satellite navigation data to the satellite.
 
Clock::Corrections calcSatelliteClockCorrections (const SatId &satId, const InsTime &recvTime, double dist, const Frequency &freq) const
 Calculates clock bias and drift of the satellite.
 
Orbit::Pos calcSatellitePos (const SatId &satId, const InsTime &transTime) const
 Calculates position, velocity and acceleration of the satellite at transmission time.
 
double calcSatellitePositionVariance (const SatId &satId, const InsTime &recvTime) const
 Calculates the Variance of the satellite position in [m].
 
Orbit::PosVel calcSatellitePosVel (const SatId &satId, const InsTime &transTime) const
 Calculates position, velocity and acceleration of the satellite at transmission time.
 
Orbit::PosVelAccel calcSatellitePosVelAccel (const SatId &satId, const InsTime &transTime) const
 Calculates position, velocity and acceleration of the satellite at transmission time.
 
bool isHealthy (const SatId &satId, const InsTime &recvTime) const
 Checks whether the signal is healthy.
 
size_t nSatellites () const
 Returns the amount of satellites contained in this message.
 
void reset ()
 Resets the data by clearing the member variables.
 
const auto & satellites () const
 Get the satellites.
 
std::shared_ptr< NAV::SatNavDatasearchNavigationData (const SatId &satId, const InsTime &recvTime) const
 Checks whether the satellite is included in the internal data.
 

Static Public Member Functions

static std::string type ()
 Returns the type of the data class.
 

Data Fields

IonosphericCorrections ionosphericCorrections
 Ionospheric correction values.
 
SatelliteSystem satelliteSystems
 Satellite Systems available.
 
std::unordered_map< std::pair< TimeSystem, TimeSystem >, TimeSystemCorrectionstimeSysCorr
 Time system correction parameters. Difference between GNSS system time and UTC or other time systems.
 

Private Attributes

std::unordered_map< SatId, Satellitem_satellites
 Map of satellites containing the navigation message data.
 

Detailed Description

GNSS Navigation message information.

Definition at line 29 of file GnssNavInfo.hpp.

Member Function Documentation

◆ addSatelliteNavData()

void NAV::GnssNavInfo::addSatelliteNavData ( const SatId & satId,
const std::shared_ptr< SatNavData > & satNavData )
inline

Adds the provided satellite navigation data to the satellite.

Parameters
[in]satIdSatellite identifier
[in]satNavDataSatellite Navigation Data to add

Definition at line 90 of file GnssNavInfo.hpp.

◆ calcSatelliteClockCorrections()

Clock::Corrections NAV::GnssNavInfo::calcSatelliteClockCorrections ( const SatId & satId,
const InsTime & recvTime,
double dist,
const Frequency & freq ) const
inlinenodiscard

Calculates clock bias and drift of the satellite.

Parameters
[in]satIdSatellite identifier
[in]recvTimeReceiver time of the signal
[in]distDistance between receiver and satellite (normally the pseudorange) [m]
[in]freqSignal Frequency

Definition at line 66 of file GnssNavInfo.hpp.

◆ calcSatellitePos()

Orbit::Pos NAV::GnssNavInfo::calcSatellitePos ( const SatId & satId,
const InsTime & transTime ) const
inlinenodiscard

Calculates position, velocity and acceleration of the satellite at transmission time.

Parameters
[in]satIdSatellite identifier
[in]transTimeTransmit time of the signal

Definition at line 42 of file GnssNavInfo.hpp.

◆ calcSatellitePositionVariance()

double NAV::GnssNavInfo::calcSatellitePositionVariance ( const SatId & satId,
const InsTime & recvTime ) const
inlinenodiscard

Calculates the Variance of the satellite position in [m].

Parameters
[in]satIdSatellite identifier
[in]recvTimeReceiver time to calculate the satellite position for

Definition at line 74 of file GnssNavInfo.hpp.

◆ calcSatellitePosVel()

Orbit::PosVel NAV::GnssNavInfo::calcSatellitePosVel ( const SatId & satId,
const InsTime & transTime ) const
inlinenodiscard

Calculates position, velocity and acceleration of the satellite at transmission time.

Parameters
[in]satIdSatellite identifier
[in]transTimeTransmit time of the signal

Definition at line 49 of file GnssNavInfo.hpp.

◆ calcSatellitePosVelAccel()

Orbit::PosVelAccel NAV::GnssNavInfo::calcSatellitePosVelAccel ( const SatId & satId,
const InsTime & transTime ) const
inlinenodiscard

Calculates position, velocity and acceleration of the satellite at transmission time.

Parameters
[in]satIdSatellite identifier
[in]transTimeTransmit time of the signal

Definition at line 56 of file GnssNavInfo.hpp.

◆ isHealthy()

bool NAV::GnssNavInfo::isHealthy ( const SatId & satId,
const InsTime & recvTime ) const
inlinenodiscard

Checks whether the signal is healthy.

Parameters
[in]satIdSatellite identifier
[in]recvTimeReceive time for the data lookup

Definition at line 82 of file GnssNavInfo.hpp.

◆ nSatellites()

size_t NAV::GnssNavInfo::nSatellites ( ) const
inlinenodiscard

Returns the amount of satellites contained in this message.

Definition at line 122 of file GnssNavInfo.hpp.

◆ reset()

void NAV::GnssNavInfo::reset ( )
inline

Resets the data by clearing the member variables.

Definition at line 135 of file GnssNavInfo.hpp.

◆ satellites()

const auto & NAV::GnssNavInfo::satellites ( ) const
inline

Get the satellites.

Returns
Reference to the internal satellites map

Definition at line 129 of file GnssNavInfo.hpp.

◆ searchNavigationData()

std::shared_ptr< NAV::SatNavData > NAV::GnssNavInfo::searchNavigationData ( const SatId & satId,
const InsTime & recvTime ) const
inlinenodiscard

Checks whether the satellite is included in the internal data.

Parameters
[in]satIdSatellite identifier
[in]recvTimeReceive time for the data lookup

Definition at line 98 of file GnssNavInfo.hpp.

◆ type()

static std::string NAV::GnssNavInfo::type ( )
inlinestaticnodiscard

Returns the type of the data class.

Returns
The data type

Definition at line 34 of file GnssNavInfo.hpp.

Field Documentation

◆ ionosphericCorrections

IonosphericCorrections NAV::GnssNavInfo::ionosphericCorrections

Ionospheric correction values.

Definition at line 147 of file GnssNavInfo.hpp.

◆ m_satellites

std::unordered_map<SatId, Satellite> NAV::GnssNavInfo::m_satellites
private

Map of satellites containing the navigation message data.

Definition at line 162 of file GnssNavInfo.hpp.

◆ satelliteSystems

SatelliteSystem NAV::GnssNavInfo::satelliteSystems

Satellite Systems available.

Definition at line 144 of file GnssNavInfo.hpp.

◆ timeSysCorr

std::unordered_map<std::pair<TimeSystem, TimeSystem>, TimeSystemCorrections> NAV::GnssNavInfo::timeSysCorr

Time system correction parameters. Difference between GNSS system time and UTC or other time systems.

Definition at line 158 of file GnssNavInfo.hpp.


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