ExMujoco.Types.Bias (ExMujoco v0.2.3)

Copy Markdown View Source

mjtBias — type of actuator bias. From MuJoCo's headers, as numbers. All 6 values carry a number in the header.

Summary

Functions

mjBIAS_AFFINE is 1 — const + kplength + kvvelocity.

mjBIAS_DCMOTOR is 3 — DC motor bias: back-EMF, cogging, LuGre friction.

mjBIAS_MUSCLE is 2 — muscle passive force computed by mju_muscleBias().

mjBIAS_NONE is 0 — no bias.

mjBIAS_SO3 is 4 — damping term of the SO3 geodesic servo.

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

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

mjBIAS_USER is 5 — user-defined bias type.

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 — const + kplength + kvvelocity.

dcmotor()

@spec dcmotor() :: 3

mjBIAS_DCMOTOR is 3 — DC motor bias: back-EMF, cogging, LuGre friction.

muscle()

@spec muscle() :: 2

mjBIAS_MUSCLE is 2 — muscle passive force computed by mju_muscleBias().

none()

@spec none() :: 0

mjBIAS_NONE is 0 — no bias.

so3()

@spec so3() :: 4

mjBIAS_SO3 is 4 — damping term of the SO3 geodesic servo.

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 — user-defined bias type.

values()

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

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