ExMujoco.Types.ConDataField (ExMujoco v0.1.1)

Copy Markdown View Source

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

Summary

Functions

mjCONDATA_ANGVEL is 8.

mjCONDATA_DIST is 3.

mjCONDATA_FORCE is 1.

mjCONDATA_FOUND is 0.

mjCONDATA_LINVEL is 7.

mjNCONDATA is 9.

mjCONDATA_NORMAL is 5.

mjCONDATA_POS is 4.

mjCONDATA_TANGENT is 6.

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

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

mjCONDATA_TORQUE is 2.

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

Types

t()

@type t() :: integer()

Functions

angvel()

@spec angvel() :: 8

mjCONDATA_ANGVEL is 8.

dist()

@spec dist() :: 3

mjCONDATA_DIST is 3.

force()

@spec force() :: 1

mjCONDATA_FORCE is 1.

found()

@spec found() :: 0

mjCONDATA_FOUND is 0.

linvel()

@spec linvel() :: 7

mjCONDATA_LINVEL is 7.

mjncondata()

@spec mjncondata() :: 9

mjNCONDATA is 9.

normal()

@spec normal() :: 5

mjCONDATA_NORMAL is 5.

pos()

@spec pos() :: 4

mjCONDATA_POS is 4.

tangent()

@spec tangent() :: 6

mjCONDATA_TANGENT is 6.

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.

torque()

@spec torque() :: 2

mjCONDATA_TORQUE is 2.

values()

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

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