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 | Protected Member Functions
MMM::CustomSensorMeasurement Class Reference
Inheritance diagram for MMM::CustomSensorMeasurement:
[legend]

Public Member Functions

void addCustomPose (CustomPosePtr customPose)
 
SensorMeasurementPtr clone ()
 
CustomSensorMeasurementPtr clone (float newTimestep)
 
 CustomSensorMeasurement (float timestep, const std::map< std::string, CustomPosePtr > &customPoses=std::map< std::string, CustomPosePtr >(), SensorMeasurementType type=SensorMeasurementType::MEASURED)
 
bool equals (SensorMeasurementPtr sensorMeasurement)
 
CustomPosePtr getCustomPose (const std::string &id)
 
std::map< std::string, CustomPosePtr > getCustomPoses ()
 
- Public Member Functions inherited from MMM::InterpolatableSensorMeasurement< CustomSensorMeasurement >
std::shared_ptr< CustomSensorMeasurementinterpolateMeasurement (std::shared_ptr< CustomSensorMeasurement > other, float timestep)
 
- Public Member Functions inherited from MMM::SensorMeasurement
virtual void appendDataXML (simox::xml::RapidXMLWrapperNodePtr node)
 
float getTimestep ()
 
SensorMeasurementType getType ()
 
virtual void initializeModel (ModelPtr, bool)
 
bool isExtended ()
 
bool isInterpolated ()
 
void setType (SensorMeasurementType type)
 
std::string toXMLString ()
 

Protected Member Functions

void appendMeasurementDataXML (simox::xml::RapidXMLWrapperNodePtr measurementNode)
 
CustomSensorMeasurementPtr interpolate (CustomSensorMeasurementPtr other, float timestep)
 
- Protected Member Functions inherited from MMM::InterpolatableSensorMeasurement< CustomSensorMeasurement >
 InterpolatableSensorMeasurement (float timestep, SensorMeasurementType type=SensorMeasurementType::MEASURED)
 
virtual std::shared_ptr< CustomSensorMeasurementinterpolate (std::shared_ptr< CustomSensorMeasurement > other, float timestep)=0
 
- Protected Member Functions inherited from MMM::SensorMeasurement
 SensorMeasurement (float timestep, SensorMeasurementType type=SensorMeasurementType::MEASURED)
 

Additional Inherited Members

- Static Public Member Functions inherited from MMM::InterpolatableSensorMeasurement< CustomSensorMeasurement >
static Eigen::Vector3f linearAngleInterpolation (const Eigen::Vector3f &value1, float v1_timestep, const Eigen::Vector3f &value2, float v2_timestep, float timestep)
 Linear Angle Interpolation of Vector3f.
 
static Eigen::Vector3f linearInterpolation (const Eigen::Vector3f &value1, float v1_timestep, const Eigen::Vector3f &value2, float v2_timestep, float timestep)
 Linear Interpolation of Vector3f.
 
static float linearInterpolation (float value1, float v1_timestep, float value2, float v2_timestep, float timestep)
 Linear Interpolation of float values.
 
- Static Public Member Functions inherited from MMM::SensorMeasurement
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 Attributes inherited from MMM::SensorMeasurement
float timestep
 
SensorMeasurementType type
 

Member Function Documentation

◆ clone()

SensorMeasurementPtr MMM::CustomSensorMeasurement::clone ( )
virtual

Returns a copy of this sensor measurement.

Implements MMM::SensorMeasurement.

◆ equals()

bool MMM::CustomSensorMeasurement::equals ( SensorMeasurementPtr  sensorMeasurement)
virtual

Checks if specific sensor measurement values are equal. (not checking timestep or interpolated)

Implements MMM::SensorMeasurement.


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