In this article
Export actuator commands and observed simulator state as distinct timed quantities.
The generated-data scenario
A synthetic robot dataset writes mjData.ctrl into a column named observed joint positions because the arrays happen to look compatible in a simple scene. The student then learns a target command as if it were an achieved configuration. The investigation asks how the actuator definition and sampling stage determine each value, before converting simulator traces into demonstration records.
The generation mechanism
MuJoCo describes controls as actuator inputs, actuator forces as outputs and optional activation states as additional dynamics. Transmission maps actuation to joint coordinates. Its state structure separately defines qpos as generalized position coordinates. These quantities can differ in dimension and physical interpretation. Even a position-servo control is a requested setpoint, not evidence that the robot has already reached that position.
Define the dataset contract
For every exported channel, record its source field, actuator or joint mapping, units, control mode and sampling instant relative to simulation stepping. Preserve command time and observation time separately. Do not derive an association by zipping arrays of equal length. A tendon transmission or a model change can invalidate that assumption while leaving the file format and training tensor dimensions unchanged.
A step-by-step protocol
Use a controlled simulated movement with a deliberate change in command. Log controls before the step and relevant position state at explicitly selected observation stages. Map them through the model definitions and inspect the transient trajectory. Verify the exported action and observation columns after loading them through the student adapter. Include a stationary control to expose accidental reliance on coincident command and state values.
Evidence required for acceptance
Acceptance requires field-level provenance, model and actuator configuration, temporal associations and a reviewed trace showing which values are requested and which are observed. If a derived action target uses future positions, document that derivation instead of relabeling raw controls. Successful state replay and successful command replay provide different evidence, so report the mode used in any reconstruction check.
Failure cases and limits
This is a simulator data-contract investigation, not evidence that a generated demonstration transfers safely to physical hardware. Controllers, contacts and integration settings can alter achieved motion. A correctly labeled command may still fail its task. Keep behavior outcome and data representation separate; the proposed protocol establishes their observability without claiming measured policy success or identical semantics across unrelated robot datasets.
Primary references and related reading
Export actuator commands and observed simulator state as distinct timed quantities. MuJoCo actuator dynamics and inactive contact margins; MuJoCo state coordinates and detected contact data.
The proposed investigation of mujoco control input achieved position target is a proposed dataset-contract review; no production dataset was generated or evaluated. Related reading: ManiSkill trajectory conversion: a new controller requires replay validation; SharpaDex v1.0: bimanual data, tactile inputs and the action contract.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.