ExMujoco.Types.CTimer (ExMujoco v0.1.1)

Copy Markdown View Source

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

Summary

Functions

mjCTIMER_ASSETS is 1.

mjCTIMER_MESH_BVH is 7.

mjCTIMER_MESH_HULL is 4.

mjCTIMER_MESH_INERTIA is 6.

mjCTIMER_MESH_LOAD is 3.

mjCTIMER_MESH_OCTREE is 8.

mjCTIMER_MESH_POLYGON is 5.

mjNCTIMER is 9.

mjCTIMER_TEXTURE is 2.

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

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

mjCTIMER_TOTAL is 0.

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

Types

t()

@type t() :: integer()

Functions

assets()

@spec assets() :: 1

mjCTIMER_ASSETS is 1.

mesh_bvh()

@spec mesh_bvh() :: 7

mjCTIMER_MESH_BVH is 7.

mesh_hull()

@spec mesh_hull() :: 4

mjCTIMER_MESH_HULL is 4.

mesh_inertia()

@spec mesh_inertia() :: 6

mjCTIMER_MESH_INERTIA is 6.

mesh_load()

@spec mesh_load() :: 3

mjCTIMER_MESH_LOAD is 3.

mesh_octree()

@spec mesh_octree() :: 8

mjCTIMER_MESH_OCTREE is 8.

mesh_polygon()

@spec mesh_polygon() :: 5

mjCTIMER_MESH_POLYGON is 5.

mjnctimer()

@spec mjnctimer() :: 9

mjNCTIMER is 9.

texture()

@spec texture() :: 2

mjCTIMER_TEXTURE 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.

total()

@spec total() :: 0

mjCTIMER_TOTAL is 0.

values()

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

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