Structure IRockyJointOutputData
Last update: 09.03.2026
#include
Members
Public functions
Function set_force
ROCKY_FUNCTIONS void IRockyJointOutputData::set_force(const double3 &value)
This method must be used to set the value of the joint force calculated by the module. Rocky will sum subsequently this force to other forces acting on the linked elements, considering the proper signs, in order to solve the motion equations of those elements. The use of this method by a module implementing a joint model is mandatory.
Parameters:
- force: The vector force in Cartesian coordinates, just calculated by the module.
Parameters:
- const double3 & value
Return type: ROCKY_FUNCTIONS void
Function set_home_moment
ROCKY_FUNCTIONS void IRockyJointOutputData::set_home_moment(const double3 &value)
This method must be used to set the value of the joint:
moment acting on the home element. Rocky will sum subsequently this moment to other moments acting on that element, in order to solve the motion equations. The use of this method by a module implementing a joint model is mandatory.
Parameters:
- moment: The vector moment acting on the home element, in Cartesian coordinates.
Parameters:
- const double3 & value
Return type: ROCKY_FUNCTIONS void
Function set_near_moment
ROCKY_FUNCTIONS void IRockyJointOutputData::set_near_moment(const double3 &value)
This method must be used to set the value of the joint moment acting on the near element. Rocky will sum subsequently this moment to other moments acting on that element, in order to solve the motion equations. The use of this method by a module implementing a joint model is mandatory.
Parameters:
- moment: The vector moment acting on the near element, in Cartesian coordinates.
Parameters:
- const double3 & value
Return type: ROCKY_FUNCTIONS void
[const]: https://img.shields.io/badge/-const-lightblue (const)