raisim::Tendon::Properties
struct · #include <raisim/constraints/Tendon.hpp>
Passive and limit parameters of a tendon. Forces are in tendon coordinates (N for spatial tendons). Validated by setProperties().
Public attributes
stiffness
double stiffnessSpring stiffness per unit tendon length (N/m for spatial tendons). Finite, nonnegative.
damping
double dampingDamping per unit tendon velocity (N s/m for spatial tendons). Finite, nonnegative.
springLower
double springLowerNaN/NaN captures initial length. Equal values define a rest length; unequal values define a spring deadband. [0, L] gives a pull-only cable. Outward infinite endpoints allow a one-sided spring: [L, +inf] only pushes.
springUpper
double springUpperUpper end of the spring rest interval (see springLower).
lowerLimit
double lowerLimitMinimum tendon length. If equal to upperLimit, the length is locked (bilateral limit).
upperLimit
double upperLimitMaximum tendon length.
limitMargin
double limitMarginOne-sided limits are enforced at lowerLimit + limitMargin and upperLimit - limitMargin. Ignored for a locked length.
limitCompliance
double limitComplianceInverse stiffness; zero gives a hard limit.
frictionLoss
double frictionLossDry-friction force threshold, including stiction.
frictionCompliance
double frictionComplianceCompliance (inverse stiffness) of the friction-loss constraint; zero is rigid.
armature
double armatureInertia added along the tendon length (kg for spatial tendons). Finite, nonnegative.
positionCorrection
double positionCorrectionFraction of constraint error corrected per step.
actuationLower
double actuationLowerLower bound of the drive (actuation) force.
actuationUpper
double actuationUpperUpper bound of the drive (actuation) force.
width
double widthRadius used for visualization.
color
Vec<4> colorVisualization color (RGBA).