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

Public Member Functions

SensorMeasurementPtr clone ()
 
MoCapMarkerSensorMeasurementPtr clone (float newTimestep)
 
bool equals (SensorMeasurementPtr sensorMeasurement)
 
std::map< std::string, Eigen::Vector3f > getLabeledMarker ()
 
Eigen::Vector3f getLabeledMarker (const std::string &label)
 
std::vector< Eigen::Vector3f > getUnlabeledMarker ()
 
bool hasMarker (const std::string &label)
 
 MoCapMarkerSensorMeasurement (float timestep, const std::map< std::string, Eigen::Vector3f > &marker, const std::vector< Eigen::Vector3f > &unlabeledMarker, SensorMeasurementType type=SensorMeasurementType::MEASURED)
 
 MoCapMarkerSensorMeasurement (float timestep, MarkerDataPtr markerData, SensorMeasurementType type=SensorMeasurementType::MEASURED)
 
void scaleMotion (float scaleFactor)
 
void shiftMotion (const Eigen::Vector3f &positionDelta)
 
bool switchLabel (const std::string &markerNameA, const std::string &markerNameB)
 
bool updateMarkerData (const Eigen::Vector3f &data, const std::string &label)
 
- Public Member Functions inherited from MMM::InterpolatableSensorMeasurement< MoCapMarkerSensorMeasurement >
std::shared_ptr< MoCapMarkerSensorMeasurementinterpolateMeasurement (std::shared_ptr< MoCapMarkerSensorMeasurement > 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)
 
MoCapMarkerSensorMeasurementPtr interpolate (MoCapMarkerSensorMeasurementPtr other, float timestep)
 
- Protected Member Functions inherited from MMM::InterpolatableSensorMeasurement< MoCapMarkerSensorMeasurement >
 InterpolatableSensorMeasurement (float timestep, SensorMeasurementType type=SensorMeasurementType::MEASURED)
 
virtual std::shared_ptr< MoCapMarkerSensorMeasurementinterpolate (std::shared_ptr< MoCapMarkerSensorMeasurement > 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< MoCapMarkerSensorMeasurement >
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::MoCapMarkerSensorMeasurement::clone ( )
virtual

Returns a copy of this sensor measurement.

Implements MMM::SensorMeasurement.

◆ equals()

bool MMM::MoCapMarkerSensorMeasurement::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