ExMujoco.Types.Label (ExMujoco v0.2.3)

Copy Markdown View Source

mjtLabel_ — object labeling. From MuJoCo's headers, as numbers. All 18 values carry a number in the header.

Summary

Functions

mjLABEL_ACTUATOR is 8 — actuator labels.

mjLABEL_BODY is 1 — body labels.

mjLABEL_CAMERA is 5 — camera labels.

mjLABEL_CONSTRAINT is 9 — constraint labels.

mjLABEL_CONTACTFORCE is 15 — magnitude of contact force.

mjLABEL_CONTACTPOINT is 14 — contact information.

mjLABEL_FLEX is 10 — flex labels.

mjLABEL_GEOM is 3 — geom labels.

mjLABEL_ISLAND is 16 — id of island.

mjLABEL_JOINT is 2 — joint labels.

mjLABEL_LIGHT is 6 — light labels.

mjNLABEL is 17 — number of label types.

mjLABEL_NONE is 0 — nothing.

mjLABEL_SELECTION is 12 — selected object.

mjLABEL_SELPNT is 13 — coordinates of selection point.

mjLABEL_SITE is 4 — site labels.

mjLABEL_SKIN is 11 — skin labels.

mjLABEL_TENDON is 7 — tendon labels.

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

t()

@type t() :: integer()

Functions

actuator()

@spec actuator() :: 8

mjLABEL_ACTUATOR is 8 — actuator labels.

body()

@spec body() :: 1

mjLABEL_BODY is 1 — body labels.

camera()

@spec camera() :: 5

mjLABEL_CAMERA is 5 — camera labels.

constraint()

@spec constraint() :: 9

mjLABEL_CONSTRAINT is 9 — constraint labels.

contactforce()

@spec contactforce() :: 15

mjLABEL_CONTACTFORCE is 15 — magnitude of contact force.

contactpoint()

@spec contactpoint() :: 14

mjLABEL_CONTACTPOINT is 14 — contact information.

flex()

@spec flex() :: 10

mjLABEL_FLEX is 10 — flex labels.

geom()

@spec geom() :: 3

mjLABEL_GEOM is 3 — geom labels.

island()

@spec island() :: 16

mjLABEL_ISLAND is 16 — id of island.

joint()

@spec joint() :: 2

mjLABEL_JOINT is 2 — joint labels.

light()

@spec light() :: 6

mjLABEL_LIGHT is 6 — light labels.

mjnlabel()

@spec mjnlabel() :: 17

mjNLABEL is 17 — number of label types.

none()

@spec none() :: 0

mjLABEL_NONE is 0 — nothing.

selection()

@spec selection() :: 12

mjLABEL_SELECTION is 12 — selected object.

selpnt()

@spec selpnt() :: 13

mjLABEL_SELPNT is 13 — coordinates of selection point.

site()

@spec site() :: 4

mjLABEL_SITE is 4 — site labels.

skin()

@spec skin() :: 11

mjLABEL_SKIN is 11 — skin labels.

tendon()

@spec tendon() :: 7

mjLABEL_TENDON is 7 — tendon labels.

to_atom(value)

@spec to_atom(integer() | atom()) :: atom() | nil

The name behind an integer. An atom is already one.

to_integer(value)

@spec to_integer(t() | atom()) :: integer() | nil

The integer behind a name. An integer is already one.

values()

@spec values() :: [{atom(), integer()}]

Every value, as {name, integer}, in the order the header lists them.