Enum MjtState
MuJoCo's state elements (mujoco.mjtState), bit flags of a state signature, and its usual unions:
FullPhysics (Gymnasium's get_state default) and Integration (its reset check's).
[Flags]
[PyName("mjtState")]
public enum MjtState
- Extension Methods
Fields
[PyName("mjSTATE_TIME")] Time = 1The simulation time (
mjSTATE_TIME).[PyName("mjSTATE_QPOS")] Qpos = 2The positions (
mjSTATE_QPOS).[PyName("mjSTATE_QVEL")] Qvel = 4The velocities (
mjSTATE_QVEL).[PyName("mjSTATE_ACT")] Act = 8The actuator activations (
mjSTATE_ACT), none in the bundled models.[PyName("mjSTATE_HISTORY")] History = 16The delay buffers (
mjSTATE_HISTORY), none in the bundled models.[PyName("mjSTATE_WARMSTART")] Warmstart = 32The solver's warm start (
mjSTATE_WARMSTART), the last step's acceleration.[PyName("mjSTATE_CTRL")] Ctrl = 64The controls (
mjSTATE_CTRL).[PyName("mjSTATE_QFRC_APPLIED")] QfrcApplied = 128The applied joint forces (
mjSTATE_QFRC_APPLIED), always zero here.[PyName("mjSTATE_XFRC_APPLIED")] XfrcApplied = 256The applied body forces (
mjSTATE_XFRC_APPLIED), always zero here.[PyName("mjSTATE_EQ_ACTIVE")] EqActive = 512The equality constraints' flags (
mjSTATE_EQ_ACTIVE), none in the bundled models.[PyName("mjSTATE_MOCAP_POS")] MocapPos = 1024The mocap bodies' positions (
mjSTATE_MOCAP_POS), none in the bundled models.[PyName("mjSTATE_MOCAP_QUAT")] MocapQuat = 2048The mocap bodies' orientations (
mjSTATE_MOCAP_QUAT), none in the bundled models.[PyName("mjSTATE_USERDATA")] Userdata = 4096The user data (
mjSTATE_USERDATA), none in the bundled models.[PyName("mjSTATE_PLUGIN")] Plugin = 8192The plugins' state (
mjSTATE_PLUGIN), none in the bundled models.[PyName("mjSTATE_PLASTIC")] Plastic = 16384The plastic deformations (
mjSTATE_PLASTIC), none in the bundled models.[PyName("mjSTATE_USER")] User = Ctrl | QfrcApplied | XfrcApplied | EqActive | MocapPos | MocapQuat | UserdataThe user inputs (
mjSTATE_USER): controls, applied forces, equality flags, mocap, user data.[PyName("mjSTATE_PHYSICS")] Physics = Qpos | Qvel | Act | History | PlasticThe physical state (
mjSTATE_PHYSICS): positions, velocities, activations, history, plasticity.[PyName("mjSTATE_FULLPHYSICS")] FullPhysics = Time | Plugin | PhysicsThe full physical state (
mjSTATE_FULLPHYSICS): time, Physics, plugins.[PyName("mjSTATE_INTEGRATION")] Integration = Warmstart | User | FullPhysicsEverything a step reads (
mjSTATE_INTEGRATION): FullPhysics, User, the warm start.