ExMujoco.Types.Sensor (ExMujoco v0.1.1)

Copy Markdown View Source

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

Summary

Functions

mjSENS_ACCELEROMETER is 1.

mjSENS_ACTUATORFRC is 15.

mjSENS_ACTUATORPOS is 13.

mjSENS_ACTUATORVEL is 14.

mjSENS_BALLANGVEL is 19.

mjSENS_BALLQUAT is 18.

mjSENS_CAMPROJECTION is 8.

mjSENS_CLOCK is 45.

mjSENS_CONTACT is 42.

mjSENS_E_KINETIC is 44.

mjSENS_E_POTENTIAL is 43.

mjSENS_FORCE is 4.

mjSENS_FRAMEANGACC is 34.

mjSENS_FRAMEANGVEL is 32.

mjSENS_FRAMELINACC is 33.

mjSENS_FRAMELINVEL is 31.

mjSENS_FRAMEPOS is 26.

mjSENS_FRAMEQUAT is 27.

mjSENS_FRAMEXAXIS is 28.

mjSENS_FRAMEYAXIS is 29.

mjSENS_FRAMEZAXIS is 30.

mjSENS_GEOMDIST is 39.

mjSENS_GEOMFROMTO is 41.

mjSENS_GEOMNORMAL is 40.

mjSENS_GYRO is 3.

mjSENS_INSIDESITE is 38.

mjSENS_JOINTACTFRC is 16.

mjSENS_JOINTLIMITFRC is 22.

mjSENS_JOINTLIMITPOS is 20.

mjSENS_JOINTLIMITVEL is 21.

mjSENS_JOINTPOS is 9.

mjSENS_JOINTVEL is 10.

mjSENS_MAGNETOMETER is 6.

mjSENS_PLUGIN is 47.

mjSENS_RANGEFINDER is 7.

mjSENS_SUBTREEANGMOM is 37.

mjSENS_SUBTREECOM is 35.

mjSENS_SUBTREELINVEL is 36.

mjSENS_TACTILE is 46.

mjSENS_TENDONACTFRC is 17.

mjSENS_TENDONLIMITFRC is 25.

mjSENS_TENDONLIMITPOS is 23.

mjSENS_TENDONLIMITVEL is 24.

mjSENS_TENDONPOS is 11.

mjSENS_TENDONVEL is 12.

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

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

mjSENS_TORQUE is 5.

mjSENS_TOUCH is 0.

mjSENS_USER is 48.

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

mjSENS_VELOCIMETER is 2.

Types

t()

@type t() :: integer()

Functions

accelerometer()

@spec accelerometer() :: 1

mjSENS_ACCELEROMETER is 1.

actuatorfrc()

@spec actuatorfrc() :: 15

mjSENS_ACTUATORFRC is 15.

actuatorpos()

@spec actuatorpos() :: 13

mjSENS_ACTUATORPOS is 13.

actuatorvel()

@spec actuatorvel() :: 14

mjSENS_ACTUATORVEL is 14.

ballangvel()

@spec ballangvel() :: 19

mjSENS_BALLANGVEL is 19.

ballquat()

@spec ballquat() :: 18

mjSENS_BALLQUAT is 18.

camprojection()

@spec camprojection() :: 8

mjSENS_CAMPROJECTION is 8.

clock()

@spec clock() :: 45

mjSENS_CLOCK is 45.

contact()

@spec contact() :: 42

mjSENS_CONTACT is 42.

e_kinetic()

@spec e_kinetic() :: 44

mjSENS_E_KINETIC is 44.

e_potential()

@spec e_potential() :: 43

mjSENS_E_POTENTIAL is 43.

force()

@spec force() :: 4

mjSENS_FORCE is 4.

frameangacc()

@spec frameangacc() :: 34

mjSENS_FRAMEANGACC is 34.

frameangvel()

@spec frameangvel() :: 32

mjSENS_FRAMEANGVEL is 32.

framelinacc()

@spec framelinacc() :: 33

mjSENS_FRAMELINACC is 33.

framelinvel()

@spec framelinvel() :: 31

mjSENS_FRAMELINVEL is 31.

framepos()

@spec framepos() :: 26

mjSENS_FRAMEPOS is 26.

framequat()

@spec framequat() :: 27

mjSENS_FRAMEQUAT is 27.

framexaxis()

@spec framexaxis() :: 28

mjSENS_FRAMEXAXIS is 28.

frameyaxis()

@spec frameyaxis() :: 29

mjSENS_FRAMEYAXIS is 29.

framezaxis()

@spec framezaxis() :: 30

mjSENS_FRAMEZAXIS is 30.

geomdist()

@spec geomdist() :: 39

mjSENS_GEOMDIST is 39.

geomfromto()

@spec geomfromto() :: 41

mjSENS_GEOMFROMTO is 41.

geomnormal()

@spec geomnormal() :: 40

mjSENS_GEOMNORMAL is 40.

gyro()

@spec gyro() :: 3

mjSENS_GYRO is 3.

insidesite()

@spec insidesite() :: 38

mjSENS_INSIDESITE is 38.

jointactfrc()

@spec jointactfrc() :: 16

mjSENS_JOINTACTFRC is 16.

jointlimitfrc()

@spec jointlimitfrc() :: 22

mjSENS_JOINTLIMITFRC is 22.

jointlimitpos()

@spec jointlimitpos() :: 20

mjSENS_JOINTLIMITPOS is 20.

jointlimitvel()

@spec jointlimitvel() :: 21

mjSENS_JOINTLIMITVEL is 21.

jointpos()

@spec jointpos() :: 9

mjSENS_JOINTPOS is 9.

jointvel()

@spec jointvel() :: 10

mjSENS_JOINTVEL is 10.

magnetometer()

@spec magnetometer() :: 6

mjSENS_MAGNETOMETER is 6.

plugin()

@spec plugin() :: 47

mjSENS_PLUGIN is 47.

rangefinder()

@spec rangefinder() :: 7

mjSENS_RANGEFINDER is 7.

subtreeangmom()

@spec subtreeangmom() :: 37

mjSENS_SUBTREEANGMOM is 37.

subtreecom()

@spec subtreecom() :: 35

mjSENS_SUBTREECOM is 35.

subtreelinvel()

@spec subtreelinvel() :: 36

mjSENS_SUBTREELINVEL is 36.

tactile()

@spec tactile() :: 46

mjSENS_TACTILE is 46.

tendonactfrc()

@spec tendonactfrc() :: 17

mjSENS_TENDONACTFRC is 17.

tendonlimitfrc()

@spec tendonlimitfrc() :: 25

mjSENS_TENDONLIMITFRC is 25.

tendonlimitpos()

@spec tendonlimitpos() :: 23

mjSENS_TENDONLIMITPOS is 23.

tendonlimitvel()

@spec tendonlimitvel() :: 24

mjSENS_TENDONLIMITVEL is 24.

tendonpos()

@spec tendonpos() :: 11

mjSENS_TENDONPOS is 11.

tendonvel()

@spec tendonvel() :: 12

mjSENS_TENDONVEL is 12.

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

mjSENS_TORQUE is 5.

touch()

@spec touch() :: 0

mjSENS_TOUCH is 0.

user()

@spec user() :: 48

mjSENS_USER is 48.

values()

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

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

velocimeter()

@spec velocimeter() :: 2

mjSENS_VELOCIMETER is 2.