#include <rocky_joint_api.hpp>
Public Member Functions
Detailed Description
IRockyJoint is an interface for the internal joint object in Rocky. It contains methods that give access to joint physical properties and geometric data, in order to implement a custom model for the response of a joint to deformations. All property and variable values made available through IRockyJoint are dimensionless.
When it is necessary to distinguish between the two elements linked by a joint, one is referred to as home element, whereas the other is referred to as near element. The local coordinate framework associated to a joint has the normal unit vector always pointing from the home element to the near element. Whenever the name of a method or object associated to a joint includes the prefix home or near, that means the method or object is related to the home or near element.
Member Function Documentation
get_angle_scaling_factor()
get_angular_damping_coefficient()
Returns
A damping coefficient calculated with one of the following equations of the DEM Technical Manual: equation 3.25 if deformation_direction = 0, equation 3.26 if deformation_direction = 1, or equation 3.27 if deformation_direction = 2.
get_angular_deformation()
Returns
The value of the angle for the given direction.
get_angular_deformation_direction()
Returns
The unit vector in Cartesian coordinates associated to for the given direction.
get_angular_deformation_velocity()
Returns
The magnitude of the angular deformation velocity for the given direction.
get_angular_stiffness()
Returns
A stiffness value calculated with one of the following equations of the DEM Technical Manual: equation 3.10 if deformation_direction = 0, equation 3.11 if deformation_direction = 1, or equation 3.12 if deformation_direction = 2.
get_area()
get_area_moment_of_inertia()
Returns
The area moment of inertia of the cross section of the joint associated to deformation_direction. If deformation_direction = 0, the polar area moment of inertia is returned.
get_bending_elastic_ratio()
get_damping_force()
get_damping_moment()
get_elastic_force()
get_elastic_moment()
get_element_tags()
get_equivalent_mass()
get_home_arm()
get_home_element_centroid_position()
get_home_element_orientation()
get_joint_damping_ratio()
get_moments_due_to_force()
Returns
A tuple of two vectors in Cartesian coordinates, the first one is the moment on the home element, the second one is the moment on the near element.