0.4.1
Loading...
Searching...
No Matches
NAV::ReceiverClock Struct Reference

Receiver Clock information. More...

Public Member Functions

void addSystem (SatelliteSystem satSys)
 Add a new system.
 
double * biasFor (SatelliteSystem satSys)
 Get the bias for the given satellite system.
 
const double * biasFor (SatelliteSystem satSys) const
 Get the bias for the given satellite system.
 
double * biasStdDevFor (SatelliteSystem satSys)
 Get the bias StdDev for the given satellite system.
 
const double * biasStdDevFor (SatelliteSystem satSys) const
 Get the bias StdDev for the given satellite system.
 
void clear ()
 Clear all the structures.
 
double * driftFor (SatelliteSystem satSys)
 Get the drift for the given satellite system.
 
const double * driftFor (SatelliteSystem satSys) const
 Get the drift for the given satellite system.
 
double * driftStdDevFor (SatelliteSystem satSys)
 Get the drift StdDev for the given satellite system.
 
const double * driftStdDevFor (SatelliteSystem satSys) const
 Get the drift StdDev for the given satellite system.
 
std::optional< size_t > getIdx (SatelliteSystem satSys) const
 Get the index of the sat system.
 
 ReceiverClock (std::vector< SatelliteSystem > satelliteSystems)
 Constructor.
 
void reset ()
 Resets all structures to 0 (not removing them)
 

Data Fields

std::vector< double > bias
 Receiver clock biases for each satellite system [s].
 
std::vector< double > biasStdDev
 StdDev of the receiver clock biases for each satellite system [s].
 
std::vector< double > drift
 Receiver clock drifts for each satellite system [s/s].
 
std::vector< double > driftStdDev
 StdDev of the receiver clock drifts for each satellite system [s].
 
std::vector< SatelliteSystemsatelliteSystems
 Order of satellite systems.
 

Detailed Description

Receiver Clock information.

Definition at line 31 of file ReceiverClock.hpp.

Constructor & Destructor Documentation

◆ ReceiverClock()

NAV::ReceiverClock::ReceiverClock ( std::vector< SatelliteSystem > satelliteSystems)
inlineexplicit

Constructor.

Parameters
[in]satelliteSystemsSatellite systems to add

Definition at line 35 of file ReceiverClock.hpp.

Member Function Documentation

◆ addSystem()

void NAV::ReceiverClock::addSystem ( SatelliteSystem satSys)
inline

Add a new system.

Parameters
[in]satSysSatellite System to add

Definition at line 46 of file ReceiverClock.hpp.

◆ biasFor() [1/2]

double * NAV::ReceiverClock::biasFor ( SatelliteSystem satSys)
inlinenodiscard

Get the bias for the given satellite system.

Parameters
[in]satSysSatellite system
Returns
The bias in [s] for the given satellite system. Or null if it is not found

Definition at line 89 of file ReceiverClock.hpp.

◆ biasFor() [2/2]

const double * NAV::ReceiverClock::biasFor ( SatelliteSystem satSys) const
inlinenodiscard

Get the bias for the given satellite system.

Parameters
[in]satSysSatellite system
Returns
The bias in [s] for the given satellite system. Or null if it is not found

Definition at line 81 of file ReceiverClock.hpp.

◆ biasStdDevFor() [1/2]

double * NAV::ReceiverClock::biasStdDevFor ( SatelliteSystem satSys)
inlinenodiscard

Get the bias StdDev for the given satellite system.

Parameters
[in]satSysSatellite system
Returns
The bias StdDev in [s] for the given satellite system. Or null if it is not found

Definition at line 106 of file ReceiverClock.hpp.

◆ biasStdDevFor() [2/2]

const double * NAV::ReceiverClock::biasStdDevFor ( SatelliteSystem satSys) const
inlinenodiscard

Get the bias StdDev for the given satellite system.

Parameters
[in]satSysSatellite system
Returns
The bias StdDev in [s] for the given satellite system. Or null if it is not found

Definition at line 98 of file ReceiverClock.hpp.

◆ clear()

void NAV::ReceiverClock::clear ( )
inline

Clear all the structures.

Definition at line 60 of file ReceiverClock.hpp.

◆ driftFor() [1/2]

double * NAV::ReceiverClock::driftFor ( SatelliteSystem satSys)
inlinenodiscard

Get the drift for the given satellite system.

Parameters
[in]satSysSatellite system
Returns
The drift in [s/s] for the given satellite system. Or null if it is not found

Definition at line 123 of file ReceiverClock.hpp.

◆ driftFor() [2/2]

const double * NAV::ReceiverClock::driftFor ( SatelliteSystem satSys) const
inlinenodiscard

Get the drift for the given satellite system.

Parameters
[in]satSysSatellite system
Returns
The drift in [s/s] for the given satellite system. Or null if it is not found

Definition at line 115 of file ReceiverClock.hpp.

◆ driftStdDevFor() [1/2]

double * NAV::ReceiverClock::driftStdDevFor ( SatelliteSystem satSys)
inlinenodiscard

Get the drift StdDev for the given satellite system.

Parameters
[in]satSysSatellite system
Returns
The drift StdDev in [s/s] for the given satellite system. Or null if it is not found

Definition at line 140 of file ReceiverClock.hpp.

◆ driftStdDevFor() [2/2]

const double * NAV::ReceiverClock::driftStdDevFor ( SatelliteSystem satSys) const
inlinenodiscard

Get the drift StdDev for the given satellite system.

Parameters
[in]satSysSatellite system
Returns
The drift StdDev in [s/s] for the given satellite system. Or null if it is not found

Definition at line 132 of file ReceiverClock.hpp.

◆ getIdx()

std::optional< size_t > NAV::ReceiverClock::getIdx ( SatelliteSystem satSys) const
inlinenodiscard

Get the index of the sat system.

Parameters
[in]satSysSatellite system
Returns
The index if it was in the list

Definition at line 149 of file ReceiverClock.hpp.

◆ reset()

void NAV::ReceiverClock::reset ( )
inline

Resets all structures to 0 (not removing them)

Definition at line 70 of file ReceiverClock.hpp.

Field Documentation

◆ bias

std::vector<double> NAV::ReceiverClock::bias

Receiver clock biases for each satellite system [s].

Definition at line 162 of file ReceiverClock.hpp.

◆ biasStdDev

std::vector<double> NAV::ReceiverClock::biasStdDev

StdDev of the receiver clock biases for each satellite system [s].

Definition at line 164 of file ReceiverClock.hpp.

◆ drift

std::vector<double> NAV::ReceiverClock::drift

Receiver clock drifts for each satellite system [s/s].

Definition at line 166 of file ReceiverClock.hpp.

◆ driftStdDev

std::vector<double> NAV::ReceiverClock::driftStdDev

StdDev of the receiver clock drifts for each satellite system [s].

Definition at line 168 of file ReceiverClock.hpp.

◆ satelliteSystems

std::vector<SatelliteSystem> NAV::ReceiverClock::satelliteSystems

Order of satellite systems.

Definition at line 159 of file ReceiverClock.hpp.


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