mjtConstraint — type of constraint. From MuJoCo's headers, as numbers. All 8 values carry a number in the header.
Summary
Functions
mjCNSTR_CONTACT_ELLIPTIC is 7 — frictional contact, elliptic friction cone.
mjCNSTR_CONTACT_FRICTIONLESS is 5 — frictionless contact.
mjCNSTR_CONTACT_PYRAMIDAL is 6 — frictional contact, pyramidal friction cone.
mjCNSTR_EQUALITY is 0 — equality constraint.
mjCNSTR_FRICTION_DOF is 1 — dof friction.
mjCNSTR_FRICTION_TENDON is 2 — tendon friction.
mjCNSTR_LIMIT_JOINT is 3 — joint limit.
mjCNSTR_LIMIT_TENDON is 4 — tendon limit.
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.
Types
@type t() :: integer()
Functions
@spec contact_elliptic() :: 7
mjCNSTR_CONTACT_ELLIPTIC is 7 — frictional contact, elliptic friction cone.
@spec contact_frictionless() :: 5
mjCNSTR_CONTACT_FRICTIONLESS is 5 — frictionless contact.
@spec contact_pyramidal() :: 6
mjCNSTR_CONTACT_PYRAMIDAL is 6 — frictional contact, pyramidal friction cone.
@spec equality() :: 0
mjCNSTR_EQUALITY is 0 — equality constraint.
@spec friction_dof() :: 1
mjCNSTR_FRICTION_DOF is 1 — dof friction.
@spec friction_tendon() :: 2
mjCNSTR_FRICTION_TENDON is 2 — tendon friction.
@spec limit_joint() :: 3
mjCNSTR_LIMIT_JOINT is 3 — joint limit.
@spec limit_tendon() :: 4
mjCNSTR_LIMIT_TENDON is 4 — tendon limit.
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.