MODULE 1 · TEST · 30 MIN

Test: stand, then push

Load the standing policy you trained, check that it stands, push it, and run the standing push tests.

You trained Asimov1-Stand-Ideal-v0 on the Build page and exported it. This page tests it, in a different simulator from the one it was trained in, the way the rest of the course will: first does it do its job, then what does it take.

SIMULATOR

Asimov 1 simulated with MuJoCo and driven by a trained policy, on your own computer.

Upright · 0.00 s

Policy

Running: No policy loaded yet.

A public repository with policy.onnx and env.yaml, for example Menlo/asimov1-locomotion-26-09-24. Add @revision to pin a version.

Choose policy.onnx and env.yaml together, from the exported/ folder of a cyclotron run.

1. Load your policy

The simulator loads the built-in walking policy first, which is the reference you compare against. Then load yours, in one of two ways:

  • From your computer. In the Policy panel, choose Files from your computer and select policy.onnx and env.yaml together from your run’s exported/ folder. They stay in your browser.

  • From Hugging Face. Share the run with cyclotron, then type the repository’s name in Hugging Face repository:

    ./cyclotron.sh --share logs/rsl_rl/asimov1_stand_ideal/<run> --repo-id <your-name>/asimov1-stand-ideal
    

If the page refuses the policy, it says why: a missing env.yaml, or a policy whose inputs or outputs do not match Asimov 1’s 78 and 23.

2. Does it stand?

Watch it for 20 s without touching anything. Telemetry shows the pelvis height; the badge in the corner says Upright or Fallen.

A policy that passes this step does what the task asked. Remember lesson 3, though: holding the default pose with no policy at all also stands. Standing still is the easy part.

3. Push it

Open Push in the corner of the 3D view and push forward at 50 N, then raise the force in steps of 25 N, resetting the robot after each push, until it falls. Then do the same backward. Each push acts on the pelvis for 0.15 s.

For comparison, the measured results on this page’s simulator:

Policy Falls forward at Falls backward at
Holding the default pose, no policy 75 N not measured
Built-in walking policy no fall up to 400 N 250 N
Your standing policy your result your result

Exercise 8.1 · On paper

What a push is

The standing push test chest front pushes with 250 N for 0.15 s. How much momentum does that give the robot, and how fast would the whole 32.22 kg robot move if all of it went into moving it forward?

Hint 1
Momentum is force × time.
Hint 2
Velocity is momentum ÷ mass.
Checkpoint: answers only
37.5 N·s, and about 1.16 m/s.
Solution

250 N × 0.15 s = 37.5 N·s. Divided by 32.22 kg that is 1.16 m/s. In reality the push lands on the chest, so the robot also starts to tip rather than slide, and the feet push back through friction. Still, 1.16 m/s is faster than the built-in policy is ever asked to walk forward (0.8 m/s): a policy has to absorb that within a few steps.

4. The standing push tests

The Tests panel has the 10 standing push tests from humanoid-policy-viewer, the viewer this simulator is built on. Each test lets the robot stand for 12 s and pushes it twice, at the same place on the body: at 2 s with a force the test’s authors call “reasonable”, and at 8 s with a stronger one they call “beyond”, close to or past where the policies they tested fell. Each push lasts 0.15 s. The test records whether, and when, the robot falls. Physics dials are reset first, so every policy gets the same conditions. Choose Run all in this group.

The built-in walking policy survived the first, “reasonable” push in 8 of 10 tests, and both pushes in 1:

TestPushesResult
push: chest front (standing)250 N, then 350 Nfell at 8.8 s, after the second push
push: groin/pelvis back (stands in for the rear handle push) (standing)450 N, then 575 Nfell at 2.6 s, after the first push
push: groin/pelvis front (standing)450 N, then 575 Nstayed up
push: groin/pelvis lateral (standing)450 N, then 575 Nfell at 2.6 s, after the first push
push: left shoulder front (standing)225 N, then 300 Nfell at 9.0 s, after the second push
push: left shoulder lateral (outward) (standing)225 N, then 375 Nfell at 8.5 s, after the second push
push: left shoulder vertical (downward) (standing)850 N, then 1200 Nfell at 8.5 s, after the second push
push: right shoulder front (standing)175 N, then 275 Nfell at 8.5 s, after the second push
push: right shoulder lateral (outward) (standing)225 N, then 300 Nfell at 8.8 s, after the second push
push: right shoulder vertical (downward) (standing)850 N, then 1200 Nfell at 8.5 s, after the second push

Download your results as JSON from the panel. You will compare against them in Module 2.

Exercise 8.2 · In the simulator

Your policy against the reference

Run the standing push tests on your policy. In how many does it survive the first push, and both, compared with the built-in walking policy?

Hint 1
Your policy never felt a push in training. What did the built-in policy’s training include?
Checkpoint: answers only
There is no fixed answer: it is your measurement. The built-in policy survived the first push in 8 of 10 tests and both pushes in 1.
Solution

The built-in policy was trained by Menlo Research with the walking task’s pushes: every 1 to 3 s, each robot’s speed was kicked at random. Your standing policy saw none: the Build page’s ideal task switched pushes off. A policy can only be expected to handle what it practised. How much worse a never-pushed policy does, on standing in particular, is exactly what your result measures. The course has not measured it on a fully trained standing policy yet; your cohort’s results will be the first.

What fails, and what comes next

If your policy stands but falls to pushes the reference shrugs off, you have found the limit of an ideal simulator. Nothing in training asked the policy to recover, and the real world pushes: a hand, a cable, a slightly uneven floor, a motor that answers 10 ms late.

Module 2 fixes this in two steps. First robustness: train with pushes. Then the hardware: what the real robot’s motors, firmware, delays and sensors do to a policy, and how to train for them.

Recap

  • Load your export, check that it stands for 20 s, then push it, forward and back.
  • Compare against holding the default pose and against the built-in walking policy on the same simulator.
  • Run the 10 standing push tests and keep the JSON for Module 2.

Sources

  1. humanoid-policy-viewer's standing push tests (10 tests, 12 s each, a “reasonable” push at 2 s and a “beyond” push at 8 s)site/learn-sim/benchmark/push/standing/*.json and METHODOLOGY.md, from humanoid-policy-viewer commit a0dc715
  2. The built-in policy's training: pushes every 1 to 3 s, forward commands up to 0.8 m/ssite/learn-sim/policies/menlo-reference/env.yaml, events.push_robot and commands.twist.ranges
  3. Measurement: pushes the built-in policy and the default pose take, and the built-in policy on the 10 standing push testsmeasurements.json, results.policyPush, results.manualPush and results.standingPushTests (scripts/measure-module-1.mjs)
  4. cyclotron, sharing a run on the Hugging Face Hubdocs/share.md (commit d71390f)
  5. Asimov 1's mass in the simulator's model: 32.22 kgrobots/asimov-1/sim-model/xmls/asimov_1.xml, total body mass

This is the last published lesson. New ones appear as they are written. See the course plan