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. More... | |
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. More... | |
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 470 of file alrobotmodel.h.
Sim::MassData::MassData | ( | ) |
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.