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

Satellite class. More...

Public Member Functions

void addSatNavData (const std::shared_ptr< SatNavData > &satNavData)
 Adds the provided data into the internal time sorted list.
 
Clock::Corrections calcClockCorrections (const InsTime &recvTime, double dist, const Frequency &freq) const
 Calculates clock bias and drift of the satellite.
 
Orbit::Pos calcSatellitePos (const InsTime &transTime) const
 Calculates position of the satellite at transmission time.
 
double calcSatellitePositionVariance (const InsTime &recvTime) const
 Calculates the Variance of the satellite position in [m].
 
Orbit::PosVel calcSatellitePosVel (const InsTime &transTime) const
 Calculates position and velocity of the satellite at transmission time.
 
Orbit::PosVelAccel calcSatellitePosVelAccel (const InsTime &transTime) const
 Calculates position, velocity and acceleration of the satellite at transmission time.
 
const std::vector< std::shared_ptr< SatNavData > > & getNavigationData () const
 Get the navigation data list.
 
bool isHealthy (const InsTime &recvTime) const
 Checks whether the signal is healthy.
 
std::shared_ptr< SatNavDatasearchNavigationData (const InsTime &time) const
 Searches the closest navigation data to the given time.
 

Private Attributes

std::vector< std::shared_ptr< SatNavData > > m_navigationData
 Time sorted list of orbit and clock information of the satellite.
 

Detailed Description

Satellite class.

Definition at line 29 of file Satellite.hpp.

Member Function Documentation

◆ addSatNavData()

void NAV::Satellite::addSatNavData ( const std::shared_ptr< SatNavData > & satNavData)

Adds the provided data into the internal time sorted list.

Parameters
[in]satNavDataSatellite Navigation Data to add

Definition at line 46 of file Satellite.cpp.

◆ calcClockCorrections()

Clock::Corrections NAV::Satellite::calcClockCorrections ( const InsTime & recvTime,
double dist,
const Frequency & freq ) const
nodiscard

Calculates clock bias and drift of the satellite.

Parameters
[in]recvTimeReceiver time to calculate the satellite position for
[in]distDistance between receiver and satellite (normally the pseudorange) [m]
[in]freqSignal Frequency

Definition at line 36 of file Satellite.cpp.

◆ calcSatellitePos()

Orbit::Pos NAV::Satellite::calcSatellitePos ( const InsTime & transTime) const
nodiscard

Calculates position of the satellite at transmission time.

Parameters
[in]transTimeTransmit time to calculate the satellite position for

Definition at line 16 of file Satellite.cpp.

◆ calcSatellitePositionVariance()

double NAV::Satellite::calcSatellitePositionVariance ( const InsTime & recvTime) const
nodiscard

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

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

Definition at line 31 of file Satellite.cpp.

◆ calcSatellitePosVel()

Orbit::PosVel NAV::Satellite::calcSatellitePosVel ( const InsTime & transTime) const
nodiscard

Calculates position and velocity of the satellite at transmission time.

Parameters
[in]transTimeTransmit time to calculate the satellite position and velocity for

Definition at line 21 of file Satellite.cpp.

◆ calcSatellitePosVelAccel()

Orbit::PosVelAccel NAV::Satellite::calcSatellitePosVelAccel ( const InsTime & transTime) const
nodiscard

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

Parameters
[in]transTimeTransmit time to calculate the satellite position, velocity and acceleration for

Definition at line 26 of file Satellite.cpp.

◆ getNavigationData()

const std::vector< std::shared_ptr< SatNavData > > & NAV::Satellite::getNavigationData ( ) const
nodiscard

Get the navigation data list.

Definition at line 66 of file Satellite.cpp.

◆ isHealthy()

bool NAV::Satellite::isHealthy ( const InsTime & recvTime) const
nodiscard

Checks whether the signal is healthy.

Parameters
[in]recvTimeReceive time for the data lookup

Definition at line 41 of file Satellite.cpp.

◆ searchNavigationData()

std::shared_ptr< SatNavData > NAV::Satellite::searchNavigationData ( const InsTime & time) const
nodiscard

Searches the closest navigation data to the given time.

Parameters
timeTime the navigation data is requested for

Definition at line 71 of file Satellite.cpp.

Field Documentation

◆ m_navigationData

std::vector<std::shared_ptr<SatNavData> > NAV::Satellite::m_navigationData
private

Time sorted list of orbit and clock information of the satellite.

Definition at line 69 of file Satellite.hpp.


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