MassData embeds information about the inertial mass of a physical object. More...
#include <alrobotmodel.h>
Public Member Functions | |
MassData () | |
creates an empty MassData, you should not use this. | |
virtual | ~MassData () |
destructor. | |
float | mass () const |
returns the mass in Kg. | |
const AL::Math::Position3D & | CoM () const |
returns the Center of Mass, relative to the frame of the object, defined in meters in a vector AL::Math::Position3D. | |
const std::vector< float > & | inertiaMatrix () const |
Inertia matrix, see Motion's module reference in Aldebaran's Documentation to have more details. | |
Public Attributes | |
class MassDataImpl * | a_impl |
Private implementation. |
MassData embeds information about the inertial mass of a physical object.
Definition at line 463 of file alrobotmodel.h.
const AL::Math::Position3D& Sim::MassData::CoM | ( | ) | const |
returns the Center of Mass, relative to the frame of the object, defined in meters in a vector AL::Math::Position3D.