MODULE 0 · LESSON 3 OF 3 · 10 MIN

Check the simulator

Start Asimov 1 in your browser, make it walk, and know what to do if it does not start. Then: what day one looks like.

Every lesson from Module 1 on has a simulator like the one below: Asimov 1, simulated with the MuJoCo physics engine and driven by a trained policy, all inside your browser. Nothing runs on our side and nothing you load is uploaded. Check now that it runs on your computer, so that day one starts with the robot.

SIMULATOR

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

Upright · 0.00 s

If it does not start

  • “This browser cannot run the simulator”. The simulator needs WebAssembly and WebGL 2. Current Chrome, Edge, Firefox and Safari have both. If yours is current and still refuses, hardware acceleration may be switched off in the browser’s settings.
  • It runs, but slowly. The simulated seconds on the badge should keep pace with real seconds. If they fall behind, press Faster rendering, which lowers the picture’s quality, and close other heavy tabs.
  • A later lesson asks you to start it again. A lesson starts the simulator by itself only while your browser still holds all its files. After you clear the browser’s cache, in a private window, or after the site updates the simulator, press Start the simulator again; the download size is shown with it.
  • The download stops. Press Try again in the 3D view, or reload the page.

Phones work for watching, but the lessons are easier on a computer.

Day one

Module 1 starts with this same simulator. Its first lesson pauses the walking policy and steps it 20 milliseconds at a time, to show the loop every robot policy runs: sense, decide, act. By the end of Module 1 you have trained your own policy that makes Asimov stand, on the GPU you set up in this module, and loaded it into this simulator to push it.

Recap

  • The simulator runs in your browser: physics, policy and robot model are downloaded once.
  • It needs WebAssembly and WebGL 2; Faster rendering helps on slow computers.
  • Next: Module 1, The loop, 50 times a second.

Sources

  1. The simulator: humanoid-policy-viewer by Qingzhou Lu and Menlo Research (BSD-3-Clause), MuJoCo (Apache-2.0), ONNX Runtime (MIT), three.js (MIT)site/src/sim/core/UPSTREAM.md, humanoid-policy-viewer commit a0dc715
  2. The built-in walking policy's command ranges: forward speed −0.6 to 0.8 m/ssite/learn-sim/policies/menlo-reference/env.yaml, commands.twist.ranges
  3. What the simulator downloads on first start: the physics engine, the policy runtime and the robot modelscripts/sync-learn-sim.mjs, manifest downloadBytes, in the denebots repository