Live

Rocky learns to walk

In-browser MuJoCo policy · live training graphs · technical note

Live dashboard

Peak τ — N·m · ft-lb
Peak ω — rad/s · rpm
Duty — at peak
Avg Power — Peak —
Run —
This episode 0.0s
Your best 0.0s
World best 0.0s

Loading metrics…

Loading policy…

Starting…
Episode length at done scale 0–1500 (max episode)
Survival completion rate + EMA · 0–100%
Full episode rate push deploy · 0–100%

Methods note · SuperDroid Robots research

Learning locomotion by tracking human motion

How we train sim-concept-01 (“Rocky”) to walk, turn and run: human motion capture retargeted onto the robot, BeyondMimic’s tracking reward, and a SuperMimic-style learned world model that gives the policy analytic gradients through imagined rollouts on one RTX 3080.

Source of truth: humanoid_loco.mimic (track_env, nets.Policy), tools/rocky_live/export_mimic.py · method: SuperMimic (Liao et al., CoRL 2026)

1. Problem statement

Rocky’s job in this dashboard is to follow a human. Walking, turning and running are already recorded; the policy’s work is to keep the robot’s body on that trajectory under contact physics. A scripted gait clock is a poor teacher for that job: it only knows one stride, and it fights the feet when the motion asks them to do something else. Motion tracking gives every clip the same dense objective, so one policy covers the whole library.

The translucent blue figure in the viewer is the reference. The tracking-error pill is the distance between the two pelvises. When the height or torso tilt drifts too far from the clip, the episode is scored as a failure and the page plays the move out, then starts the next clip.

2. Motions

The library is 594 flat-ground clips (107 minutes) from the CMU Graphics Lab motion capture database: walking, turning and running. Each clip is retargeted onto sim-concept-01 by limb-direction inverse kinematics, so the robot’s limbs point the way the human’s did while the joint limits stay the robot’s. The published mimic_v1 bundle ships a subset of those clips with the policy; the clip picker above walks through them.

Reward is BeyondMimic’s tracking objective: how closely a set of bodies (torso, thighs, feet, hands) match the reference in position, orientation, linear velocity and angular velocity, plus light penalties for joint limits, jerky actions and self-contact.

3. Control path

At 50 Hz the policy emits 22 joint actions a. Targets are assembled the same way in MJX training, CPU MuJoCo on the rig, and this browser:

q_ref = q₀ + α · clip(a, ±2)

Joints marked residual in the bundle offset from the next reference frame instead of from the default pose. Torques follow MIT PD, τ = clip(kp·(q_ref−q) − kd·q̇), recomputed every physics substep (~250 Hz). All 22 actuators, including the arms, are under that loop. The policy plus this PD map is the whole controller.

Block diagram from policy action to q_ref to PD torque
Figure 1. Policy → joint target → PD. The ghost is the retargeted clip.

4. What the policy sees

The shipped actor is deployable sensing plus a short look-ahead of the clip. One proprioceptive frame is 72 numbers: joint positions relative to default pose, joint velocities, body-frame gyro, projected gravity, and the last action. The net sees the last 10 frames flattened oldest-first (720 numbers; zeros before the episode starts). The goal is the next 10 reference frames (0.2 s) expressed in the robot’s current heading: relative horizontal position with reference height, 6D orientation, reference joints, linear velocity, body angular velocity, and joint velocity (59 × 10 = 590).

Diagram of 72-dim proprio history and 10 future reference frames feeding the policy encoder-decoder
Figure 2. Actor inputs and the encoder–decoder that ships in mimic_v1.

The motion encoder compresses the goal to a 32-D tanh latent; the decoder concatenates that latent with the observation history and emits the 22 actions. Hidden layers use SiLU. The critic is privileged and is discarded at publish. An episode starts on the clip’s first frame. It fails when |z − z_ref| > 0.25 m or the torso-tilt mismatch exceeds 0.8.

5. SuperMimic training loop

Training follows SuperMimic (Liao et al., CoRL 2026) on MuJoCo MJX (Warp), on one RTX 3080. A single learned, differentiable world model of Rocky’s dynamics is shared across every clip. Each iteration does three things:

  1. Collect — the current policy rolls out in the contact simulator; (s, a, s') goes into a replay buffer.
  2. Fit — the world model is trained on 8-step autoregressive windows of that replay (the “world-model prediction error” chart).
  3. Imagine — from real buffer states, the policy is unrolled 32 steps inside the frozen world model. The tracking return back-propagates through those steps (BPTT). A critic bootstraps value past the 0.64 s horizon.
Three-stage SuperMimic loop: collect in MuJoCo Warp, fit the world model, imagine 32 steps and back-propagate
Figure 3. Collect in Warp, fit one world model, improve the policy by analytic gradients through imagination.

The simulator is never differentiated. Gradients for the policy go through the world model only. Fast imagined rollouts plus first-order gradients are why this line trains on a single workstation GPU. The world model stays on the training box; the browser downloads the actor weights, the MJCF, and the clips.

6. What the live dashboard measures

The charts above are the scalars the trainer logs to judge a run:

  • World-model prediction error — 8-step replay loss. Lower is a dynamics model the policy can trust in imagination.
  • Tracking return — normalized BeyondMimic return on a fixed exam of 64 clips (solid) and the training-time return (dashed).
  • Failed clips — how many of those 64 exam clips terminate early. Lower is better.
  • Header actuator strips — live from your browser episode: peak torque (N·m and ft-lb), peak speed (rad/s and rpm), duty at peak, and Avg Power (electrical watts at 98% motor efficiency). Torque, speed and wattage include all 22 actuated joints. Wattage is Σ|τ ω| / 0.98. Avg Power’s large number is the time-average over the last 8 s; Peak in smaller type is the max in that window. Hover a strip for the value at that time.

Policies and metrics publish on a cadence to this page; your browser runs MuJoCo WASM and refreshes about every 15 s. Nudge samples the training push force and duration with a random heading. The walk-time counter is how long Rocky stays on the clip in your session.

Training publish stack from MJX Warp to browser
Figure 4. Lab → publish → browser (no public TensorBoard/Viser).

7. Earlier line

Before October 2026 the public checkpoint was a PPO residual on a phase-locked gait with capture/stumble scaffolding (r51–r73, z-line terrain). That stack is retired. The motion tracker above is the line that publishes now.

8. Scope

This page is a physics simulation in your browser, fed by published weights from the North Carolina training box. It is a living methods note for the SuperMimic tracker that currently feeds the public checkpoint. Hardware transfer, and every failure class on the full 594-clip library, are separate claims from what the dashboard shows.