Select a step or labeled object to explore it. Use Enter or Space from the keyboard; Esc clears the explanation. On a small screen, scroll the diagram sideways.

From physics steps to policy updates Four 5 millisecond physics steps make one 20 millisecond control step. Twenty-four control steps make a rollout of 0.48 seconds per environment. An episode lasts up to 20 seconds. Simulation time — each row uses a different scale Physics 5 ms5 ms5 ms5 ms One action 20 ms = 4 physics steps New joint-position request at 50 Hz One rollout 24 control steps = 0.48 s per environment One episode Up to 20 s = 1,000 control steps An episode can continue across PPO updates

Select a step or object for its explanation.

Physics integrates motion every 5 ms

The Newton solver advances motion and contact at 200 Hz. The BAM servo model acts within this physics loop. Its 3–6-step command delay corresponds to 15–30 ms.

A new action every 20 ms

Decimation 4 means one policy action for four physics steps. The 14 requested offsets stay in effect while the actuator model and physics evolve. This interval measures simulated time; wall-clock inference latency is measured separately.

Collect experience, then update PPO

Each environment contributes 24 transitions before an update: 24 × 0.02 = 0.48 simulated seconds. With 4,096 environments the batch contains 98,304 transitions. Proximal policy optimization (PPO) revisits this batch during optimization; the elapsed wall-clock time depends on hardware and workload.

Evaluate up to a 20-second horizon

The time limit is 1,000 control steps. Falling or an invalid state can end the episode earlier. A 24-step rollout normally ends before the episode does, so the critic estimates the remaining value at the rollout boundary.