ExMujoco.Types.Dyn (ExMujoco v0.1.1)

Copy Markdown View Source

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

Summary

Functions

mjDYN_DCMOTOR is 5.

mjDYN_FILTER is 2.

mjDYN_FILTEREXACT is 3.

mjDYN_INTEGRATOR is 1.

mjDYN_MUSCLE is 4.

mjDYN_NONE is 0.

mjDYN_PID is 6.

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

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

mjDYN_USER is 7.

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

Types

t()

@type t() :: integer()

Functions

dcmotor()

@spec dcmotor() :: 5

mjDYN_DCMOTOR is 5.

filter()

@spec filter() :: 2

mjDYN_FILTER is 2.

filterexact()

@spec filterexact() :: 3

mjDYN_FILTEREXACT is 3.

integrator()

@spec integrator() :: 1

mjDYN_INTEGRATOR is 1.

muscle()

@spec muscle() :: 4

mjDYN_MUSCLE is 4.

none()

@spec none() :: 0

mjDYN_NONE is 0.

pid()

@spec pid() :: 6

mjDYN_PID is 6.

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.

user()

@spec user() :: 7

mjDYN_USER is 7.

values()

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

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