file
CommonConversions.hNamespaces
- namespace BipedalLocomotion
- namespace BipedalLocomotion::Conversions
Functions
-
template<class Scalar>auto toEigenPose(const Eigen::Matrix<Scalar, 3, 3>& rotation, const Eigen::Matrix<Scalar, 3, 1>& translation) -> Eigen::Matrix<Scalar, 4, 4>
- Construct homogeneous transformation matrix from rotation matrix and translation vector.
Function documentation
template<class Scalar>
Eigen::Matrix<Scalar, 4, 4> toEigenPose(const Eigen::Matrix<Scalar, 3, 3>& rotation,
const Eigen::Matrix<Scalar, 3, 1>& translation)
Construct homogeneous transformation matrix from rotation matrix and translation vector.
Parameters | |
---|---|
rotation | reference of rotation matrix |
translation | reference of translation vector |
Returns | homogeneous transform as a Eigen::Matrix4d object |