Compact representation of spatial transformations. More...
#include <rdl_eigenmath.h>
Public Member Functions | |
SpatialVector | apply (const SpatialVector &v_sp) const |
Transform a spatial vector. Same as . More... | |
SpatialVector | applyAdjoint (const SpatialVector &f_sp) const |
Applies where is a spatial force. More... | |
SpatialVector | applyTranspose (const SpatialVector &f_sp) const |
Applies . More... | |
SpatialTransform | inverse () const |
Returns inverse of transform. More... | |
void | invert () |
Inverts in place. . More... | |
SpatialTransform | operator* (const SpatialTransform &XT) const |
Overloaded * operator for combining transforms. More... | |
void | operator*= (const SpatialTransform &XT) |
SpatialTransform () | |
Constructor. More... | |
SpatialTransform (const Matrix3d &rotation, const double x, const double y, const double z) | |
Constructor. More... | |
SpatialTransform (const Matrix3d &rotation, const Vector3d &translation) | |
Constructor. More... | |
SpatialTransform (const Matrix3d &rotation) | |
Constructor. More... | |
SpatialTransform (const Vector3d &translation) | |
Constructor. More... | |
SpatialMatrix | toMatrix () const |
Return transform as 6x6 spatial matrix. More... | |
SpatialMatrix | toMatrixAdjoint () const |
Returns Spatial transform that transforms spatial force vectors. More... | |
SpatialMatrix | toMatrixTranspose () const |
Returns spatial force transform transposed. More... | |
Public Attributes | |
Matrix3d | E |
Vector3d | r |
Compact representation of spatial transformations.
Instead of using a verbose 6x6 matrix, this structure only stores a 3x3 matrix and a 3-d vector to store spatial transformations. It also encapsulates efficient operations such as concatenations and transformation of spatial vectors.
Definition at line 337 of file rdl_eigenmath.h.
|
inline |
Constructor.
Definition at line 342 of file rdl_eigenmath.h.
|
inline |
Constructor.
rotation | Orthogonal rotation matrix |
x | X component |
y | Y component |
z | Z component |
Definition at line 353 of file rdl_eigenmath.h.
|
inline |
Constructor.
rotation | Orthogonal rotation matrix |
translation | 3D translational component |
Definition at line 362 of file rdl_eigenmath.h.
|
inlineexplicit |
Constructor.
rotation | Orthogonal rotation matrix |
translation | 3D translational component |
Definition at line 371 of file rdl_eigenmath.h.
|
inlineexplicit |
Constructor.
rotation | Orthogonal rotation matrix |
translation | 3D translational component |
Definition at line 380 of file rdl_eigenmath.h.
|
inline |
Transform a spatial vector. Same as .
v_sp | Spatial motion vector to be copied/transformed |
Definition at line 390 of file rdl_eigenmath.h.
|
inline |
Applies where is a spatial force.
f_sp | Spatial force vector |
Definition at line 421 of file rdl_eigenmath.h.
|
inline |
|
inline |
|
inline |
Inverts in place. .
Definition at line 496 of file rdl_eigenmath.h.
|
inline |
Overloaded * operator for combining transforms.
XT |
Definition at line 507 of file rdl_eigenmath.h.
|
inline |
Definition at line 512 of file rdl_eigenmath.h.
|
inline |
|
inline |
Returns Spatial transform that transforms spatial force vectors.
Definition at line 452 of file rdl_eigenmath.h.
|
inline |
Matrix3d RobotDynamics::Math::SpatialTransform::E |
Definition at line 518 of file rdl_eigenmath.h.
Vector3d RobotDynamics::Math::SpatialTransform::r |
Definition at line 519 of file rdl_eigenmath.h.