Whole-body human reference model and tools for unifying representations of whole-body human motion
Template for interpolatable sensor measurements. More...
#include <InterpolatableSensorMeasurement.h>
Public Member Functions | |
| std::shared_ptr< M > | interpolateMeasurement (std::shared_ptr< M > other, float timestep) |
Public Member Functions inherited from MMM::SensorMeasurement | |
| 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 | |
| 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 Member Functions | |
| InterpolatableSensorMeasurement (float timestep, SensorMeasurementType type=SensorMeasurementType::MEASURED) | |
| virtual std::shared_ptr< M > | interpolate (std::shared_ptr< M > other, float timestep)=0 |
Protected Member Functions inherited from MMM::SensorMeasurement | |
| virtual void | appendMeasurementDataXML (simox::xml::RapidXMLWrapperNodePtr measurementNode)=0 |
| SensorMeasurement (float timestep, SensorMeasurementType type=SensorMeasurementType::MEASURED) | |
Additional Inherited Members | |
Protected Attributes inherited from MMM::SensorMeasurement | |
| float | timestep |
| SensorMeasurementType | type |
Template for interpolatable sensor measurements.