Cheetah Software
1.0
|
#include <SpatialInertia.h>
Public Member Functions | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | SpatialInertia (T mass, const Vec3< T > &com, const Mat3< T > &inertia) |
SpatialInertia (const Mat6< T > &inertia) | |
SpatialInertia () | |
SpatialInertia (const MassProperties< T > &a) | |
SpatialInertia (const Mat4< T > &P) | |
MassProperties< T > | asMassPropertyVector () |
const Mat6< T > & | getMatrix () const |
void | setMatrix (const Mat6< T > &mat) |
void | addMatrix (const Mat6< T > &mat) |
T | getMass () |
Vec3< T > | getCOM () |
Mat3< T > | getInertiaTensor () |
Mat4< T > | getPseudoInertia () |
SpatialInertia | flipAlongAxis (CoordinateAxis axis) |
Private Attributes | |
Mat6< T > | _inertia |
Representation of Rigid Body Inertia as a 6x6 Spatial Inertia Tensor
Definition at line 25 of file SpatialInertia.h.
|
inline |
Construct spatial inertia from mass, center of mass, and 3x3 rotational inertia
Definition at line 32 of file SpatialInertia.h.
|
inlineexplicit |
|
inline |
|
inlineexplicit |
Construct spatial inertia from mass property vector
Definition at line 54 of file SpatialInertia.h.
|
inlineexplicit |
Construct spatial inertia from pseudo-inertia. This is described in Linear Matrix Inequalities for Physically Consistent Inertial Parameter Identification: A Statistical Perspective on the Mass Distribution, by Wensing, Kim, Slotine
P |
Definition at line 77 of file SpatialInertia.h.
|
inline |
Definition at line 108 of file SpatialInertia.h.
|
inline |
Convert spatial inertia to mass property vector
Definition at line 93 of file SpatialInertia.h.
|
inline |
Flip inertia matrix around an axis. This isn't efficient, but it works!
Definition at line 158 of file SpatialInertia.h.
|
inline |
Get center of mass location
Definition at line 118 of file SpatialInertia.h.
|
inline |
Get 3x3 rotational inertia
Definition at line 128 of file SpatialInertia.h.
|
inline |
Get mass
Definition at line 113 of file SpatialInertia.h.
|
inline |
Get 6x6 spatial inertia
Definition at line 104 of file SpatialInertia.h.
|
inline |
Convert to 4x4 pseudo-inertia matrix. This is described in Linear Matrix Inequalities for Physically Consistent Inertial Parameter Identification: A Statistical Perspective on the Mass Distribution, by Wensing, Kim, Slotine
Definition at line 142 of file SpatialInertia.h.
|
inline |
Definition at line 106 of file SpatialInertia.h.
|
private |
Definition at line 172 of file SpatialInertia.h.