52       public: 
explicit Inertial(
double _mass);
 
   63       public: 
void Load(sdf::ElementPtr _sdf);
 
   67       public: 
void UpdateParameters(sdf::ElementPtr _sdf);
 
   73       public: 
void SetMass(
double m);
 
   76       public: 
double GetMass() 
const;
 
   85       public: 
void SetInertiaMatrix(
double _ixx, 
double _iyy, 
double _izz,
 
   86                                      double _ixy, 
double _ixz, 
double iyz);
 
   92       public: 
void SetCoG(
double _cx, 
double _cy, 
double _cz);
 
  106       public: 
void SetCoG(
double _cx, 
double _cy, 
double _cz,
 
  107                           double _rx, 
double _ry, 
double _rz);
 
  117                 return this->cog.pos;
 
  138       public: 
double GetIXX() 
const;
 
  142       public: 
double GetIYY() 
const;
 
  146       public: 
double GetIZZ() 
const;
 
  150       public: 
double GetIXY() 
const;
 
  154       public: 
double GetIXZ() 
const;
 
  158       public: 
double GetIYZ() 
const;
 
  162       public: 
void SetIXX(
double _v);
 
  166       public: 
void SetIYY(
double _v);
 
  170       public: 
void SetIZZ(
double _v);
 
  174       public: 
void SetIXY(
double _v);
 
  178       public: 
void SetIXZ(
double _v);
 
  182       public: 
void SetIYZ(
double _v);
 
  209       public: 
void ProcessMsg(
const msgs::Inertial &_msg);
 
  235                 _out << 
"Mass[" << _inertial.mass << 
"] CoG[" 
  236                     << _inertial.cog << 
"]\n";
 
  237                 _out << 
"IXX[" << _inertial.principals.
x << 
"] " 
  238                      << 
"IYY[" << _inertial.principals.
y << 
"] " 
  239                      << 
"IZZ[" << _inertial.principals.
z << 
"]\n";
 
  240                 _out << 
"IXY[" << _inertial.products.
x << 
"] " 
  241                      << 
"IXZ[" << _inertial.products.
y << 
"] " 
  242                      << 
"IYZ[" << _inertial.products.
z << 
"]\n";
 
  255       private: 
double mass;
 
  271       private: sdf::ElementPtr sdf;
 
  275       private: 
static sdf::ElementPtr sdfInertial;
 
#define GZ_PHYSICS_VISIBLE
Definition: system.hh:259
Encapsulates a position and rotation in three space. 
Definition: Pose.hh:37
The Vector3 class represents the generic vector containing 3 elements. 
Definition: Vector3.hh:39
double x
X location. 
Definition: Vector3.hh:311
double z
Z location. 
Definition: Vector3.hh:317
A 3x3 matrix class. 
Definition: Matrix3.hh:34
A class for inertial information about a link. 
Definition: Inertial.hh:45
const math::Pose GetPose() const 
Get the pose about which the mass and inertia matrix is specified in the Link frame. 
Definition: Inertial.hh:123
friend std::ostream & operator<<(std::ostream &_out, const gazebo::physics::Inertial &_inertial)
Output operator. 
Definition: Inertial.hh:232
A quaternion class. 
Definition: Quaternion.hh:42
const math::Vector3 & GetCoG() const 
Get the center of gravity. 
Definition: Inertial.hh:115
double y
Y location. 
Definition: Vector3.hh:314