ExMujoco.Types.Frame (ExMujoco v0.1.1)

Copy Markdown View Source

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

Summary

Functions

mjFRAME_BODY is 1.

mjFRAME_CAMERA is 4.

mjFRAME_CONTACT is 6.

mjFRAME_GEOM is 2.

mjFRAME_LIGHT is 5.

mjNFRAME is 8.

mjFRAME_NONE is 0.

mjFRAME_SITE is 3.

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.

mjFRAME_WORLD is 7.

Types

t()

@type t() :: integer()

Functions

body()

@spec body() :: 1

mjFRAME_BODY is 1.

camera()

@spec camera() :: 4

mjFRAME_CAMERA is 4.

contact()

@spec contact() :: 6

mjFRAME_CONTACT is 6.

geom()

@spec geom() :: 2

mjFRAME_GEOM is 2.

light()

@spec light() :: 5

mjFRAME_LIGHT is 5.

mjnframe()

@spec mjnframe() :: 8

mjNFRAME is 8.

none()

@spec none() :: 0

mjFRAME_NONE is 0.

site()

@spec site() :: 3

mjFRAME_SITE is 3.

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.

world()

@spec world() :: 7

mjFRAME_WORLD is 7.