mjtEq — type of equality constraint. From MuJoCo's headers, as numbers. All 8 values carry a number in the header.
Summary
Functions
mjEQ_CONNECT is 0 — connect two bodies at a point (ball joint).
mjEQ_DISTANCE is 7 — unsupported, will cause an error if used.
mjEQ_FLEX is 4 — fix all edge lengths of a flex.
mjEQ_FLEXSTRAIN is 6 — constrain strain of a trilinear/quadratic flex (B-bar).
mjEQ_FLEXVERT is 5 — unsupported, will cause an error if used.
mjEQ_JOINT is 2 — couple the values of two scalar joints with cubic.
mjEQ_TENDON is 3 — couple the lengths of two tendons with cubic.
The name behind an integer. An atom is already one.
The integer behind a name. An integer is already one.
Every value, as {name, integer}, in the order the header lists them.
mjEQ_WELD is 1 — fix relative position and orientation of two bodies.
Types
@type t() :: integer()
Functions
@spec connect() :: 0
mjEQ_CONNECT is 0 — connect two bodies at a point (ball joint).
@spec distance() :: 7
mjEQ_DISTANCE is 7 — unsupported, will cause an error if used.
@spec flex() :: 4
mjEQ_FLEX is 4 — fix all edge lengths of a flex.
@spec flexstrain() :: 6
mjEQ_FLEXSTRAIN is 6 — constrain strain of a trilinear/quadratic flex (B-bar).
@spec flexvert() :: 5
mjEQ_FLEXVERT is 5 — unsupported, will cause an error if used.
@spec joint() :: 2
mjEQ_JOINT is 2 — couple the values of two scalar joints with cubic.
@spec tendon() :: 3
mjEQ_TENDON is 3 — couple the lengths of two tendons with cubic.
The name behind an integer. An atom is already one.
The integer behind a name. An integer is already one.
Every value, as {name, integer}, in the order the header lists them.
@spec weld() :: 1
mjEQ_WELD is 1 — fix relative position and orientation of two bodies.