alrobotmodel  2.1.4.13
 All Classes Functions Variables Enumerations Enumerator Pages
Public Member Functions | Public Attributes | List of all members
Sim::MassData Class Reference

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.
 

Detailed Description

MassData embeds information about the inertial mass of a physical object.

Definition at line 470 of file alrobotmodel.h.

Constructor & Destructor Documentation

Sim::MassData::MassData ( )

creates an empty MassData, you should not use this.

Warning
The MassData being empty, every access to this object will throw.

Member Function Documentation

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.

Remarks
See the C++ reference of libalmath in Aldebaran's Documentation for more details on AL::Math::Position3D.

The documentation for this class was generated from the following file: