Live demo: lac-humanoid.github.io
In-browser interactive demo for LAC: Linear and Angular Compliance for Humanoid Whole-body Control (Unitree G1, 23 DOF). The compliant whole-body policy runs entirely in your browser — MuJoCo (WebAssembly) simulates the robot at full rate while the policy runs via ONNX Runtime Web. Drag the robot with MuJoCo's native perturbation controls (double-click a body, then Ctrl+drag) and watch it comply.
- Paper: coming soon (arXiv)
- Code (model checkpoint + MuJoCo evaluation): lac-humanoid/lac-code
npm install
npm run dev # http://localhost:3000npm run build produces the static site in dist/; scripts/publish_pages.sh
builds and publishes it to the gh-pages branch.
src/views/Demo.vue— UI controls for the live demosrc/simulation/main.js— bootstraps MuJoCo, Three.js renderer, and policy loopsrc/simulation/mujocoUtils.js— scene/policy loading and filesystem preloadingsrc/simulation/lac/policyRunner.js— ONNX inference wrapper and observation pipelinesrc/simulation/utils/DragStateManager.js— MuJoCo-native perturbation (mjv_* via wasm)public/examples/scenes/— MJCF + meshes staged into MuJoCo's MEMFSpublic/examples/checkpoints/— policy ONNX, config, and pose presets
The viewer is built on humanoid-policy-viewer by Qingzhou Lu (@Axellwppr) — the same Vue + MuJoCo-WASM + ONNX-Runtime-Web engine behind the GentleHumanoid web demo. We thank the author for making it available.