Karlsruhe Institute of Technology (KIT) Logo

Master Motor Map

Whole-body human reference model and tools for unifying representations of whole-body human motion

Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
MMM::SensorMeasurement Class Referenceabstract

The public interface for the sensor measurement classes. More...

#include <SensorMeasurement.h>

Inheritance diagram for MMM::SensorMeasurement:
[legend]

Public Member Functions

virtual void appendDataXML (simox::xml::RapidXMLWrapperNodePtr node)
 
virtual SensorMeasurementPtr clone ()=0
 
virtual bool equals (SensorMeasurementPtr sensorMeasurement)=0
 
float getTimestep ()
 
SensorMeasurementType getType ()
 
virtual void initializeModel (ModelPtr, bool)
 
bool isExtended ()
 
bool isInterpolated ()
 
void setType (SensorMeasurementType type)
 
std::string toXMLString ()
 

Static Public Member Functions

template<typename Map >
static bool compare (Map const &m1, Map const &m2)
 
template<typename M , typename std::enable_if< std::is_base_of< SensorMeasurement, M >::value >::type * = nullptr>
static std::shared_ptr< M > getDerivedMeasurement (const std::map< float, std::shared_ptr< M >> &measurements, float timestep, float delta=0.0001)
 

Protected Member Functions

virtual void appendMeasurementDataXML (simox::xml::RapidXMLWrapperNodePtr measurementNode)=0
 
 SensorMeasurement (float timestep, SensorMeasurementType type=SensorMeasurementType::MEASURED)
 

Protected Attributes

float timestep
 
SensorMeasurementType type
 

Detailed Description

The public interface for the sensor measurement classes.

Member Function Documentation

◆ appendDataXML()

void MMM::SensorMeasurement::appendDataXML ( simox::xml::RapidXMLWrapperNodePtr  node)
virtual

Appends this sensor measurement as an xml representation to a given xml node.

Parameters
nodeThe xml node.
Here is the caller graph for this function:

◆ clone()

virtual SensorMeasurementPtr MMM::SensorMeasurement::clone ( )
pure virtual

◆ equals()

virtual bool MMM::SensorMeasurement::equals ( SensorMeasurementPtr  sensorMeasurement)
pure virtual

◆ toXMLString()

std::string MMM::SensorMeasurement::toXMLString ( )

Returns an xml string representation of this sensor measurement.

Here is the call graph for this function:

Field Documentation

◆ timestep

float MMM::SensorMeasurement::timestep
protected

Timestep of the sensor measurement.

◆ type

SensorMeasurementType MMM::SensorMeasurement::type
protected

Wheter this sensor measurement is measured value, interpolated or artifically extended.


The documentation for this class was generated from the following files:
KoroiBot Logo WALK-MAN Logo Xperience Logo SecondHands Logo TimeStorm Logo I-SUPPORT Logo
PACO-PLUS Logo SFB-588 Logo SPP1527 Logo