mjtJoint — type of degree of freedom. From MuJoCo's headers, as numbers. All 4 values carry a number in the header.
Summary
Functions
mjJNT_BALL is 1 — orientation (quat) relative to parent (4).
mjJNT_FREE is 0 — global position and orientation (quat) (7).
mjJNT_HINGE is 3 — rotation angle (rad) around body-fixed axis (1).
mjJNT_SLIDE is 2 — sliding distance along body-fixed axis (1).
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 ball() :: 1
mjJNT_BALL is 1 — orientation (quat) relative to parent (4).
@spec free() :: 0
mjJNT_FREE is 0 — global position and orientation (quat) (7).
@spec hinge() :: 3
mjJNT_HINGE is 3 — rotation angle (rad) around body-fixed axis (1).
@spec slide() :: 2
mjJNT_SLIDE is 2 — sliding distance along body-fixed axis (1).
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.