MIP_SDK  v3.0.0
MicroStrain Communications Library for embedded systems
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
mip::data_sensor::OdometerData Struct Reference

#include <data_sensor.hpp>

Public Member Functions

auto asTuple () const
 
auto asTuple ()
 
void insert (Serializer &serializer) const
 Serialization. More...
 
void extract (Serializer &serializer)
 

Public Attributes

float speed = 0
 Parameters. More...
 
float uncertainty = 0
 Uncertainty of velocity [m/s]. More...
 
uint16_t valid_flags = 0
 If odometer is configured, bit 0 will be set to 1. More...
 

Static Public Attributes

static constexpr const uint8_t DESCRIPTOR_SET = ::mip::data_sensor::DESCRIPTOR_SET
 Descriptors. More...
 
static constexpr const uint8_t FIELD_DESCRIPTOR = ::mip::data_sensor::DATA_ODOMETER
 
static constexpr const CompositeDescriptor DESCRIPTOR = {DESCRIPTOR_SET, FIELD_DESCRIPTOR}
 
static constexpr const char * NAME = "OdometerData"
 
static constexpr const char * DOC_NAME = "OdometerData"
 
static constexpr const bool HAS_FUNCTION_SELECTOR = false
 

Member Function Documentation

◆ asTuple() [1/2]

auto mip::data_sensor::OdometerData::asTuple ( )
inline

◆ asTuple() [2/2]

auto mip::data_sensor::OdometerData::asTuple ( ) const
inline

◆ extract()

void mip::data_sensor::OdometerData::extract ( Serializer serializer)

◆ insert()

void mip::data_sensor::OdometerData::insert ( Serializer serializer) const

Serialization.

Member Data Documentation

◆ DESCRIPTOR

constexpr const CompositeDescriptor mip::data_sensor::OdometerData::DESCRIPTOR = {DESCRIPTOR_SET, FIELD_DESCRIPTOR}
staticconstexpr

◆ DESCRIPTOR_SET

constexpr const uint8_t mip::data_sensor::OdometerData::DESCRIPTOR_SET = ::mip::data_sensor::DESCRIPTOR_SET
staticconstexpr

Descriptors.

◆ DOC_NAME

constexpr const char* mip::data_sensor::OdometerData::DOC_NAME = "OdometerData"
staticconstexpr

◆ FIELD_DESCRIPTOR

constexpr const uint8_t mip::data_sensor::OdometerData::FIELD_DESCRIPTOR = ::mip::data_sensor::DATA_ODOMETER
staticconstexpr

◆ HAS_FUNCTION_SELECTOR

constexpr const bool mip::data_sensor::OdometerData::HAS_FUNCTION_SELECTOR = false
staticconstexpr

◆ NAME

constexpr const char* mip::data_sensor::OdometerData::NAME = "OdometerData"
staticconstexpr

◆ speed

float mip::data_sensor::OdometerData::speed = 0

Parameters.

Average speed over the time interval [m/s]. Can be negative for quadrature encoders.

◆ uncertainty

float mip::data_sensor::OdometerData::uncertainty = 0

Uncertainty of velocity [m/s].

◆ valid_flags

uint16_t mip::data_sensor::OdometerData::valid_flags = 0

If odometer is configured, bit 0 will be set to 1.


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