ExMujoco.Types.Integrator (ExMujoco v0.1.1)

Copy Markdown View Source

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

Summary

Functions

mjINT_DISCRETE is 4.

mjINT_EULER is 0.

mjINT_IMPLICIT is 2.

mjINT_IMPLICITFAST is 3.

mjINT_RK4 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.

Types

t()

@type t() :: integer()

Functions

discrete()

@spec discrete() :: 4

mjINT_DISCRETE is 4.

euler()

@spec euler() :: 0

mjINT_EULER is 0.

implicit()

@spec implicit() :: 2

mjINT_IMPLICIT is 2.

implicitfast()

@spec implicitfast() :: 3

mjINT_IMPLICITFAST is 3.

rk4()

@spec rk4() :: 1

mjINT_RK4 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.