0.2.0
Loading...
Searching...
No Matches
NAV::GnssObs Class Reference

GNSS Observation message information. More...

Classes

struct  ObservationData
 Stores the satellites observations. More...
 
struct  ReceiverInfo
 Receiver Information, e.g. from RINEX header. More...
 
struct  SatelliteData
 Useful information of the satellites. More...
 

Public Types

enum  ObservationType {
  Pseudorange ,
  Carrier ,
  Doppler ,
  ObservationType_COUNT
}
 Observation types. More...
 

Public Member Functions

bool contains (const SatSigId &satSigId) const
 Checks if an element with the identifier exists.
 
std::vector< std::string > dynamicDataDescriptors () const override
 Returns a vector of data descriptors for the dynamic data.
 
std::vector< std::pair< std::string, double > > getDynamicData () const override
 Returns a vector of data descriptors and values for the dynamic data.
 
std::optional< double > getDynamicDataAt (const std::string &descriptor) const override
 Get the value for the descriptor.
 
const std::vector< SatelliteData > & getSatData () const
 Useful information of the satellites.
 
ObservationDataoperator() (const SatSigId &satSigId)
 Return the element with the identifier or a newly constructed one if it did not exist.
 
std::optional< std::reference_wrapper< const ObservationData > > operator() (const SatSigId &satSigId) const
 Return the element with the identifier.
 
SatelliteDatasatData (const SatId &satId)
 Access or insert the satellite data.
 
std::optional< std::reference_wrapper< const SatelliteData > > satData (const SatId &satId) const
 Access the satellite data.
 
- Public Member Functions inherited from NAV::NodeData
void addEvent (const std::string &text)
 Adds the event to the list.
 
const std::vector< std::string > & events () const
 Returns a vector of string events associated with this data.
 
virtual std::optional< double > getValueAt (size_t) const
 Get the value at the index.
 
double getValueAtOrNaN (size_t idx) const
 Get the value at the index or NaN if not in the observation.
 
 NodeData ()=default
 Default constructor.
 
 NodeData (const NodeData &)=default
 Copy constructor.
 
 NodeData (NodeData &&)=default
 Move constructor.
 
NodeDataoperator= (const NodeData &)=default
 Copy assignment operator.
 
NodeDataoperator= (NodeData &&)=default
 Move assignment operator.
 
virtual std::vector< std::string > staticDataDescriptors () const
 Returns a vector of data descriptors.
 
virtual size_t staticDescriptorCount () const
 Get the amount of descriptors.
 
virtual ~NodeData ()=default
 Destructor.
 

Static Public Member Functions

static std::vector< std::string > parentTypes ()
 Returns the parent types of the data class.
 
static std::string type ()
 Returns the type of the data class.
 
- Static Public Member Functions inherited from NAV::NodeData
static std::vector< std::string > GetStaticDataDescriptors ()
 Returns a vector of data descriptors.
 
static constexpr size_t GetStaticDescriptorCount ()
 Get the amount of descriptors.
 
static std::vector< std::string > parentTypes ()
 Returns the parent types of the data class.
 
static std::string type ()
 Returns the type of the data class.
 

Public Attributes

std::vector< ObservationDatadata
 Satellite observations.
 
std::optional< std::reference_wrapper< ReceiverInfo > > receiverInfo
 Optional Receiver Information, e.g. from RINEX header.
 
- Public Attributes inherited from NAV::NodeData
InsTime insTime
 Time at which the message was received.
 

Additional Inherited Members

- Protected Attributes inherited from NAV::NodeData
std::vector< std::string > _events
 List of events.
 

Detailed Description

GNSS Observation message information.

Member Enumeration Documentation

◆ ObservationType

Observation types.

Enumerator
Pseudorange 

Pseudorange.

Carrier 

Carrier-Phase.

Doppler 

Doppler (Pseudorange rate)

ObservationType_COUNT 

Count.

Member Function Documentation

◆ contains()

bool NAV::GnssObs::contains ( const SatSigId & satSigId) const
inline

Checks if an element with the identifier exists.

Parameters
[in]satSigIdSignal id
Returns
True if the element exists

◆ getDynamicDataAt()

std::optional< double > NAV::GnssObs::getDynamicDataAt ( const std::string & descriptor) const
inlineoverridevirtual

Get the value for the descriptor.

Returns
Value if in the observation

Reimplemented from NAV::NodeData.

◆ operator()() [1/2]

ObservationData & NAV::GnssObs::operator() ( const SatSigId & satSigId)
inline

Return the element with the identifier or a newly constructed one if it did not exist.

Parameters
[in]satSigIdSignal id
Returns
The element found in the observations or a newly constructed one

◆ operator()() [2/2]

std::optional< std::reference_wrapper< const ObservationData > > NAV::GnssObs::operator() ( const SatSigId & satSigId) const
inline

Return the element with the identifier.

Parameters
[in]satSigIdSignal id
Returns
The element found in the observations

◆ parentTypes()

static std::vector< std::string > NAV::GnssObs::parentTypes ( )
inlinestatic

Returns the parent types of the data class.

Returns
The parent data types

◆ satData() [1/2]

SatelliteData & NAV::GnssObs::satData ( const SatId & satId)
inline

Access or insert the satellite data.

Parameters
satIdSatellite identifier
Returns
The satellite data

◆ satData() [2/2]

std::optional< std::reference_wrapper< const SatelliteData > > NAV::GnssObs::satData ( const SatId & satId) const
inline

Access the satellite data.

Parameters
satIdSatellite identifier
Returns
The satellite data if in the list

◆ type()

static std::string NAV::GnssObs::type ( )
inlinestatic

Returns the type of the data class.

Returns
The data type

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