Wrench information from a joint. More...

#include <physics/physics.hh>

Public Member Functions

JointWrenchoperator+ (const JointWrench &_wrench)
 Operator +.
JointWrenchoperator- (const JointWrench &_wrench)
 Operator -.
JointWrenchoperator= (const JointWrench &_wrench)
 Operator =.

Public Attributes

ignition::math::Vector3d body1Force
 Force on the first link.
ignition::math::Vector3d body1Torque
 Torque on the first link.
ignition::math::Vector3d body2Force
 Force on the second link.
ignition::math::Vector3d body2Torque
 Torque on the second link.

Detailed Description

Wrench information from a joint.

These are forces and torques on parent and child Links, relative to the Joint frame immediately after rotation.

Member Function Documentation

◆ operator+()

JointWrench & operator+ ( const JointWrench & _wrench)
inline

Operator +.

Parameters
[in]_wrenchJoint wrench to add
Returns
*this

References body1Force, body1Torque, body2Force, and body2Torque.

◆ operator-()

JointWrench & operator- ( const JointWrench & _wrench)
inline

Operator -.

Parameters
[in]_wrenchJoint wrench to subtract
Returns
*this

References body1Force, body1Torque, body2Force, and body2Torque.

◆ operator=()

JointWrench & operator= ( const JointWrench & _wrench)
inline

Operator =.

Parameters
[in]_wrenchJoint wrench to set from.
Returns
*this

References body1Force, body1Torque, body2Force, and body2Torque.

Member Data Documentation

◆ body1Force

ignition::math::Vector3d body1Force

Force on the first link.

Referenced by operator+(), operator-(), and operator=().

◆ body1Torque

ignition::math::Vector3d body1Torque

Torque on the first link.

Referenced by operator+(), operator-(), and operator=().

◆ body2Force

ignition::math::Vector3d body2Force

Force on the second link.

Referenced by operator+(), operator-(), and operator=().

◆ body2Torque

ignition::math::Vector3d body2Torque

Torque on the second link.

Referenced by operator+(), operator-(), and operator=().


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