ExMujoco.Types.Actuator (ExMujoco v0.2.3)

Copy Markdown View Source

mjtActuator — actuator element, which owns its shortcut parameters. From MuJoCo's headers, as numbers. All 12 values carry a number in the header.

Summary

Functions

mjACTUATOR_ADHESION is 8 — adhesion.

mjACTUATOR_CYLINDER is 6 — cylinder.

mjACTUATOR_DAMPER is 5 — damper.

mjACTUATOR_DCMOTOR is 11 — dc motor.

mjACTUATOR_GENERAL is 0 — general.

mjACTUATOR_INTVELOCITY is 4 — integrated-velocity servo.

mjACTUATOR_MOTOR is 1 — motor.

mjACTUATOR_MUSCLE is 7 — muscle.

mjACTUATOR_ORIENTATION is 10 — orientation servo.

mjACTUATOR_PID is 9 — pid servo.

mjACTUATOR_POSITION is 2 — position servo.

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 — velocity servo.

Types

t()

@type t() :: integer()

Functions

adhesion()

@spec adhesion() :: 8

mjACTUATOR_ADHESION is 8 — adhesion.

cylinder()

@spec cylinder() :: 6

mjACTUATOR_CYLINDER is 6 — cylinder.

damper()

@spec damper() :: 5

mjACTUATOR_DAMPER is 5 — damper.

dcmotor()

@spec dcmotor() :: 11

mjACTUATOR_DCMOTOR is 11 — dc motor.

general()

@spec general() :: 0

mjACTUATOR_GENERAL is 0 — general.

intvelocity()

@spec intvelocity() :: 4

mjACTUATOR_INTVELOCITY is 4 — integrated-velocity servo.

motor()

@spec motor() :: 1

mjACTUATOR_MOTOR is 1 — motor.

muscle()

@spec muscle() :: 7

mjACTUATOR_MUSCLE is 7 — muscle.

orientation()

@spec orientation() :: 10

mjACTUATOR_ORIENTATION is 10 — orientation servo.

pid()

@spec pid() :: 9

mjACTUATOR_PID is 9 — pid servo.

position()

@spec position() :: 2

mjACTUATOR_POSITION is 2 — position 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.

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 — velocity servo.