ExMujoco.Types.Timer (ExMujoco v0.2.3)

Copy Markdown View Source

mjtTimer — internal timers. From MuJoCo's headers, as numbers. All 16 values carry a number in the header.

Summary

Functions

mjTIMER_ACTUATION is 5 — fwdActuation.

mjTIMER_ADVANCE is 7 — mj_Euler, mj_implicit.

mjTIMER_COL_BROAD is 13 — broadphase.

mjTIMER_COL_NARROW is 14 — narrowphase.

mjTIMER_CONSTRAINT is 6 — fwdConstraint.

mjTIMER_FORWARD is 1 — forward.

mjTIMER_INVERSE is 2 — inverse.

mjNTIMER is 15 — number of timers.

mjTIMER_POS_COLLISION is 10 — collision detection.

mjTIMER_POS_INERTIA is 9 — inertia computations.

mjTIMER_POS_KINEMATICS is 8 — kinematics, com, tendon, transmission.

mjTIMER_POS_MAKE is 11 — make constraints.

mjTIMER_POS_PROJECT is 12 — project constraints.

mjTIMER_POSITION is 3 — fwdPosition.

mjTIMER_STEP is 0 — step.

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 — fwdVelocity.

Types

t()

@type t() :: integer()

Functions

actuation()

@spec actuation() :: 5

mjTIMER_ACTUATION is 5 — fwdActuation.

advance()

@spec advance() :: 7

mjTIMER_ADVANCE is 7 — mj_Euler, mj_implicit.

col_broad()

@spec col_broad() :: 13

mjTIMER_COL_BROAD is 13 — broadphase.

col_narrow()

@spec col_narrow() :: 14

mjTIMER_COL_NARROW is 14 — narrowphase.

constraint()

@spec constraint() :: 6

mjTIMER_CONSTRAINT is 6 — fwdConstraint.

forward()

@spec forward() :: 1

mjTIMER_FORWARD is 1 — forward.

inverse()

@spec inverse() :: 2

mjTIMER_INVERSE is 2 — inverse.

mjntimer()

@spec mjntimer() :: 15

mjNTIMER is 15 — number of timers.

pos_collision()

@spec pos_collision() :: 10

mjTIMER_POS_COLLISION is 10 — collision detection.

pos_inertia()

@spec pos_inertia() :: 9

mjTIMER_POS_INERTIA is 9 — inertia computations.

pos_kinematics()

@spec pos_kinematics() :: 8

mjTIMER_POS_KINEMATICS is 8 — kinematics, com, tendon, transmission.

pos_make()

@spec pos_make() :: 11

mjTIMER_POS_MAKE is 11 — make constraints.

pos_project()

@spec pos_project() :: 12

mjTIMER_POS_PROJECT is 12 — project constraints.

position()

@spec position() :: 3

mjTIMER_POSITION is 3 — fwdPosition.

step()

@spec step() :: 0

mjTIMER_STEP is 0 — step.

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 — fwdVelocity.