ExMujoco.Types.Label (ExMujoco v0.1.1)

Copy Markdown View Source

mjtLabel_, from MuJoCo's headers, as numbers. All 18 values carry a number in the header.

Summary

Functions

mjLABEL_ACTUATOR is 8.

mjLABEL_BODY is 1.

mjLABEL_CAMERA is 5.

mjLABEL_CONSTRAINT is 9.

mjLABEL_CONTACTFORCE is 15.

mjLABEL_CONTACTPOINT is 14.

mjLABEL_FLEX is 10.

mjLABEL_GEOM is 3.

mjLABEL_ISLAND is 16.

mjLABEL_JOINT is 2.

mjLABEL_LIGHT is 6.

mjNLABEL is 17.

mjLABEL_NONE is 0.

mjLABEL_SELECTION is 12.

mjLABEL_SELPNT is 13.

mjLABEL_SITE is 4.

mjLABEL_SKIN is 11.

mjLABEL_TENDON is 7.

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.

body()

@spec body() :: 1

mjLABEL_BODY is 1.

camera()

@spec camera() :: 5

mjLABEL_CAMERA is 5.

constraint()

@spec constraint() :: 9

mjLABEL_CONSTRAINT is 9.

contactforce()

@spec contactforce() :: 15

mjLABEL_CONTACTFORCE is 15.

contactpoint()

@spec contactpoint() :: 14

mjLABEL_CONTACTPOINT is 14.

flex()

@spec flex() :: 10

mjLABEL_FLEX is 10.

geom()

@spec geom() :: 3

mjLABEL_GEOM is 3.

island()

@spec island() :: 16

mjLABEL_ISLAND is 16.

joint()

@spec joint() :: 2

mjLABEL_JOINT is 2.

light()

@spec light() :: 6

mjLABEL_LIGHT is 6.

mjnlabel()

@spec mjnlabel() :: 17

mjNLABEL is 17.

none()

@spec none() :: 0

mjLABEL_NONE is 0.

selection()

@spec selection() :: 12

mjLABEL_SELECTION is 12.

selpnt()

@spec selpnt() :: 13

mjLABEL_SELPNT is 13.

site()

@spec site() :: 4

mjLABEL_SITE is 4.

skin()

@spec skin() :: 11

mjLABEL_SKIN is 11.

tendon()

@spec tendon() :: 7

mjLABEL_TENDON is 7.

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.