![]() |
0.4.1
|
GNSS Observation message information. More...
Data Structures | |
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 : uint8_t { 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. | |
std::string | getType () const override |
Returns the type of the data class. | |
ObservationData & | operator() (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. | |
SatelliteData & | satData (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. | |
![]() | |
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. | |
virtual void | guiTooltip (bool detailView, bool firstOpen, const char *displayName, const char *id, int *rootWindow) const |
Shows a GUI tooltip to look into details of the observation. | |
virtual bool | hasTooltip () const |
Return whether this data has a tooltip. | |
NodeData ()=default | |
Default constructor. | |
NodeData (const NodeData &)=default | |
Copy constructor. | |
NodeData (NodeData &&)=default | |
Move constructor. | |
NodeData & | operator= (const NodeData &)=default |
Copy assignment operator. | |
NodeData & | operator= (NodeData &&)=default |
Move assignment operator. | |
virtual bool | setDynamicDataAt (const std::string &, double) |
Set the value for the descriptor. | |
virtual bool | setValueAt (size_t, double) |
Set the value at the index. | |
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 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. | |
Data Fields | |
std::vector< ObservationData > | data |
Satellite observations. | |
std::optional< std::reference_wrapper< ReceiverInfo > > | receiverInfo |
Optional Receiver Information, e.g. from RINEX header. | |
![]() | |
InsTime | insTime |
Time at which the message was received. | |
Private Attributes | |
std::vector< SatelliteData > | _satData |
Useful information of the satellites. | |
Additional Inherited Members | |
![]() | |
std::vector< std::string > | _events |
List of events. | |
GNSS Observation message information.
Definition at line 32 of file GnssObs.hpp.
enum NAV::GnssObs::ObservationType : uint8_t |
Observation types.
Enumerator | |
---|---|
Pseudorange | Pseudorange. |
Carrier | Carrier-Phase. |
Doppler | Doppler (Pseudorange rate) |
ObservationType_COUNT | Count. |
Definition at line 36 of file GnssObs.hpp.
|
inlinenodiscard |
Checks if an element with the identifier exists.
[in] | satSigId | Signal id |
Definition at line 205 of file GnssObs.hpp.
|
inlinenodiscardoverridevirtual |
Returns a vector of data descriptors for the dynamic data.
Reimplemented from NAV::NodeData.
Definition at line 250 of file GnssObs.hpp.
|
inlinenodiscardoverridevirtual |
Returns a vector of data descriptors and values for the dynamic data.
Reimplemented from NAV::NodeData.
Definition at line 310 of file GnssObs.hpp.
|
inlinenodiscardoverridevirtual |
Get the value for the descriptor.
Reimplemented from NAV::NodeData.
Definition at line 273 of file GnssObs.hpp.
|
inlinenodiscard |
Useful information of the satellites.
Definition at line 247 of file GnssObs.hpp.
|
inlinenodiscardoverridevirtual |
Returns the type of the data class.
Reimplemented from NAV::NodeData.
Definition at line 157 of file GnssObs.hpp.
|
inline |
Return the element with the identifier or a newly constructed one if it did not exist.
[in] | satSigId | Signal id |
Definition at line 216 of file GnssObs.hpp.
|
inlinenodiscard |
Return the element with the identifier.
[in] | satSigId | Signal id |
Definition at line 233 of file GnssObs.hpp.
|
inlinestaticnodiscard |
Returns the parent types of the data class.
Definition at line 161 of file GnssObs.hpp.
|
inline |
Access or insert the satellite data.
satId | Satellite identifier |
Definition at line 172 of file GnssObs.hpp.
|
inlinenodiscard |
Access the satellite data.
satId | Satellite identifier |
Definition at line 190 of file GnssObs.hpp.
|
inlinestaticnodiscard |
Returns the type of the data class.
Definition at line 150 of file GnssObs.hpp.
|
private |
Useful information of the satellites.
Definition at line 351 of file GnssObs.hpp.
std::vector<ObservationData> NAV::GnssObs::data |
Satellite observations.
Definition at line 167 of file GnssObs.hpp.
std::optional<std::reference_wrapper<ReceiverInfo> > NAV::GnssObs::receiverInfo |
Optional Receiver Information, e.g. from RINEX header.
Definition at line 347 of file GnssObs.hpp.