MuJoCo Data Class Variables Documentation¶
This page holds the general information about some Mujoco variables used in ARIEL. This info is, in general, the same as what can be found on the Mujoco documentation. But some things have been added for better understanding.
Actuator States¶
act: Actuator activation statesact_dot: Time-derivative of actuator activationsactuator_force: Forces applied by actuatorsactuator_length: Current length of actuators
actuator_velocity: Velocities of actuators
Spatial Properties¶
cam_xmat,cam_xpos: Camera orientation matrix and position
cfrc_ext,cfrc_int: External and internal contact forces
ctrl: Control signals
Energy and State¶
energy: Potential and kinetic energy
Geometric Properties¶
geom_xmat,geom_xpos: Geometry orientation matrices and positions
Mapping Arrays¶
Motion Capture¶
mocap_pos,mocap_quat: Motion capture positions and quaternions
State Variables¶
qpos: Generalized position state vector.
Contains the positions of the core and all hinge joints, in the order they are defined in the XML.Core (free joint):
[x, y, z]: 3D position of the core body frame[qw, qx, qy, qz]: Orientation quaternion of the core
Hinge joints (bricks):
[angle]for each hinge, representing the rotation angle in radians
Actuator inputs and states are not stored here (see
data.ctrlanddata.actinstead).qvel: Velocity state vector. Holds the current velocity of each actuator.qacc: Acceleration state vector
Forces¶
qfrc_actuator: Actuator forcesqfrc_applied: Externally applied forcesqfrc_bias: Bias forcesqfrc_constraint: Constraint forces
qfrc_passive: Passive forcesqfrc_spring: Spring forces
Sensors and Sites¶
sensordata: Sensor measurementssite_xmat,site_xpos: Site orientation matrices and positions
Spatial Transforms¶
xfrc_applied: Applied Cartesian forces
xmat,xpos: Orientation matrices and positionsxquat: Quaternion orientations