Skip to content

raisim::MimicConstraint ​

struct · #include <raisim/constraints/MimicConstraint.hpp>

Internal: a resolved mimic constraint between two one-degree-of-freedom joints.

Public attributes ​

followerBody ​

cpp
size_t followerBody

Bodies whose parent joints are the follower and the leader.

leaderBody ​

cpp
size_t leaderBody

followerGv ​

cpp
size_t followerGv

Generalized velocity and coordinate indices of the two joints.

leaderGv ​

cpp
size_t leaderGv

followerGc ​

cpp
size_t followerGc

leaderGc ​

cpp
size_t leaderGc

multiplier ​

cpp
double multiplier

offset ​

cpp
double offset

problem ​

cpp
size_t problem

Index of this constraint's row in the world's contact problems in this step.

RaiSim — physics for robotics and AI.