raisim::Tendon::Drive
struct · #include <raisim/constraints/Tendon.hpp>
Actuator acting along the tendon. The commanded force is filtered(force) + positionGain*(targetLength - length) + velocityGain*(targetVelocity - velocity), integrated implicitly and clamped to [Properties::actuationLower, Properties::actuationUpper]. Positive force lengthens the tendon.
Public attributes
force
cpp
double forceSigned feedforward force in tendon coordinates.
targetLength
cpp
double targetLengthTarget length for the position gain (m for spatial tendons).
targetVelocity
cpp
double targetVelocityTarget length rate for the velocity gain.
positionGain
cpp
double positionGainProportional gain (nonnegative).
velocityGain
cpp
double velocityGainDerivative gain (nonnegative).
activationTime
cpp
double activationTimeFirst-order force activation time; zero is instantaneous.