ExMujoco.Types.Stage (ExMujoco v0.1.1)

Copy Markdown View Source

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

Summary

Functions

mjSTAGE_ACC is 3.

mjSTAGE_NONE is 0.

mjSTAGE_POS is 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.

mjSTAGE_VEL is 2.

Types

t()

@type t() :: integer()

Functions

acc()

@spec acc() :: 3

mjSTAGE_ACC is 3.

none()

@spec none() :: 0

mjSTAGE_NONE is 0.

pos()

@spec pos() :: 1

mjSTAGE_POS is 1.

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.

vel()

@spec vel() :: 2

mjSTAGE_VEL is 2.