ExMujoco.Types.Actuator (ExMujoco v0.1.1)

Copy Markdown View Source

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

Summary

Functions

mjACTUATOR_ADHESION is 8.

mjACTUATOR_CYLINDER is 6.

mjACTUATOR_DAMPER is 5.

mjACTUATOR_DCMOTOR is 11.

mjACTUATOR_GENERAL is 0.

mjACTUATOR_INTVELOCITY is 4.

mjACTUATOR_MOTOR is 1.

mjACTUATOR_MUSCLE is 7.

mjACTUATOR_ORIENTATION is 10.

mjACTUATOR_PID is 9.

mjACTUATOR_POSITION is 2.

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.

mjACTUATOR_VELOCITY is 3.

Types

t()

@type t() :: integer()

Functions

adhesion()

@spec adhesion() :: 8

mjACTUATOR_ADHESION is 8.

cylinder()

@spec cylinder() :: 6

mjACTUATOR_CYLINDER is 6.

damper()

@spec damper() :: 5

mjACTUATOR_DAMPER is 5.

dcmotor()

@spec dcmotor() :: 11

mjACTUATOR_DCMOTOR is 11.

general()

@spec general() :: 0

mjACTUATOR_GENERAL is 0.

intvelocity()

@spec intvelocity() :: 4

mjACTUATOR_INTVELOCITY is 4.

motor()

@spec motor() :: 1

mjACTUATOR_MOTOR is 1.

muscle()

@spec muscle() :: 7

mjACTUATOR_MUSCLE is 7.

orientation()

@spec orientation() :: 10

mjACTUATOR_ORIENTATION is 10.

pid()

@spec pid() :: 9

mjACTUATOR_PID is 9.

position()

@spec position() :: 2

mjACTUATOR_POSITION is 2.

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.

velocity()

@spec velocity() :: 3

mjACTUATOR_VELOCITY is 3.