|
| Eigen::MatrixXf | _customMatrix |
| | Custom Matrix for debugging purposes only DO NOT USE! Will be removed in future versions! More...
|
| |
|
Eigen::VectorXf | joint |
| | The joint values.
|
| |
|
Eigen::VectorXf | joint_acc |
| | The joint accelerations (optional)
|
| |
|
Eigen::VectorXf | joint_vel |
| | The joint velocities (optional)
|
| |
|
float | timestep |
| | The timestep (s)
|
| |
|
|
std::map< std::string, MotionFrameEntryPtr > | motionFrameEntries |
| | Here, custom motion data fields can be stored.
|
| |
|
unsigned int | ndof |
| | The number of Degrees of Freedom.
|
| |
◆ MotionFrame()
| MMM::MotionFrame::MotionFrame |
( |
const MotionFrame & |
inpSrc | ) |
|
◆ addEntry()
| bool MMM::MotionFrame::addEntry |
( |
const std::string & |
name, |
|
|
MotionFrameEntryPtr |
entry |
|
) |
| |
Adds a custom motion data entry.
Silently overwrites existing entries with same name (lowercase).
- Parameters
-
| name | The name is used to identify the custom data. Internally it is converted to lowercase. |
| entry | The data to store. |
- Returns
- True on success.
◆ getRootPos()
| Eigen::Vector3f MMM::MotionFrame::getRootPos |
( |
| ) |
|
Returns standard entry "RootPosition". This is the 3D position of the model's root coordinate system in millimeters.
◆ getRootPosAcc()
| Eigen::Vector3f MMM::MotionFrame::getRootPosAcc |
( |
| ) |
|
Returns standard entry "RootPositionAcceleration" This is the acceleration of the model's root coordinate system.
◆ getRootPose()
| Eigen::Matrix4f MMM::MotionFrame::getRootPose |
( |
| ) |
|
Returns the root pose as homogeneous 4x4 matrix. Position is given in millimeters.
◆ getRootPosVel()
| Eigen::Vector3f MMM::MotionFrame::getRootPosVel |
( |
| ) |
|
Returns standard entry "RootPositionVelocity". This is the velocity of the model's root coordinate system.
◆ getRootRot()
| Eigen::Vector3f MMM::MotionFrame::getRootRot |
( |
| ) |
|
Returns standard entry "RootRotation". This is the orientation of the model's root coordinate system. Specified in Roll Pitch Yaw angles.
◆ getRootRotAcc()
| Eigen::Vector3f MMM::MotionFrame::getRootRotAcc |
( |
| ) |
|
Returns standard entry "RootRotationAcceleration" This is the rotation acceleration of the model's root coordinate system.
◆ getRootRotVel()
| Eigen::Vector3f MMM::MotionFrame::getRootRotVel |
( |
| ) |
|
Returns standard entry "RootRotationVelocity". This is the rotation velocity of the model's root coordinate system.
◆ setRootPos()
| bool MMM::MotionFrame::setRootPos |
( |
const Eigen::Vector3f & |
pos | ) |
|
Sets the standard entry "RootPosition". This is the 3D position of the model's root coordinate system in millimeters.
◆ setRootPosAcc()
| bool MMM::MotionFrame::setRootPosAcc |
( |
const Eigen::Vector3f & |
posAcc | ) |
|
Sets the standard entry "RootPositionAcceleration" This is the acceleration of the model's root coordinate system.
◆ setRootPose()
| bool MMM::MotionFrame::setRootPose |
( |
const Eigen::Matrix4f & |
pose | ) |
|
Sets the root pose as homogeneous 4x4 matrix. Position is given in millimeters.
◆ setRootPosVel()
| bool MMM::MotionFrame::setRootPosVel |
( |
const Eigen::Vector3f & |
posVel | ) |
|
Sets the standard entry "RootPositionVelocity". This is the velocity of the model's root coordinate system.
◆ setRootRot()
| bool MMM::MotionFrame::setRootRot |
( |
const Eigen::Vector3f & |
rot | ) |
|
Sets the standard entry "RootRotation". This is the orientation of the model's root coordinate system. Specified in Roll Pitch Yaw angles.
◆ setRootRotAcc()
| bool MMM::MotionFrame::setRootRotAcc |
( |
const Eigen::Vector3f & |
rotAcc | ) |
|
Sets the standard entry "RootRotationAcceleration" This is the rotation acceleration of the model's root coordinate system.
◆ setRootRotVel()
| bool MMM::MotionFrame::setRootRotVel |
( |
const Eigen::Vector3f & |
rotVel | ) |
|
Sets the standard entry "RootRotationVelocity". This is the rotation velocity of the model's root coordinate system.
◆ _customMatrix
| Eigen::MatrixXf MMM::MotionFrame::_customMatrix |
Custom Matrix for debugging purposes only DO NOT USE! Will be removed in future versions!
The documentation for this class was generated from the following files:
- /builds/sw/mmm/core/MMM/Motion/Legacy/MotionFrame.h
- /builds/sw/mmm/core/MMM/Motion/Legacy/MotionFrame.cpp