mjtState — state elements. From MuJoCo's headers, as numbers. All 20 values carry a number in the header.
Summary
Functions
mjSTATE_ACT is 8 — actuator activation.
mjSTATE_CTRL is 64 — control.
mjSTATE_EQ_ACTIVE is 512 — enable/disable constraints.
mjSTATE_FULLPHYSICS is 24607.
mjSTATE_HISTORY is 16 — history buffers (control, sensor).
mjSTATE_INTEGRATION is 32767.
mjNSTATE is 15 — number of state elements.
mjSTATE_MOCAP_POS is 1024 — positions of mocap bodies.
mjSTATE_MOCAP_QUAT is 2048 — orientations of mocap bodies.
mjSTATE_PHYSICS is 16414 — convenience values for commonly used state specifications.
mjSTATE_PLASTIC is 16384 — plastic state.
mjSTATE_PLUGIN is 8192 — plugin state.
mjSTATE_QFRC_APPLIED is 128 — applied generalized force.
mjSTATE_QPOS is 2 — position.
mjSTATE_QVEL is 4 — velocity.
mjSTATE_TIME is 1 — time.
The name behind an integer. An atom is already one.
The integer behind a name. An integer is already one.
mjSTATE_USER is 8128.
mjSTATE_USERDATA is 4096 — user data.
Every value, as {name, integer}, in the order the header lists them.
mjSTATE_WARMSTART is 32 — acceleration used for warmstart.
mjSTATE_XFRC_APPLIED is 256 — applied Cartesian force/torque.
Types
@type t() :: integer()
Functions
@spec act() :: 8
mjSTATE_ACT is 8 — actuator activation.
@spec ctrl() :: 64
mjSTATE_CTRL is 64 — control.
@spec eq_active() :: 512
mjSTATE_EQ_ACTIVE is 512 — enable/disable constraints.
@spec fullphysics() :: 24607
mjSTATE_FULLPHYSICS is 24607.
@spec history() :: 16
mjSTATE_HISTORY is 16 — history buffers (control, sensor).
@spec integration() :: 32767
mjSTATE_INTEGRATION is 32767.
@spec mjnstate() :: 15
mjNSTATE is 15 — number of state elements.
@spec mocap_pos() :: 1024
mjSTATE_MOCAP_POS is 1024 — positions of mocap bodies.
@spec mocap_quat() :: 2048
mjSTATE_MOCAP_QUAT is 2048 — orientations of mocap bodies.
@spec physics() :: 16414
mjSTATE_PHYSICS is 16414 — convenience values for commonly used state specifications.
@spec plastic() :: 16384
mjSTATE_PLASTIC is 16384 — plastic state.
@spec plugin() :: 8192
mjSTATE_PLUGIN is 8192 — plugin state.
@spec qfrc_applied() :: 128
mjSTATE_QFRC_APPLIED is 128 — applied generalized force.
@spec qpos() :: 2
mjSTATE_QPOS is 2 — position.
@spec qvel() :: 4
mjSTATE_QVEL is 4 — velocity.
@spec time() :: 1
mjSTATE_TIME is 1 — time.
The name behind an integer. An atom is already one.
The integer behind a name. An integer is already one.
@spec user() :: 8128
mjSTATE_USER is 8128.
@spec userdata() :: 4096
mjSTATE_USERDATA is 4096 — user data.
Every value, as {name, integer}, in the order the header lists them.
@spec warmstart() :: 32
mjSTATE_WARMSTART is 32 — acceleration used for warmstart.
@spec xfrc_applied() :: 256
mjSTATE_XFRC_APPLIED is 256 — applied Cartesian force/torque.