ExMujoco.Types.Timer (ExMujoco v0.1.1)

Copy Markdown View Source

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

Summary

Functions

mjTIMER_ACTUATION is 5.

mjTIMER_ADVANCE is 7.

mjTIMER_COL_BROAD is 13.

mjTIMER_COL_NARROW is 14.

mjTIMER_CONSTRAINT is 6.

mjTIMER_FORWARD is 1.

mjTIMER_INVERSE is 2.

mjNTIMER is 15.

mjTIMER_POS_COLLISION is 10.

mjTIMER_POS_INERTIA is 9.

mjTIMER_POS_KINEMATICS is 8.

mjTIMER_POS_MAKE is 11.

mjTIMER_POS_PROJECT is 12.

mjTIMER_POSITION is 3.

mjTIMER_STEP is 0.

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.

mjTIMER_VELOCITY is 4.

Types

t()

@type t() :: integer()

Functions

actuation()

@spec actuation() :: 5

mjTIMER_ACTUATION is 5.

advance()

@spec advance() :: 7

mjTIMER_ADVANCE is 7.

col_broad()

@spec col_broad() :: 13

mjTIMER_COL_BROAD is 13.

col_narrow()

@spec col_narrow() :: 14

mjTIMER_COL_NARROW is 14.

constraint()

@spec constraint() :: 6

mjTIMER_CONSTRAINT is 6.

forward()

@spec forward() :: 1

mjTIMER_FORWARD is 1.

inverse()

@spec inverse() :: 2

mjTIMER_INVERSE is 2.

mjntimer()

@spec mjntimer() :: 15

mjNTIMER is 15.

pos_collision()

@spec pos_collision() :: 10

mjTIMER_POS_COLLISION is 10.

pos_inertia()

@spec pos_inertia() :: 9

mjTIMER_POS_INERTIA is 9.

pos_kinematics()

@spec pos_kinematics() :: 8

mjTIMER_POS_KINEMATICS is 8.

pos_make()

@spec pos_make() :: 11

mjTIMER_POS_MAKE is 11.

pos_project()

@spec pos_project() :: 12

mjTIMER_POS_PROJECT is 12.

position()

@spec position() :: 3

mjTIMER_POSITION is 3.

step()

@spec step() :: 0

mjTIMER_STEP is 0.

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

mjTIMER_VELOCITY is 4.