|
template<typename Scalar > |
static Mat33< Scalar > | buildInertiaTensor (Scalar Ixx, Scalar Iyy, Scalar Izz, Scalar Ixy, Scalar Ixz, Scalar Iyz) |
|
static Matrix33d | buildCrossProductMatrix (const Vector3d &in) |
|
template<typename Derived > |
static void | fillAsRotationMatrix (double rx, double ry, double rz, const MatrixBase< Derived > &mx) |
|
static Matrix33d | buildRotationMatrix (double rx, double ry, double rz) |
|
template<typename Scalar > |
static void | fillAsMotionCrossProductMx (const Vec6< Scalar > &v, Mat66< Scalar > &mx) |
|
template<typename Scalar > |
static void | fillAsForceCrossProductMx (const Vec6< Scalar > &v, Mat66< Scalar > &mx) |
|
template<typename D1 , typename D2 > |
static void | fillAsCrossProductMatrix (const MatrixBase< D2 > &in, const MatrixBase< D1 > &mx) |
|
template<typename Derived > |
static const MatrixBlock< const Derived, 3, 1 > | positionVector (const MatrixBase< Derived > &homT) |
|
template<typename Derived > |
static const MatrixBlock< const Derived, 3, 3 > | rotationMx (const MatrixBase< Derived > &homT) |
|
template<typename Derived > |
static const MatrixBlock< const Derived, 3, 1 > | zAxis (const MatrixBase< Derived > &homT) |
|
template<typename Derived , typename Other > |
static Vector3d | transform (const MatrixBase< Derived > &homT, const MatrixBase< Other > &vect3d) |
|
static void | randomVec (Vector6D &vec) |
|
static void | randomGravity (VelocityVector &g) |
|
template<class RT > |
static void | cmdlineargs_spatialv (int argc, char **argv, iit::rbd::Vector6D &vec) |
|
template<typename Derived , typename Other >
Applies a roto-translation to the given 3D vector. This function is provided for convenience, since a direct matrix product between a 4x4 matrix and a 3x1 vector is obviously not possible. It should also be slightly more efficient than taking the homogeneous representation of the 3D vector (4x1) and then compute the matrix product.
- Parameters
-
homT | a 4x4 homogeneous coordinate transform encoding the rotation and the translation |
vect3d | the 3x1 vector to be transformed |
- Returns
- the 3D vector that results from the rotation plus translation
References positionVector(), and rotationMx().
Referenced by iit::TestHyQ::getWholeBodyCOM().