IMU Observation storage class.
More...
|
std::optional< double > | getValueAt (size_t idx) const override |
| Get the value at the index.
|
|
std::vector< std::string > | staticDataDescriptors () const override |
| Returns a vector of data descriptors.
|
|
size_t | staticDescriptorCount () const override |
| Get the amount of descriptors.
|
|
| VectorNavBinaryOutput (const ImuPos &imuPos) |
| Constructor.
|
|
void | addEvent (const std::string &text) |
| Adds the event to the list.
|
|
virtual std::vector< std::string > | dynamicDataDescriptors () const |
| Returns a vector of data descriptors for the dynamic data.
|
|
const std::vector< std::string > & | events () const |
| Returns a vector of string events associated with this data.
|
|
virtual std::vector< std::pair< std::string, double > > | getDynamicData () const |
| Returns a vector of data descriptors and values for the dynamic data.
|
|
virtual std::optional< double > | getDynamicDataAt (const std::string &) const |
| Get the value for the descriptor.
|
|
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.
|
|
NodeData & | operator= (const NodeData &)=default |
| Copy assignment operator.
|
|
NodeData & | operator= (NodeData &&)=default |
| Move assignment operator.
|
|
virtual | ~NodeData ()=default |
| Destructor.
|
|
|
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.
|
|
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.
|
|
|
std::vector< std::string > | _events |
| List of events.
|
|
IMU Observation storage class.
◆ VectorNavBinaryOutput()
NAV::VectorNavBinaryOutput::VectorNavBinaryOutput |
( |
const ImuPos & | imuPos | ) |
|
|
inlineexplicit |
Constructor.
- Parameters
-
[in] | imuPos | Reference to the position and rotation info of the Imu |
◆ getValueAt()
std::optional< double > NAV::VectorNavBinaryOutput::getValueAt |
( |
size_t | idx | ) |
const |
|
inlineoverridevirtual |
Get the value at the index.
- Parameters
-
idx | Index corresponding to data descriptor order |
- Returns
- Value if in the observation
Reimplemented from NAV::NodeData.
◆ parentTypes()
static std::vector< std::string > NAV::VectorNavBinaryOutput::parentTypes |
( |
| ) |
|
|
inlinestatic |
Returns the parent types of the data class.
- Returns
- The parent data types
◆ type()
static std::string NAV::VectorNavBinaryOutput::type |
( |
| ) |
|
|
inlinestatic |
Returns the type of the data class.
- Returns
- The data type
The documentation for this class was generated from the following file: