A class for inertial information about a link. More...
#include <Inertial.hh>
Public Member Functions | |
| Inertial () | |
| Default Constructor. | |
| Inertial (double mass) | |
| Constructor. | |
| Inertial (const Inertial &_inertial) | |
| Copy constructor. | |
| virtual | ~Inertial () |
| Destructor. | |
| void | Load (sdf::ElementPtr _sdf) |
| void | UpdateParameters (sdf::ElementPtr &_sdf) |
| update the parameters using new sdf values | |
| double | GetLinearDamping () |
| double | GetAngularDamping () |
| void | SetLinearDamping (double _damping) |
| void | SetAngularDamping (double _damping) |
| void | Reset () |
| Reset all the mass properties. | |
| void | SetMass (double m) |
| Set the mass. | |
| double | GetMass () const |
| Get the mass. | |
| void | SetInertiaMatrix (double ixx, double iyy, double izz, double ixy, double ixz, double iyz) |
| Set the mass matrix. | |
| void | SetCoG (double cx, double cy, double cz) |
| Set the center of gravity. | |
| void | SetCoG (const math::Vector3 &c) |
| Set the center of gravity. | |
| const math::Vector3 & | GetCoG () const |
| Get the center of gravity. | |
| const math::Pose | GetPose () const |
| math::Vector3 | GetPrincipalMoments () const |
| Get the prinicpal moments of inertia (Ixx, Iyy, Izz) | |
| math::Vector3 | GetProductsofInertia () const |
| Get the products of inertia (Ixy, Ixy, Iyz) | |
| double | GetIXX () const |
| double | GetIYY () const |
| double | GetIZZ () const |
| double | GetIXY () const |
| double | GetIXZ () const |
| double | GetIYZ () const |
| void | SetIXX (double _v) |
| void | SetIYY (double _v) |
| void | SetIZZ (double _v) |
| void | SetIXY (double _v) |
| void | SetIXZ (double _v) |
| void | SetIYZ (double _v) |
| void | Rotate (const math::Quaternion &rot) |
| Rotate this mass. | |
| void | operator= (const Inertial &_inertial) |
| Equal operator. | |
| Inertial | operator+ (const Inertial &_inertial) const |
| const Inertial & | operator+= (const Inertial &_inertial) |
| void | ProcessMsg (const msgs::Inertial &_msg) |
| Update parameters from a message. | |
Friends | |
| std::ostream & | operator<< (std::ostream &out, const gazebo::physics::Inertial &_inertial) |
A class for inertial information about a link.
| void ProcessMsg | ( | const msgs::Inertial & | _msg | ) |
Update parameters from a message.
| _msg | Message to read |
1.7.5.1