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::ModelPoseSensorMeasurement Class Reference
Inheritance diagram for MMM::ModelPoseSensorMeasurement:
[legend]

Public Member Functions

SensorMeasurementPtr clone () override
 
ModelPoseSensorMeasurementPtr clone (float newTimestep) override
 
bool equals (SensorMeasurementPtr sensorMeasurement) override
 
Eigen::Matrix4f getOffset ()
 
Eigen::Matrix4f getRootPose ()
 
Eigen::Matrix4f getRootPoseWithoutOffset ()
 
Eigen::Vector3f getRootPosition ()
 
Eigen::Quaternionf getRootRotation ()
 
Eigen::Vector3f getRootRotationRPY ()
 
void initializeModel (ModelPtr model, bool update) override
 
void mirrorMotion (const Eigen::Matrix4f &referencePose, const Eigen::Matrix4f &invertedReferencePose, const Eigen::Matrix4f &reflectionMatrix)
 
 ModelPoseSensorMeasurement (float timestep, const Eigen::Matrix4f &rootPose, SensorMeasurementType type=SensorMeasurementType::MEASURED)
 
 ModelPoseSensorMeasurement (float timestep, const Eigen::Vector3f &rootPosition, const Eigen::Quaternionf &rootRotation, SensorMeasurementType type=SensorMeasurementType::MEASURED)
 
 ModelPoseSensorMeasurement (float timestep, const Eigen::Vector3f &rootPosition, const Eigen::Vector3f &rootRotation, SensorMeasurementType type=SensorMeasurementType::MEASURED)
 
void scaleMotion (float scaleFactor)
 
void setOffset (const Eigen::Matrix4f &offset)
 
void setRootPose (const Eigen::Matrix4f &rootPose, bool resetOffset=true)
 
void shiftMotion (const Eigen::Vector3f &positionDelta)
 
void transform (const Eigen::Matrix4f &offsetTransformation)
 
- Public Member Functions inherited from MMM::InterpolatableSensorMeasurement< ModelPoseSensorMeasurement >
std::shared_ptr< ModelPoseSensorMeasurementinterpolateMeasurement (std::shared_ptr< ModelPoseSensorMeasurement > other, float timestep)
 
- Public Member Functions inherited from MMM::SensorMeasurement
virtual void appendDataXML (simox::xml::RapidXMLWrapperNodePtr node)
 
float getTimestep ()
 
SensorMeasurementType getType ()
 
bool isExtended ()
 
bool isInterpolated ()
 
void setType (SensorMeasurementType type)
 
std::string toXMLString ()
 

Protected Member Functions

void appendMeasurementDataXML (simox::xml::RapidXMLWrapperNodePtr measurementNode) override
 
ModelPoseSensorMeasurementPtr interpolate (ModelPoseSensorMeasurementPtr other, float timestep) override
 
- Protected Member Functions inherited from MMM::InterpolatableSensorMeasurement< ModelPoseSensorMeasurement >
 InterpolatableSensorMeasurement (float timestep, SensorMeasurementType type=SensorMeasurementType::MEASURED)
 
virtual std::shared_ptr< ModelPoseSensorMeasurementinterpolate (std::shared_ptr< ModelPoseSensorMeasurement > 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< ModelPoseSensorMeasurement >
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::ModelPoseSensorMeasurement::clone ( )
overridevirtual

Returns a copy of this sensor measurement.

Implements MMM::SensorMeasurement.

◆ equals()

bool MMM::ModelPoseSensorMeasurement::equals ( SensorMeasurementPtr  sensorMeasurement)
overridevirtual

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