Skip to content

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 force

Signed feedforward force in tendon coordinates.

targetLength ​

cpp
double targetLength

Target length for the position gain (m for spatial tendons).

targetVelocity ​

cpp
double targetVelocity

Target length rate for the velocity gain.

positionGain ​

cpp
double positionGain

Proportional gain (nonnegative).

velocityGain ​

cpp
double velocityGain

Derivative gain (nonnegative).

activationTime ​

cpp
double activationTime

First-order force activation time; zero is instantaneous.

RaiSim — physics for robotics and AI.