ExMujoco.Types.Bias (ExMujoco v0.1.1)

Copy Markdown View Source

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

Summary

Functions

mjBIAS_AFFINE is 1.

mjBIAS_DCMOTOR is 3.

mjBIAS_MUSCLE is 2.

mjBIAS_NONE is 0.

mjBIAS_SO3 is 4.

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

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

mjBIAS_USER is 5.

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

Types

t()

@type t() :: integer()

Functions

affine()

@spec affine() :: 1

mjBIAS_AFFINE is 1.

dcmotor()

@spec dcmotor() :: 3

mjBIAS_DCMOTOR is 3.

muscle()

@spec muscle() :: 2

mjBIAS_MUSCLE is 2.

none()

@spec none() :: 0

mjBIAS_NONE is 0.

so3()

@spec so3() :: 4

mjBIAS_SO3 is 4.

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() :: 5

mjBIAS_USER is 5.

values()

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

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