Go to the documentation of this file.
45 public:
explicit Inertial(
double _mass);
79 double _ixy,
double _ixz,
double iyz);
85 public:
void SetCoG(
double _cx,
double _cy,
double _cz);
99 public:
void SetCoG(
double _cx,
double _cy,
double _cz,
100 double _rx,
double _ry,
double _rz);
110 return this->cog.
pos;
131 public:
double GetIXX()
const;
135 public:
double GetIYY()
const;
139 public:
double GetIZZ()
const;
143 public:
double GetIXY()
const;
147 public:
double GetIXZ()
const;
151 public:
double GetIYZ()
const;
155 public:
void SetIXX(
double _v);
159 public:
void SetIYY(
double _v);
163 public:
void SetIZZ(
double _v);
167 public:
void SetIXY(
double _v);
171 public:
void SetIXZ(
double _v);
175 public:
void SetIYZ(
double _v);
202 public:
void ProcessMsg(
const msgs::Inertial &_msg);
228 _out <<
"Mass[" << _inertial.mass <<
"] CoG["
229 << _inertial.cog <<
"]\n";
230 _out <<
"IXX[" << _inertial.principals.
x <<
"] "
231 <<
"IYY[" << _inertial.principals.
y <<
"] "
232 <<
"IZZ[" << _inertial.principals.
z <<
"]\n";
233 _out <<
"IXY[" << _inertial.products.
x <<
"] "
234 <<
"IXZ[" << _inertial.products.
y <<
"] "
235 <<
"IYZ[" << _inertial.products.
z <<
"]\n";
248 private:
double mass;