raisim::MimicConstraintDefinition
struct · #include <raisim/constraints/MimicConstraint.hpp>
Description of a mimic constraint, as parsed from URDF (<mimic>) or MJCF (<equality><joint>): the follower joint's position is kept at multiplier * (leader position) + offset.
Public attributes
follower
cpp
std::string followerName of the constrained (follower) joint.
leader
cpp
std::string leaderName of the joint it follows (leader).
multiplier
cpp
double multiplierRatio between the follower's and the leader's position (and velocity).
offset
cpp
double offsetFollower position when the leader is at zero [rad or m].