3 Commits

Author SHA1 Message Date
chenlin a8be5e0134 feat: release v0.5 with shared interactive arenas and textured RP1
Unify lighting and line-colour controls across robots, replace the football with a shared layout of draggable physical props, and import the supplied RP1 GLBs without changing trained physics or policies.

Include reproducible visual import/provenance, regression coverage and verification records. Verified 66 unit tests, 55 browser tests and production-build checks.
2026-10-30 14:14:03 +08:00
chenlin 57b3108ab3 feat: release v0.4 with textured Microban visuals 2026-10-29 15:55:17 +08:00
chenlin 09f7b02c3e feat: release v0.3 with RP1 trained skills and scaled arenas 2026-10-29 14:16:04 +08:00
166 changed files with 10161 additions and 486 deletions
+2
View File
@@ -29,11 +29,13 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
*.tflite filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.wasm filter=lfs diff=lfs merge=lfs -text
*.f32 filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
*tfevents* filter=lfs diff=lfs merge=lfs -text
*.stl filter=lfs diff=lfs merge=lfs -text
*.STL filter=lfs diff=lfs merge=lfs -text
*.wav filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.webp filter=lfs diff=lfs merge=lfs -text
+33 -10
View File
@@ -11,20 +11,34 @@ license: apache-2.0
# Browser robot simulation platform
MuJoCo WASM + onnxruntime-web + three.js, with **Microduck** (legs / rollers) and **Microban** Robot Packages. Physics and ONNX inference run locally in the browser; no simulation backend is required.
MuJoCo WASM + onnxruntime-web + three.js, with **Microduck** (legs / rollers), **Microban**, and **RP1** Robot Packages. Physics and ONNX inference run locally in the browser; no simulation backend is required.
The application opens directly into simulation, defaults to Microduck, and keeps pause, reset, robot selection and a collapsible keyboard reference on that same screen. There is no welcome / RESUME menu or BIOS animation. Anton is bundled locally, so the default interface does not wait for an external font service.
## v0.5
- Brighter shared lighting and the original four-swatch **Line color** control for every robot.
- One session-wide layout of 5–7 physical, draggable geometries replaces the football and scales consistently across robots.
- RP1 uses the supplied textured GLBs, including fixed-hand detail, without changing its 24-DOF physics or trained skills.
- Verified with 66 unit tests, 55 browser tests and production-build checks. See [shared environment](docs/superpowers/verification/shared-robot-environment.md) and [RP1 materials](docs/superpowers/verification/rp1-glb-materials.md) verification records.
## Robots
| Robot | Default scene / presentation | Controls |
|---|---|---|
| Microduck | Shared 4.5 × 4.5 m bounded arena, ball, original GLB/palette/comic effects | Existing walking, skating, skills and recovery |
| Microban | Shared 4.5 × 4.5 m bounded arena, dark/orange grid and comic UI, MJCF robot visuals | Walking policy + independent head rotation |
| Microduck | Shared 4.5 × 4.5 m bounded arena, 5–7 random interactive geometries, original GLB/comic effects | Existing walking, skating, skills and recovery |
| Microban | Shared robot-scaled 5.5 × 5.5 m arena, interactive geometries, textured per-body GLB visuals | Walking policy + independent head rotation |
| RP1 | Shared robot-scaled 22 × 22 m arena, interactive geometries, user-supplied textured GLB visuals on original 24-DOF physics | Completed walking policy; trained 10 s dance segment (J) and full 4.36 s wave (H) |
Switch robots using **Robot** in the toolbar. Returning to Microduck restores the session's colour and feet / rollers choice, but initializes a fresh physical state. Failed loads keep the previous robot available and show an inline retry action.
Switch robots using **Robot** in the toolbar. Returning to Microduck restores the session's scene-line colour and feet / rollers choice, but initializes a fresh physical state. Failed loads keep the previous robot available and show an inline retry action.
Microduck policies / assets originate from [pollen-robotics/microduck](https://github.com/pollen-robotics/microduck) and [pollen-robotics/microduck_rl](https://github.com/pollen-robotics/microduck_rl). Microban assets originate from [Rhoban/microban](https://github.com/Rhoban/microban); exact source hashes, dirty-worktree provenance and license notices are included in its Package.
Microduck policies / assets originate from [pollen-robotics/microduck](https://github.com/pollen-robotics/microduck) and [pollen-robotics/microduck_rl](https://github.com/pollen-robotics/microduck_rl). Microban physics / policy assets originate from [Rhoban/microban](https://github.com/Rhoban/microban); its textured visual replacement comes from the user-supplied `microban2.zip`. Exact hashes, dirty-worktree provenance and license caveats are included in its [Package source notes](app/public/robots/microban/SOURCE.md).
### Shared scene controls (all robots)
The scene has brighter ambient / environment illumination plus a hemisphere fill light. The lower-left **Line color** palette retains the original Cream / Graphite / Lavender / Sky swatches and square comic buttons, but now changes **floor and wall grid lines**, not robot materials. The same palette is available for every robot, and its selection is global across robot switches, reset and feet / rollers changes.
The football is removed. One browser session randomly generates **5–7 lightweight boxes, spheres, cylinders and capsules** shared by **all robots**, clear of both bundled spawn anchors and each other. Their types, colours and relative layout stay identical when switching robots; geometry and positions scale with the existing arena-to-robot ratio. They have real MuJoCo free joints: every robot can push them, they collide with one another, the floor and walls, and the mouse can grab / lift them using spring forces. Reset, locomotion changes and robot switches restore the same session layout; refreshing generates a new layout. Escaped toys are returned individually. This shares environment configuration/layout, not live object momentum between different-scale robot simulations.
## Keyboard and mouse
@@ -40,12 +54,13 @@ Microduck policies / assets originate from [pollen-robotics/microduck](https://g
| Microduck ground pick | G |
| Microduck forward roll; roller crouch | T |
| Microduck feet / rollers | M or quickbar |
| Restore rear chase camera (both robots) | C |
| Restore rear chase camera (all robots) | C |
| Microban independent head rotation | H |
| RP1 trained dance (10 s segment) / wave (4.36 s) | J / H |
The on-screen reference comes from the same Package bindings as the keyboard, and its skill entries are also clickable buttons. Text fields / selectors retain their normal keyboard behavior. Focused buttons retain native Space / Enter behavior without also resetting the robot. Losing focus, pausing, resetting or switching clears held movement keys.
All bundled robots, and future Packages omitting `presentation.world`, use the shared **4.5 × 4.5 m** arena (length and width increased 50% from 3 m). Its four real collision walls are 0.25 m high and 0.05 m thick, with Microduck's dark glowing grid. Microban's interior stays flat; no relief or automatic coordinate clamping is added. Explicit `world: "flat"` remains available for generic-runtime diagnostics. Both robots start with the camera behind the body. Mouse orbit detaches chase mode; **C** restores rear following and the default zoom, including while paused (pressing C again does not detach). Microduck mouse dragging still applies physical forces to the robot / ball. Microban mouse dragging orbits the camera. Gamepad / touch are not part of this release's acceptance scope.
All bundled robots, and future Packages omitting `presentation.world`, use the same **robot-scaled arena template**. Microduck remains at **4.5 × 4.5 m**, with 0.25 m high / 0.05 m thick collision walls. World lengths scale by `dimensions.height / 0.27`: Microban gets **5.5 × 5.5 m**, walls ≈0.306 m high; RP1 gets **22 × 22 m**, walls ≈1.222 m high. Wall thickness, visual geometry, grid spacing and fade distances scale together, preserving Microduck's scene-to-body proportions. Nominal standing height is fixed per package, not inferred from the live pose or root spawn height; missing dimensions retain the reference scale. Interiors stay flat; no relief or automatic coordinate clamping is added. Explicit `world: "flat"` remains available for generic-runtime diagnostics. All robots start with the camera behind the body. Mouse orbit detaches chase mode; **C** restores rear following and the default zoom, including while paused (pressing C again does not detach). Dragging any robot or interactive geometry applies physical forces; dragging empty space orbits the camera, consistently for all three robots. Gamepad / touch are not part of this release's acceptance scope.
## Microban fidelity and limits
@@ -60,9 +75,17 @@ All bundled robots, and future Packages omitting `presentation.world`, use the s
BAM battery / friction / delay modeling, Placo squat, training, hardware control, ROS, camera observations, external Packages and online sharing are **not implemented** in this release. Ghost networking, stickers and celebration / entrance sequences are deferred. Audio retains the existing `SOUND_DISABLED=true` master setting; simulation never waits for an audio-unlock gesture.
## RP1 trained skills
Walking uses final `model_9000.pt` from `rp1_24dof_flat/2026-10-28_15-47-49`, float32 `[1,243]` (three term-major history frames) → `[1,24]`. Dance uses resumed `2026-10-29_11-05-14_dance_resume/model_23998.pt`; wave retains its separate final `model_7999.pt`. Their actual actor branch is **student**, float32 `[1,126]` → `[1,24]`, with joint-reference position/velocity commands. All exports include the empirical normalizer and use their own reference defaults, named joint order and action history.
Independent ONNX skills share `load/reset/run/dispose` and an exclusive full-body FSM: walk → settle → blend in → play → blend back to walk. Release movement keys before requesting a skill; movement interrupts it. Reference playback is simulation-clocked, freezes on pause, restarts on each activation, and never writes kinematic poses. **Wave plays its complete 4.36 s clip. Dance exposes only the validated first 10 s**: the previous dance checkpoint fell near 20 s during full 131.46 s playback; full-length playback of the updated checkpoint has not been qualified. These are trained policies, not scripted motion substitutes. Completed training does not imply exact training-simulator or hardware equivalence. See [RP1 integration and weight updates](docs/robots/rp1.md) and [completed-skills verification](docs/superpowers/verification/2026-10-29-rp1-completed-skills.md), plus the [23998 dance update](docs/superpowers/verification/2026-10-29-rp1-dance-23998.md).
**RP1 description asset licensing is not supplied in the upstream checkout. Local evaluation only; confirm rights before public deployment/redistribution.** Provenance and caveats are recorded in [the package SOURCE.md](app/public/robots/rp1/SOURCE.md).
## Development
Binary robot meshes and ONNX files use Git LFS:
Binary robot meshes, ONNX policies and `.f32` motion samples use Git LFS:
```bash
git lfs install
@@ -106,9 +129,9 @@ For prefixed hosting, build and preview with `VITE_BASE=/play/`; `DEPLOY_PATH=/p
- `app/src/robots/microduck/runtime.js`: compatibility adapter retaining original skill / recovery quirks and GLB presentation while using shared runtimes, scheduler, input, observation / action mapping and actuation.
- `app/src/game/worlds/arena/`: arena physics composition and rendering. `game/game.js` and `game/arena.js` are compatibility entry points, not generic engines.
A robot expressible with existing capabilities can be added by a Package and index entry, without a robot-id branch in the platform. Current generic scope is floating-base robots with scalar joint groups, unit-gear actuators, supported proprioceptive terms, ONNX primary control, position targets and optional sinusoidal overlays. Unsupported capabilities are rejected, not silently simulated incorrectly. New capabilities require explicit registry / schema work.
A robot expressible with existing capabilities can be added by a Package and index entry, without a robot-id branch in the platform. Current generic scope is floating-base robots with scalar joint groups, unit-gear actuators, supported proprioceptive / joint-reference terms, ONNX primary control, independent episodic policies, simulation-clocked motion references, position targets and optional sinusoidal overlays. Unsupported capabilities are rejected, not silently simulated incorrectly. New capabilities require explicit registry / schema work.
See [Package authoring](docs/robots/package-authoring.md), [Microban details](docs/robots/microban.md), [approved design](docs/superpowers/specs/2026-10-27-multi-robot-platform-design.md), [implementation plan](docs/superpowers/plans/2026-10-27-multi-robot-platform-implementation.md) and [initial verification](docs/superpowers/verification/2026-10-27-multi-robot-platform.md) and [style/camera verification](docs/superpowers/verification/2026-10-28-style-and-chase-camera.md), plus [arena-style verification](docs/superpowers/verification/2026-10-28-arena-presentation.md) and [current bounded-default verification](docs/superpowers/verification/2026-10-28-default-bounded-arena.md).
See [Package authoring](docs/robots/package-authoring.md), [Microban details](docs/robots/microban.md), [approved design](docs/superpowers/specs/2026-10-27-multi-robot-platform-design.md), [implementation plan](docs/superpowers/plans/2026-10-27-multi-robot-platform-implementation.md) and [initial verification](docs/superpowers/verification/2026-10-27-multi-robot-platform.md) and [style/camera verification](docs/superpowers/verification/2026-10-28-style-and-chase-camera.md), plus [arena-style verification](docs/superpowers/verification/2026-10-28-arena-presentation.md) and [initial bounded-default verification](docs/superpowers/verification/2026-10-28-default-bounded-arena.md). Current size-adaptive behavior is documented in [robot-scaled arena verification](docs/superpowers/verification/2026-10-28-robot-scaled-arena.md).
## License
+3 -3
View File
@@ -57,9 +57,9 @@ test("arena appearance matches Microduck while Microban physics stays flat and W
};
});
expect(state).toEqual({
cell: 0.1,
section: 0.6,
color: 0xffb366,
cell: 0.1 * (0.33 / 0.27),
section: 0.6 * (0.33 / 0.27),
color: 0xf7e6cb,
reveal: 1,
topo: 0,
hiddenFloor: true,
+101 -67
View File
@@ -2,21 +2,37 @@ import { test, expect } from "@playwright/test";
import { bootDuck } from "./support/simulation.js";
import { arenaWalls } from "../src/platform/worlds/arena.js";
const boundary = { half_extent: 2.25, wall_height: 0.25, wall_thickness: 0.05 };
test("Microduck and Microban share the 4.5m collision arena; visual inner faces match and C remains attached", async ({
test("all three robots keep Microduck's arena-to-body proportions; visual and physical walls agree", async ({
page,
}, info) => {
await bootDuck(page);
for (const id of ["microduck-legs", "microban"]) {
if (id === "microban")
for (const [id, scale] of [
["microduck-legs", 1],
["microban", 0.33 / 0.27],
["rp1", 1.32 / 0.27],
]) {
if (id !== "microduck-legs")
expect(
await page.evaluate(() => window.__gameApi.switchRobot("microban")),
await page.evaluate((id) => window.__gameApi.switchRobot(id), id),
).toBe(true);
const fitted = Object.fromEntries(
Object.entries(boundary).map(([k, v]) => [k, v * scale]),
);
const state = await page.evaluate(() => {
const r = window.rl;
return {
id: r.world.id,
boundary: r.world.boundary,
scale: r.world.scale,
following: r.chaseCam,
grid: r.scene.getObjectByName("arena-grid")
? {
cell: r.scene.getObjectByName("arena-grid").material.uniforms
.uCell.value,
fade: r.scene.getObjectByName("arena-grid").material.uniforms
.uFadeDist.value,
}
: null,
walls: ["wall_px", "wall_nx", "wall_py", "wall_ny"].map((name) => {
const g = r.model.geom(name).id;
return {
@@ -33,24 +49,30 @@ test("Microduck and Microban share the 4.5m collision arena; visual inner faces
};
});
expect(state.id).toBe("arena");
expect(state.boundary).toEqual(boundary);
expect(state.boundary).toEqual(fitted);
expect(state.scale).toBe(scale);
expect(state.following).toBe(true);
expect(state.walls).toEqual(
arenaWalls(boundary).map((w) => ({ ...w, type: 6, body: 0 })),
arenaWalls(fitted).map((w) => ({ ...w, type: 6, body: 0 })),
);
expect(state.visuals).toEqual([
[2.25, 0.125, 0],
[-2.25, 0.125, 0],
[0, 0.125, 2.25],
[0, 0.125, -2.25],
[fitted.half_extent, fitted.wall_height / 2, 0],
[-fitted.half_extent, fitted.wall_height / 2, 0],
[0, fitted.wall_height / 2, fitted.half_extent],
[0, fitted.wall_height / 2, -fitted.half_extent],
]);
if (state.grid) {
expect(state.grid.cell).toBeCloseTo(0.1 * scale, 8);
expect(state.grid.fade).toBeCloseTo(3 * scale, 8);
}
}
// QA overview only; normal entry remains the rear chase framing above.
await page.locator("canvas").click({ position: { x: 1000, y: 700 } });
await page.evaluate(() => {
const r = window.rl;
r.controls.maxDistance = 8;
r.camera.position.set(-3, 3, 3);
const scale = r.world.scale;
r.controls.maxDistance = 8 * scale;
r.camera.position.set(-3 * scale, 3 * scale, 3 * scale);
r.controls.target.set(0, 0, 0);
r.controls.update();
});
@@ -87,63 +109,75 @@ test("a future Package with no world field automatically loads the bounded defau
world: window.rl.world.id,
bounds: window.rl.world.boundary,
})),
).toEqual({ id: "future-bot", world: "arena", bounds: boundary });
).toEqual({
id: "future-bot",
world: "arena",
bounds: Object.fromEntries(
Object.entries(boundary).map(([k, v]) => [k, v * (0.33 / 0.27)]),
),
});
});
test("real MuJoCo wall contacts block commanded motion on all four sides without coordinate clamping", async ({
page,
}, info) => {
await bootDuck(page);
expect(
await page.evaluate(() => window.__gameApi.switchRobot("microban")),
).toBe(true);
const results = await page.evaluate(async () => {
const r = window.rl,
report = [];
for (const [name, axis, sign, yaw] of [
["wall_px", 0, 1, 0],
["wall_nx", 0, -1, Math.PI],
["wall_py", 1, 1, Math.PI / 2],
["wall_ny", 1, -1, -Math.PI / 2],
]) {
await r.resetSim();
const id = r.model.geom(name).id;
r.data.qpos[axis] = sign * 2.05;
r.data.qpos[3] = Math.cos(yaw / 2);
r.data.qpos[6] = Math.sin(yaw / 2);
r.mujoco.mj_forward(r.model, r.data);
r.command.set([0.15, 0, 0]);
let contacts = 0,
max = sign * r.data.qpos[axis];
for (let tick = 0; tick < 30; tick++) {
await r.step(5);
max = Math.max(max, sign * r.data.qpos[axis]);
const list = r.data.contact;
for (let i = 0; i < r.data.ncon; i++) {
const c = list.get(i);
if (c.geom1 === id || c.geom2 === id) contacts++;
c.delete();
for (const robot of [
{ id: "microban", forward: 0.15, pad: 0.2 },
{ id: "rp1", forward: 0.4, pad: 0.35 },
])
test(`${robot.id}: real scaled wall contacts block motion on all four sides without coordinate clamping`, async ({
page,
}, info) => {
await bootDuck(page);
expect(
await page.evaluate((id) => window.__gameApi.switchRobot(id), robot.id),
).toBe(true);
const results = await page.evaluate(async (robot) => {
const r = window.rl,
report = [],
half = r.world.boundary.half_extent;
for (const [name, axis, sign, yaw] of [
["wall_px", 0, 1, 0],
["wall_nx", 0, -1, Math.PI],
["wall_py", 1, 1, Math.PI / 2],
["wall_ny", 1, -1, -Math.PI / 2],
]) {
await r.resetSim();
const id = r.model.geom(name).id;
r.data.qpos[axis] = sign * (half - robot.pad);
r.data.qpos[3] = Math.cos(yaw / 2);
r.data.qpos[6] = Math.sin(yaw / 2);
r.mujoco.mj_forward(r.model, r.data);
r.command.set([robot.forward, 0, 0]);
let contacts = 0,
max = sign * r.data.qpos[axis];
for (let tick = 0; tick < 30; tick++) {
await r.step(5);
max = Math.max(max, sign * r.data.qpos[axis]);
const list = r.data.contact;
for (let i = 0; i < r.data.ncon; i++) {
const c = list.get(i);
if (c.geom1 === id || c.geom2 === id) contacts++;
c.delete();
}
list.delete();
}
list.delete();
report.push({
name,
contacts,
max,
half,
time: r.data.time,
fallen: r.fallen,
finite: Array.from(r.data.qpos).every(Number.isFinite),
});
}
report.push({
name,
contacts,
max,
time: r.data.time,
fallen: r.fallen,
finite: Array.from(r.data.qpos).every(Number.isFinite),
});
return report;
}, robot);
for (const r of results) {
expect(r.contacts, JSON.stringify(r)).toBeGreaterThan(0);
expect(r.max, JSON.stringify(r)).toBeLessThan(r.half);
expect(r.time).toBeCloseTo(3, 6);
expect(r.finite).toBe(true);
}
return report;
await info.attach("wall-contacts.json", {
body: JSON.stringify(results, null, 2),
contentType: "application/json",
});
});
for (const r of results) {
expect(r.contacts, JSON.stringify(r)).toBeGreaterThan(0);
expect(r.max, JSON.stringify(r)).toBeLessThan(2.25);
expect(r.time).toBeCloseTo(3, 6);
expect(r.finite).toBe(true);
}
await info.attach("wall-contacts.json", {
body: JSON.stringify(results, null, 2),
contentType: "application/json",
});
});
+9 -5
View File
@@ -60,13 +60,15 @@ test("both robots default to the same rear camera and comic UI; Microban keeps f
await expect(
page.getByRole("navigation", { name: "Simulation controls" }),
).toHaveCSS("border-top-width", "2px");
await expect(page.getByRole("group", { name: "Duck colours" })).toHaveCount(
0,
);
await expect(
page.getByRole("group", { name: "Scene line colours" }),
).toBeVisible();
await expect(
page.getByRole("button", { name: "Rollers", exact: true }),
).toHaveCount(0);
await expect(page.getByText("Drag robot / ball: apply force")).toHaveCount(0);
await expect(
page.getByText("Drag robot / geometry: apply force"),
).toBeVisible();
await expect(page.getByRole("status")).toContainText("Simplified actuation");
expect(
await page.evaluate(() => window.rl.model.geom("platform_floor").id),
@@ -74,7 +76,9 @@ test("both robots default to the same rear camera and comic UI; Microban keeps f
await page.screenshot({ path: info.outputPath("microban-chase.png") });
await page.evaluate(() => window.__gameApi.switchRobot("microduck-legs"));
await rear(page);
await expect(page.getByRole("group", { name: "Duck colours" })).toBeVisible();
await expect(
page.getByRole("group", { name: "Scene line colours" }),
).toBeVisible();
expect(errors).toEqual([]);
});
for (const id of ["microban", "microduck-legs"])
+25 -2
View File
@@ -1,6 +1,6 @@
import { test, expect } from "@playwright/test";
test.use({ video: { mode: "on", size: { width: 1280, height: 800 } } });
test("deployed assets respect the base path and both Robot Packages boot", async ({
test("deployed assets respect the base path and all three Robot Packages boot", async ({
page,
}, info) => {
const failures = [],
@@ -20,7 +20,24 @@ test("deployed assets respect the base path and both Robot Packages boot", async
await expect(
page.getByRole("button", { name: "Pause", exact: true }),
).toBeEnabled();
await page.waitForTimeout(500); // capture after the ball's existing appear FX
await page.waitForTimeout(500); // let the physical toys settle
const toys = await page.evaluate(() => {
const r = window.rl;
return {
count: r.interactiveProps.length,
visible: r.scene.getObjectByName("interactive-props").visible,
hasBall:
r.mujoco.mj_name2id(
r.model,
r.mujoco.mjtObj.mjOBJ_BODY.value,
"ball",
) >= 0,
};
});
expect(toys.count).toBeGreaterThanOrEqual(5);
expect(toys.count).toBeLessThanOrEqual(7);
expect(toys.visible).toBe(true);
expect(toys.hasBall).toBe(false);
await page.screenshot({ path: info.outputPath("microduck.png") });
await page.getByLabel("Robot", { exact: true }).selectOption("microban");
await expect
@@ -29,6 +46,12 @@ test("deployed assets respect the base path and both Robot Packages boot", async
await expect(page.getByRole("status")).toContainText("Simplified actuation");
await page.waitForTimeout(500);
await page.screenshot({ path: info.outputPath("microban.png") });
await page.getByLabel("Robot", { exact: true }).selectOption("rp1");
await expect
.poll(() => page.evaluate(() => window.__store.getState().robotId))
.toBe("rp1");
await expect(page.getByRole("status")).toContainText("Skill: walk");
await page.screenshot({ path: info.outputPath("rp1.png") });
expect(errors).toEqual([]);
expect(failures).toEqual([]);
const origin = new URL(page.url()).origin;
+212
View File
@@ -0,0 +1,212 @@
import { test, expect } from "@playwright/test";
async function boot(page) {
await page.goto("/");
await expect(
page.getByRole("button", { name: "Pause", exact: true }),
).toBeEnabled();
await page.evaluate(() => window.__gameApi.pause());
}
test("20 textured GLBs replace only Microban visuals, align to original geometry and follow all bodies", async ({
page,
}, info) => {
const errors = [];
page.on("pageerror", (error) => errors.push(error.message));
await boot(page);
expect(
await page.evaluate(() => window.__gameApi.switchRobot("microban")),
).toBe(true);
const inspect = () =>
page.evaluate(() => {
const r = window.rl,
layer = r.scene.getObjectByName("body-visuals"),
rig = layer.parent;
rig.updateMatrixWorld(true);
let maxFrameError = 0,
maxBoundsError = 0,
maps = 0,
colorMaps = 0,
meshes = 0,
hidden = 0;
const bounds = (objects, frame) => {
const lo = [Infinity, Infinity, Infinity],
hi = [-Infinity, -Infinity, -Infinity];
const inverse = frame.matrixWorld.clone().invert(),
vector = frame.position.clone();
for (const mesh of objects) {
const transform = inverse.clone().multiply(mesh.matrixWorld),
attr = mesh.geometry.attributes.position;
for (let i = 0; i < attr.count; i++) {
vector.fromBufferAttribute(attr, i).applyMatrix4(transform);
const v = vector.toArray();
for (let axis = 0; axis < 3; axis++) {
lo[axis] = Math.min(lo[axis], v[axis]);
hi[axis] = Math.max(hi[axis], v[axis]);
}
}
}
return [...lo, ...hi];
};
for (const frame of layer.children) {
const body = frame.name.slice("body-visual:".length),
id = r.mujoco.mj_name2id(
r.model,
r.mujoco.mjtObj.mjOBJ_BODY.value,
body,
);
const p = Array.from(r.data.xpos.slice(id * 3, id * 3 + 3));
const q = Array.from(r.data.xquat.slice(id * 4, id * 4 + 4));
maxFrameError = Math.max(
maxFrameError,
...p.map((v, i) => Math.abs(v - frame.position.toArray()[i])),
...[q[1], q[2], q[3], q[0]].map((v, i) =>
Math.abs(v - frame.quaternion.toArray()[i]),
),
);
const originals = rig.children.filter(
(mesh) =>
mesh.userData.geomId !== undefined &&
r.model.geom_bodyid[mesh.userData.geomId] === id,
);
const replacements = [];
frame.traverse((object) => {
if (!object.isMesh) return;
meshes++;
replacements.push(object);
const materials = [object.material].flat();
maps += materials.filter(
(material) => material.normalMap?.image?.width > 0,
).length;
colorMaps += materials.filter(
(material) => material.map?.image?.width > 0,
).length;
});
hidden += originals.filter((mesh) => !mesh.visible).length;
const oldBounds = bounds(originals, frame),
newBounds = bounds(replacements, frame);
maxBoundsError = Math.max(
maxBoundsError,
...oldBounds.map((v, i) => Math.abs(v - newBounds[i])),
);
}
return {
count: layer.children.length,
maps,
colorMaps,
meshes,
hidden,
maxFrameError,
maxBoundsError,
obs: r.buildObs().length,
};
});
const initial = await inspect();
console.log("Microban visual alignment", initial);
expect(initial.count).toBe(20);
expect(initial.maps).toBeGreaterThanOrEqual(20);
expect(initial.colorMaps).toBeGreaterThanOrEqual(1);
expect(initial.hidden).toBeGreaterThan(20);
expect(initial.maxFrameError).toBeLessThan(1e-12);
expect(initial.maxBoundsError).toBeLessThan(0.0031);
expect(initial.obs).toBe(63);
// Change root yaw and every hinge, including head: no bind-pose-only rig.
await page.evaluate(() => {
const r = window.rl;
r.data.qpos[3] = Math.cos(0.4);
r.data.qpos[6] = Math.sin(0.4);
for (let i = 7; i < r.model.nq; i++) r.data.qpos[i] += 0.12;
r.mujoco.mj_forward(r.model, r.data);
});
await page.waitForTimeout(150);
const articulated = await inspect();
expect(articulated.maxFrameError).toBeLessThan(1e-12);
expect(articulated.maxBoundsError).toBeLessThan(0.0031);
await page.evaluate(() => window.rl.resetSim());
await page.waitForTimeout(150);
// Front 3/4 view for a useful visual acceptance artifact.
await page.evaluate(() => {
window.rl.camera.position.set(0.58, 0.38, 0.58);
window.rl.controls.target.set(0, 0.17, 0);
window.rl.controls.update();
});
await page.waitForTimeout(200);
const screenshot = info.outputPath("textured-microban.png");
await page.screenshot({ path: screenshot });
await info.attach("textured-microban.png", {
path: screenshot,
contentType: "image/png",
});
expect(errors).toEqual([]);
});
test("failed visual candidate rolls back without hiding the old robot; retry loads textures", async ({
page,
}) => {
await boot(page);
const before = await page.evaluate(
() => window.__gameApi.diagnostics().sceneChildren,
);
let fail = true;
await page.route(
"**/robots/microban/visuals/LINK10__visual_0__LINK10.glb",
(route) =>
fail
? route.fulfill({ status: 404, body: "missing visual" })
: route.continue(),
);
expect(
await page.evaluate(() => window.__gameApi.switchRobot("microban")),
).toBe(false);
expect(await page.evaluate(() => window.__store.getState().robotId)).toBe(
"microduck-legs",
);
expect(
await page.evaluate(() => window.__gameApi.diagnostics().sceneChildren),
).toBe(before);
expect(
await page.evaluate(
() => window.rl.scene.getObjectByName("body-visuals") === undefined,
),
).toBe(true);
fail = false;
expect(
await page.evaluate(() => window.__gameApi.switchRobot("microban")),
).toBe(true);
expect(
await page.evaluate(
() => window.rl.scene.getObjectByName("body-visuals").children.length,
),
).toBe(20);
});
test("visual replacement leaves deterministic physics and ONNX actions unchanged", async ({
page,
}) => {
await boot(page);
let textured = false;
await page.route("**/robots/microban/robot.json", async (route) => {
const response = await route.fetch(),
config = await response.json();
if (!textured) delete config.render.body_visuals;
await route.fulfill({ json: config });
});
async function run() {
expect(
await page.evaluate(() => window.__gameApi.switchRobot("microban")),
).toBe(true);
return page.evaluate(async () => {
const r = window.rl;
await r.resetSim();
await r.step(80);
return {
qpos: Array.from(r.data.qpos),
qvel: Array.from(r.data.qvel),
action: Array.from(r.lastAction),
};
});
}
const white = await run();
expect(
await page.evaluate(() => window.__gameApi.switchRobot("microduck-legs")),
).toBe(true);
textured = true;
const visual = await run();
expect(visual).toEqual(white);
});
+1 -1
View File
@@ -26,7 +26,7 @@ for (const scenario of [
world.boundary.half_extent = 1.5;
await route.fulfill({ response, json: world });
});
const errors = await bootDuck(page);
const errors = await bootDuck(page, { legacyPhysics: true });
await page.evaluate(async (scenario) => {
const r = window.rl;
if (scenario === "rollers" || scenario === "crouch") {
+5 -5
View File
@@ -11,7 +11,7 @@ test("Microduck → Microban → Microduck restores theme, colours and locomotio
const errors = [];
page.on("pageerror", (e) => errors.push(e.message));
await ready(page);
await page.getByRole("button", { name: "Lavender colours" }).click();
await page.getByRole("button", { name: "Lavender scene lines" }).click();
await page.getByRole("button", { name: "Rollers", exact: true }).click();
await page.waitForFunction(() => window.rl?.loco === "rollers");
await page.getByLabel("Robot", { exact: true }).selectOption("microban");
@@ -26,9 +26,9 @@ test("Microduck → Microban → Microduck restores theme, colours and locomotio
await expect(
page.getByText("Toggle head rotation", { exact: false }),
).toBeVisible();
await expect(page.getByRole("group", { name: "Duck colours" })).toHaveCount(
0,
);
await expect(
page.getByRole("group", { name: "Scene line colours" }),
).toBeVisible();
expect(await page.evaluate(() => window.rl.buildObs().length)).toBe(63);
await page.getByLabel("Robot", { exact: true }).selectOption("microduck");
await page.waitForFunction(
@@ -37,7 +37,7 @@ test("Microduck → Microban → Microduck restores theme, colours and locomotio
window.rl?.loco === "rollers",
);
await expect(
page.getByRole("button", { name: "Lavender colours" }),
page.getByRole("button", { name: "Lavender scene lines" }),
).toHaveAttribute("aria-pressed", "true");
expect(await page.evaluate(() => window.rl.data.time)).toBeLessThan(3);
expect(errors).toEqual([]);
+347
View File
@@ -0,0 +1,347 @@
import { test, expect } from "@playwright/test";
import { readFileSync } from "node:fs";
async function allowStaged(page) {
// Qualification can exercise disabled candidates; normal CI uses the actual manifest.
if (process.env.RP1_TEST_STAGED) {
await page.route("**/robots/rp1/robot.json*", async (route) => {
const response = await route.fetch(),
config = await response.json();
for (const skill of config.skills.filter((s) => s.kind === "episodic")) {
skill.available = true;
config.input.bindings.find(
(b) => b.action === `skill:${skill.id}`,
).disabled = false;
}
await route.fulfill({ response, json: config });
});
}
}
async function boot(page) {
await allowStaged(page);
await page.goto("/");
await expect(
page.getByRole("button", { name: "Pause", exact: true }),
).toBeEnabled();
expect(await page.evaluate(() => window.__gameApi.switchRobot("rp1"))).toBe(
true,
);
await page.evaluate(() => window.rl.pause());
}
for (const skill of ["wave", "dance"]) {
test(`trained ${skill}: three headings, configured segment, physical walk→skill→walk`, async ({
page,
}, info) => {
test.setTimeout(240000);
await boot(page);
const reports = [];
for (const turn of [0, 1.8, -1.8]) {
const report = await page.evaluate(
async ({ skill, turn }) => {
const r = window.rl;
await r.resetSim();
if (turn) {
r.command.set([0, 0, Math.sign(turn) * 0.6]);
await r.step(Math.round(Math.abs(turn) * 50));
}
r.command.set([0.4, 0, 0]);
await r.step(50);
r.command.fill(0);
await r.step(100);
const before = Array.from(r.data.qpos.slice(0, 3));
if (!r.policyState.request(skill, r.data.time))
throw new Error("request refused");
const states = [],
samples = [];
let entered = false,
fallen = null,
completed = false,
minHeight = Infinity;
let previousState = "",
previousPosition = before,
maxStep = 0,
maxAction = 0,
maxFrame = 0;
const duration = r.policyState.episodes.get(skill).duration;
for (let i = 0; i < (duration + 10) * 50; i++) {
await r.step(1);
const state = r.policyState.state;
if (state !== previousState) {
states.push({
state,
time: r.data.time,
reference: r.referenceFrame,
});
previousState = state;
}
const p = Array.from(r.data.qpos.slice(0, 3));
maxStep = Math.max(
maxStep,
Math.hypot(...p.map((v, j) => v - previousPosition[j])),
);
previousPosition = p;
minHeight = Math.min(minHeight, p[2]);
maxAction = Math.max(
maxAction,
...Array.from(r.lastAction, Math.abs),
);
maxFrame = Math.max(maxFrame, r.referenceFrame ?? 0);
if (
![
...r.data.qpos,
...r.data.qvel,
...r.data.ctrl,
...r.lastAction,
].every(Number.isFinite)
)
throw new Error("non-finite physics/action state");
if (r.activePolicy === skill) entered = true;
if (i % 50 === 0 && r.activePolicy === skill) {
const obs = Array.from(r.buildObs());
if (obs.length !== 126)
throw new Error(`wrong observation length ${obs.length}`);
samples.push({
time: r.data.time,
frame: r.referenceFrame,
pos: p,
obs,
});
}
if (r.fallen) {
fallen = { time: r.data.time, frame: r.referenceFrame, p };
break;
}
if (entered && state === "walk") {
completed = true;
break;
}
}
const after = Array.from(r.data.qpos.slice(0, 3));
const [w, x, y, z] = r.data.qpos.slice(3, 7);
const yaw = Math.atan2(2 * (w * z + x * y), 1 - 2 * (y * y + z * z));
if (completed) {
r.command.set([0.4, 0, 0]);
await r.step(150);
}
const walkAfter = Array.from(r.data.qpos.slice(0, 3));
return {
skill,
turn,
duration,
before,
after,
states,
samples,
entered,
completed,
fallen,
finalFallen: r.fallen,
minHeight,
maxStep,
maxAction,
maxFrame,
stats: r.actuationStats,
walkAfter,
forwardAfter:
(walkAfter[0] - after[0]) * Math.cos(yaw) +
(walkAfter[1] - after[1]) * Math.sin(yaw),
};
},
{ skill, turn },
);
reports.push(report);
const base = new URL("../public/robots/rp1/", import.meta.url);
const descriptor = JSON.parse(
readFileSync(new URL(`motions/${skill}.json`, base)),
);
const binary = readFileSync(new URL(descriptor.data, base));
for (const sample of report.samples) {
for (let j = 0; j < 24; j++) {
expect(sample.obs[j]).toBe(
binary.readFloatLE((sample.frame * 24 + j) * 4),
);
expect(sample.obs[j + 24]).toBe(
binary.readFloatLE(
(descriptor.frames * 24 + sample.frame * 24 + j) * 4,
),
);
}
}
await info.attach(`${skill}-${turn}-playback.json`, {
body: JSON.stringify(report),
contentType: "application/json",
});
console.log(
`RP1 ${skill} playback`,
JSON.stringify({ ...report, samples: undefined }),
);
expect(report.entered).toBe(true);
expect(report.fallen).toBeNull();
expect(report.completed).toBe(true);
expect(report.finalFallen).toBe(false);
expect(report.maxStep).toBeLessThan(0.15);
expect(report.minHeight).toBeGreaterThan(0.4);
expect(report.forwardAfter).toBeGreaterThan(0.4);
expect(report.maxFrame).toBeGreaterThanOrEqual(report.duration * 50 - 2);
expect(report.stats.longestSaturatedSeconds).toBeLessThan(0.5);
}
await page.screenshot({ path: info.outputPath(`${skill}.png`) });
});
}
test("trained skill keyboard activation, pause freezes reference, movement interrupts, reset clears", async ({
page,
}) => {
await boot(page);
for (const [skill, key] of [
["wave", "KeyH"],
["dance", "KeyJ"],
]) {
await page.evaluate(async () => {
const r = window.rl;
await r.resetSim();
await r.step(100);
r.resume();
});
await page
.locator("canvas")
.first()
.click({ position: { x: 700, y: 600 } });
await page.keyboard.press(key);
await expect
.poll(() => page.evaluate(() => window.rl.policyState.state))
.not.toBe("walk");
await page.evaluate(async () => {
await window.rl.pause();
await window.rl.step(45);
});
expect(await page.evaluate(() => window.rl.activePolicy)).toBe(skill);
const paused = await page.evaluate(() => ({
time: window.rl.data.time,
frame: window.rl.referenceFrame,
}));
await page.waitForTimeout(250);
expect(
await page.evaluate(() => ({
time: window.rl.data.time,
frame: window.rl.referenceFrame,
})),
).toEqual(paused);
const result = await page.evaluate(async () => {
const r = window.rl;
r.command.set([0.4, 0, 0]);
await r.step(1);
const interrupted = {
active: r.activePolicy,
state: r.policyState.state,
};
await r.step(100);
return { interrupted, state: r.policyState.state, fallen: r.fallen };
});
expect(result.interrupted).toEqual({ active: "walk", state: "returning" });
expect(result.state).toBe("walk");
expect(result.fallen).toBe(false);
await page.keyboard.press("Space");
await expect.poll(() => page.evaluate(() => window.rl.data.time)).toBe(0);
expect(await page.evaluate(() => window.rl.referenceFrame)).toBeNull();
expect(
await page.evaluate(() =>
Array.from(window.rl.lastAction).every((v) => v === 0),
),
).toBe(true);
}
});
test("repeated real skills restart reference at zero without resetting the robot", async ({
page,
}, info) => {
await boot(page);
const report = await page.evaluate(async () => {
const r = window.rl,
episodes = [];
await r.step(100);
for (const skill of ["wave", "dance", "wave", "dance"]) {
r.command.fill(0);
await r.step(100);
if (!r.policyState.request(skill, r.data.time))
throw new Error("request refused");
let firstFrame = null,
lastFrame = null,
entered = false,
complete = false;
const duration = r.policyState.episodes.get(skill).duration;
for (let i = 0; i < (duration + 7) * 50; i++) {
await r.step(1);
if (r.fallen) throw new Error(`${skill}: fallen at ${r.data.time}`);
if (r.activePolicy === skill) {
firstFrame ??= r.referenceFrame;
lastFrame = r.referenceFrame;
entered = true;
}
if (entered && r.policyState.state === "walk") {
complete = true;
break;
}
}
episodes.push({
skill,
firstFrame,
lastFrame,
complete,
time: r.data.time,
});
r.command.set([0.4, 0, 0]);
await r.step(50);
}
return episodes;
});
await info.attach("repeated-skills.json", {
body: JSON.stringify(report),
contentType: "application/json",
});
for (const episode of report) {
expect(episode.firstFrame).toBe(0);
expect(episode.lastFrame).toBe(episode.skill === "wave" ? 217 : 499);
expect(episode.complete).toBe(true);
}
});
test("truncated motion asset rolls back the candidate and permits a clean retry", async ({
page,
}) => {
await allowStaged(page);
await page.goto("/");
await expect(
page.getByRole("button", { name: "Pause", exact: true }),
).toBeEnabled();
await page.route("**/robots/rp1/motions/wave.f32*", (route) =>
route.fulfill({
body: Buffer.alloc(8),
contentType: "application/octet-stream",
}),
);
const old = await page.evaluate(() => {
window.__oldRobotModel = window.rl.model;
return window.__store.getState().robotId;
});
expect(await page.evaluate(() => window.__gameApi.switchRobot("rp1"))).toBe(
false,
);
expect(await page.evaluate(() => window.__store.getState().robotId)).toBe(
old,
);
expect(
await page.evaluate(() => window.__store.getState().runtimeError),
).toContain("sample count");
expect(
await page.evaluate(() => window.rl.model === window.__oldRobotModel),
).toBe(true);
await page.unroute("**/robots/rp1/motions/wave.f32*");
expect(await page.evaluate(() => window.__gameApi.switchRobot("rp1"))).toBe(
true,
);
expect(
await page.evaluate(() => window.__store.getState().runtimeError),
).toBeNull();
});
+274
View File
@@ -0,0 +1,274 @@
import { test, expect } from "@playwright/test";
import { bootDuck } from "./support/simulation.js";
async function boot(page) {
await bootDuck(page);
await page.evaluate(() => window.__gameApi.pause());
}
test("all 63 RP1 material parts follow 25 physical bodies, including fixed fingers, with original shapes aligned", async ({
page,
}, info) => {
const errors = [];
page.on("pageerror", (e) => errors.push(e.message));
await boot(page);
expect(await page.evaluate(() => window.__gameApi.switchRobot("rp1"))).toBe(
true,
);
const inspect = () =>
page.evaluate(async () => {
const r = window.rl,
layer = r.scene.getObjectByName("body-visuals"),
rig = layer.parent;
rig.updateMatrixWorld(true);
const xml = new DOMParser().parseFromString(
await (await fetch("robots/rp1/visuals/rp1_hand_fixed.urdf")).text(),
"text/xml",
);
const joints = new Map(
[...xml.querySelectorAll("joint")].map((j) => [
j.querySelector("child").getAttribute("link"),
j,
]),
);
const Matrix = rig.matrix.constructor,
Euler = r.controls.object.rotation.constructor;
const correction = new Matrix().makeRotationX(Math.PI / 2);
const urdfRelative = (name, anchor) => {
const result = new Matrix();
while (name !== anchor) {
const joint = joints.get(name),
origin = joint.querySelector("origin");
const xyz = (origin?.getAttribute("xyz") ?? "0 0 0")
.split(/\s+/)
.map(Number);
const angles = (origin?.getAttribute("rpy") ?? "0 0 0")
.split(/\s+/)
.map(Number);
const matrix = new Matrix().makeRotationFromEuler(
new Euler(...angles, "ZYX"),
);
matrix.setPosition(...xyz);
result.premultiply(matrix);
name = joint.querySelector("parent").getAttribute("link");
}
return result.multiply(correction);
};
const bounds = (objects, frame) => {
const lo = [Infinity, Infinity, Infinity],
hi = [-Infinity, -Infinity, -Infinity];
const inverse = frame.matrixWorld.clone().invert(),
vector = frame.position.clone();
for (const mesh of objects) {
const transform = inverse.clone().multiply(mesh.matrixWorld),
attr = mesh.geometry.attributes.position;
for (let i = 0; i < attr.count; i++) {
vector.fromBufferAttribute(attr, i).applyMatrix4(transform);
vector.toArray().forEach((v, a) => {
lo[a] = Math.min(lo[a], v);
hi[a] = Math.max(hi[a], v);
});
}
}
return [...lo, ...hi];
};
let frameError = 0,
boundsError = 0,
handError = 0,
handParts = 0,
normals = 0,
screens = 0,
emissive = 0,
hidden = 0,
meshes = 0;
for (const frame of layer.children) {
const body = frame.name.slice("body-visual:".length),
id = r.mujoco.mj_name2id(
r.model,
r.mujoco.mjtObj.mjOBJ_BODY.value,
body,
);
const p = Array.from(r.data.xpos.slice(id * 3, id * 3 + 3)),
q = Array.from(r.data.xquat.slice(id * 4, id * 4 + 4));
frameError = Math.max(
frameError,
...p.map((v, i) => Math.abs(v - frame.position.toArray()[i])),
...[q[1], q[2], q[3], q[0]].map((v, i) =>
Math.abs(v - frame.quaternion.toArray()[i]),
),
);
const originals = rig.children.filter(
(m) =>
m.userData.geomId !== undefined &&
r.model.geom_bodyid[m.userData.geomId] === id,
);
hidden += originals.filter((m) => !m.visible).length;
const replacements = [];
frame.traverse((node) => {
if (node.userData.sourcePart) {
handParts++;
const actual = frame.matrixWorld
.clone()
.invert()
.multiply(node.matrixWorld);
const expected = urdfRelative(
node.userData.sourcePart,
`${body.split("_")[0]}_wrist_roll_link`,
);
handError = Math.max(
handError,
...actual.elements.map((v, i) =>
Math.abs(v - expected.elements[i]),
),
);
}
if (!node.isMesh) return;
meshes++;
replacements.push(node);
for (const m of [node.material].flat()) {
if (m.normalMap?.image?.width > 0) normals++;
if (m.map?.image?.width > 0) screens++;
if (m.emissiveIntensity > 1) emissive++;
}
});
if (!body.endsWith("_wrist_link")) {
const before = bounds(originals, frame),
after = bounds(replacements, frame);
boundsError = Math.max(
boundsError,
...before.map((v, i) => Math.abs(v - after[i])),
);
}
}
return {
bodies: layer.children.length,
frameError,
boundsError,
handError,
handParts,
normals,
screens,
emissive,
hidden,
meshes,
obs: r.buildObs().length,
actions: r.lastAction.length,
actuators: r.model.nu,
};
});
const initial = await inspect();
console.log("RP1 GLB alignment", initial);
expect(initial.bodies).toBe(25);
expect(initial.handParts).toBe(40);
expect(initial.frameError).toBeLessThan(1e-12);
expect(initial.boundsError).toBeLessThan(1e-7);
expect(initial.handError).toBeLessThan(1e-10);
expect(initial.normals).toBeGreaterThanOrEqual(63);
expect(initial.screens).toBeGreaterThanOrEqual(1);
expect(initial.emissive).toBeGreaterThanOrEqual(1);
expect(initial.hidden).toBe(25);
expect(initial.obs).toBe(243);
expect(initial.actions).toBe(24);
expect(initial.actuators).toBe(24);
await page.evaluate(() => {
const r = window.rl;
r.data.qpos[3] = Math.cos(0.4);
r.data.qpos[6] = Math.sin(0.4);
for (let j = 0; j < r.model.njnt; j++)
if (r.model.jnt_type[j] === 3)
r.data.qpos[r.model.jnt_qposadr[j]] += 0.12;
r.mujoco.mj_forward(r.model, r.data);
});
await page.waitForTimeout(200);
const posed = await inspect();
expect(posed.frameError).toBeLessThan(1e-12);
expect(posed.boundsError).toBeLessThan(1e-7);
expect(posed.handError).toBeLessThan(1e-10);
await page.evaluate(() => window.rl.resetSim());
await page.getByRole("button", { name: /Keyboard controls/ }).click();
await page.mouse.click(950, 750, { button: "right" });
await page.evaluate(() => {
const r = window.rl;
r.setPropsParked(true);
r.camera.position.set(2.4, 1.35, 1.3);
r.controls.target.set(0, 0.7, 0);
r.controls.update();
});
await page.waitForTimeout(300);
await page.screenshot({ path: info.outputPath("rp1-material-front.png") });
expect(errors).toEqual([]);
});
test("RP1 GLBs change no physics, observations or ONNX actions for walking, wave and dance", async ({
page,
}) => {
await boot(page);
let textured = false;
await page.route("**/robots/rp1/robot.json*", async (route) => {
const response = await route.fetch(),
config = await response.json();
if (!textured) delete config.render.body_visuals;
await route.fulfill({ response, json: config });
});
async function run() {
expect(await page.evaluate(() => window.__gameApi.switchRobot("rp1"))).toBe(
true,
);
return page.evaluate(async () => {
const r = window.rl,
result = [];
for (const scenario of ["walk", "wave", "dance"]) {
await r.resetSim();
await r.step(100);
if (scenario === "walk") r.command.set([0.4, 0, 0.15]);
else r.policyState.request(scenario, r.data.time);
for (let i = 0; i < 5; i++) {
await r.step(50);
result.push({
scenario,
time: r.data.time,
qpos: Array.from(r.data.qpos),
qvel: Array.from(r.data.qvel),
ctrl: Array.from(r.data.ctrl),
action: Array.from(r.lastAction),
obs: Array.from(r.buildObs()),
state: r.policyState.state,
reference: r.referenceFrame,
});
}
}
return result;
});
}
const old = await run();
await page.evaluate(() => window.__gameApi.switchRobot("microduck-legs"));
textured = true;
expect(await run()).toEqual(old);
});
test("a partial RP1 material load failure releases the candidate and retry succeeds", async ({
page,
}) => {
await boot(page);
let fail = true;
await page.route(
"**/robots/rp1/visuals/left_hip_roll_link__visual_0__left_hip_roll_link.glb",
(route) =>
fail ? route.fulfill({ status: 404, body: "missing" }) : route.continue(),
);
expect(await page.evaluate(() => window.__gameApi.switchRobot("rp1"))).toBe(
false,
);
await expect(page.getByRole("alert")).toContainText("404");
expect(await page.evaluate(() => window.__store.getState().robotId)).toBe(
"microduck-legs",
);
expect(await page.evaluate(() => window.rl.model.isDeleted())).toBe(false);
fail = false;
expect(await page.evaluate(() => window.__gameApi.retry())).toBe(true);
expect(
await page.evaluate(
() => window.rl.scene.getObjectByName("body-visuals").children.length,
),
).toBe(25);
});
+291
View File
@@ -0,0 +1,291 @@
import { test, expect } from "@playwright/test";
async function boot(page) {
await page.goto("/");
await expect(
page.getByRole("button", { name: "Pause", exact: true }),
).toBeEnabled();
await page.getByLabel("Robot", { exact: true }).selectOption("rp1");
await page.waitForFunction(
() =>
window.__store.getState().robotId === "rp1" ||
window.__store.getState().runtimeError,
);
expect(
await page.evaluate(() => window.__store.getState().runtimeError),
).toBeNull();
await page.evaluate(() => window.rl.pause());
}
test("third robot: real WASM/ONNX, keyboard command contract, trained skill bindings, fall/reset, switching", async ({
page,
}, info) => {
const errors = [];
page.on("pageerror", (e) => errors.push(e.message));
await boot(page);
expect(
await page.getByLabel("Robot", { exact: true }).locator("option").count(),
).toBe(3);
expect(await page.evaluate(() => window.rl.buildObs().length)).toBe(243);
expect(await page.evaluate(() => window.rl.lastAction.length)).toBe(24);
await page
.locator("canvas")
.first()
.click({ position: { x: 700, y: 600 } });
await page.evaluate(() => window.rl.resume());
await expect(page.getByRole("button", { name: /^J\s*Dance$/ })).toBeEnabled();
await expect(page.getByRole("button", { name: /^H\s*Wave$/ })).toBeEnabled();
expect(
await page
.getByRole("complementary", { name: "Keyboard controls" })
.innerText(),
).not.toMatch(/\p{Script=Han}/u);
for (const [key, expected] of [
["KeyW", [0.4, 0, 0]],
["KeyS", [-0.3, 0, 0]],
["KeyA", [0, 0, 0.6]],
["KeyD", [0, 0, -0.6]],
]) {
await page.evaluate(async () => {
await window.rl.resetSim();
window.rl.resume();
});
await page.keyboard.down(key);
const command = await page.evaluate(() => Array.from(window.rl.command));
command.forEach((v, i) => expect(v).toBeCloseTo(expected[i], 5));
await page.keyboard.up(key);
expect(await page.evaluate(() => Array.from(window.rl.command))).toEqual([
0, 0, 0,
]);
await page.evaluate(() => window.rl.pause());
}
const report = await page.evaluate(async () => {
const r = window.rl,
trials = [];
for (const [name, command] of [
["stand", [0, 0, 0]],
["forward", [0.4, 0, 0]],
["backward", [-0.3, 0, 0]],
["left", [0, 0, 0.6]],
["right", [0, 0, -0.6]],
]) {
await r.resetSim();
r.command.set(command);
const before = Array.from(r.data.qpos.slice(0, 3));
let firstFall = null;
for (let i = 0; i < 150; i++) {
await r.step(1);
if (
![
...r.data.qpos,
...r.data.qvel,
...r.data.ctrl,
...r.lastAction,
].every(Number.isFinite)
)
throw new Error("non-finite RP1 state");
if (r.fallen) {
firstFall = r.data.time;
break;
}
}
const [w, x, y, z] = r.data.qpos.slice(3, 7);
trials.push({
name,
before,
after: Array.from(r.data.qpos.slice(0, 3)),
time: r.data.time,
yaw: Math.atan2(2 * (w * z + x * y), 1 - 2 * (y * y + z * z)),
firstFall,
actuation: r.actuationStats,
});
}
return trials;
});
for (const trial of report) expect(trial.firstFall).toBeNull();
expect(report.find((t) => t.name === "forward").after[0]).toBeGreaterThan(
0.4,
);
expect(report.find((t) => t.name === "backward").after[0]).toBeLessThan(-0.3);
expect(report.find((t) => t.name === "left").yaw).toBeGreaterThan(0.5);
expect(report.find((t) => t.name === "right").yaw).toBeLessThan(-0.5);
console.log("RP1 completed-checkpoint trials", JSON.stringify(report));
await info.attach("rp1-preview-trials.json", {
body: JSON.stringify(report, null, 2),
contentType: "application/json",
});
await page.evaluate(async () => {
await window.rl.resetSim();
window.rl.data.qpos[2] = 1.2;
window.rl.data.qpos.set([Math.SQRT1_2, Math.SQRT1_2, 0, 0], 3);
window.rl.mujoco.mj_forward(window.rl.model, window.rl.data);
await window.rl.step(1);
});
expect(await page.evaluate(() => window.rl.fallen)).toBe(true);
await page.keyboard.press("Space");
await expect.poll(() => page.evaluate(() => window.rl.fallen)).toBe(false);
expect(await page.evaluate(() => window.rl.policyState.state)).toBe("walk");
await page.screenshot({ path: info.outputPath("rp1.png") });
for (const robot of ["microban", "microduck", "rp1"]) {
await page.getByLabel("Robot", { exact: true }).selectOption(robot);
await expect
.poll(() => page.evaluate(() => window.__store.getState().robotId))
.toBe(robot === "microduck" ? "microduck-legs" : robot);
}
expect(errors).toEqual([]);
});
test("three 25-second bounded RP1 sequences preserve direction and balance; realtime controller stays near 50Hz", async ({
page,
}, info) => {
await boot(page);
const report = await page.evaluate(async () => {
const r = window.rl,
trials = [];
const pose = () => {
const [w, x, y, z] = r.data.qpos.slice(3, 7);
return {
pos: Array.from(r.data.qpos.slice(0, 3)),
yaw: Math.atan2(2 * (w * z + x * y), 1 - 2 * (y * y + z * z)),
};
};
for (let trial = 0; trial < 3; trial++) {
await r.resetSim();
const segments = [];
for (const [name, seconds, vx, wz] of [
["stand", 5, 0, 0],
["forward", 3, 0.4, 0],
["rest", 2, 0, 0],
["backward", 3, -0.3, 0],
["rest", 2, 0, 0],
["left", 3, 0, 0.6],
["rest", 2, 0, 0],
["right", 3, 0, -0.6],
["rest", 2, 0, 0],
]) {
const before = pose();
r.command.set([vx, 0, wz]);
let yaw = 0,
previousYaw = before.yaw,
minHeight = Infinity;
for (let i = 0; i < seconds * 10; i++) {
await r.step(5);
const p = pose();
if (r.fallen)
throw new Error(`trial ${trial} ${name}: fallen at ${r.data.time}`);
if (Math.max(Math.abs(p.pos[0]), Math.abs(p.pos[1])) > 1.9)
throw new Error("unexpected wall approach");
yaw += Math.atan2(
Math.sin(p.yaw - previousYaw),
Math.cos(p.yaw - previousYaw),
);
previousYaw = p.yaw;
minHeight = Math.min(minHeight, p.pos[2]);
}
const after = pose();
segments.push({
name,
minHeight,
yaw,
displacement:
(after.pos[0] - before.pos[0]) * Math.cos(before.yaw) +
(after.pos[1] - before.pos[1]) * Math.sin(before.yaw),
});
}
trials.push({
trial,
time: r.data.time,
segments,
actuation: r.actuationStats,
});
}
return trials;
});
for (const trial of report) {
const find = (name) => trial.segments.find((s) => s.name === name);
expect(trial.time).toBeCloseTo(25, 5);
expect(find("forward").displacement).toBeGreaterThan(0.4);
expect(find("backward").displacement).toBeLessThan(-0.3);
expect(find("left").yaw).toBeGreaterThan(0.5);
expect(find("right").yaw).toBeLessThan(-0.5);
expect(trial.actuation.longestSaturatedSeconds).toBeLessThan(0.5);
}
await info.attach("rp1-three-sequences.json", {
body: JSON.stringify(report, null, 2),
contentType: "application/json",
});
await page.evaluate(async () => {
await window.rl.resetSim();
window.rl.resume();
});
const first = await page.evaluate(() => ({
sim: window.rl.data.time,
wall: performance.now(),
}));
await page.waitForTimeout(4000);
const second = await page.evaluate(() => ({
sim: window.rl.data.time,
wall: performance.now(),
fallen: window.rl.fallen,
}));
const ratio = (second.sim - first.sim) / ((second.wall - first.wall) / 1000);
expect(second.fallen).toBe(false);
expect(ratio).toBeGreaterThan(0.8);
expect(ratio).toBeLessThan(1.15);
await info.attach("rp1-realtime.json", {
body: JSON.stringify({ first, second, ratio }),
contentType: "application/json",
});
});
test("episodic ONNX lifecycle is exclusive and resets on return (walk reused as interface fixture, NOT a dance policy)", async ({
page,
}) => {
await page.route("**/robots/rp1/robot.json*", async (route) => {
const response = await route.fetch(),
config = await response.json();
const skill = config.skills.find((s) => s.id === "dance");
Object.assign(skill, {
available: true,
duration: 0.8,
blend: 0.2,
observations: config.observations,
actions: config.actions,
defaults: config.joints.defaults,
});
delete skill.reference;
skill.controller.policy = "policies/walk.onnx";
config.input.bindings.find((b) => b.action === "skill:dance").disabled =
false;
await route.fulfill({ response, json: config });
});
await boot(page);
const report = await page.evaluate(async () => {
const r = window.rl;
await r.resetSim();
if (!r.policyState.request("dance", r.data.time))
throw new Error("request refused");
await r.step(23); // Real zero-command locomotion must satisfy the stop gate.
const first = { active: r.activePolicy, state: r.policyState.state };
await r.step(65);
const returned = { active: r.activePolicy, state: r.policyState.state };
r.policyState.request("dance", r.data.time);
await r.step(23);
r.command.set([0.4, 0, 0]);
await r.step(1);
const interrupted = { active: r.activePolicy, state: r.policyState.state };
await r.step(12);
return {
first,
returned,
interrupted,
active: r.activePolicy,
state: r.policyState.state,
fallen: r.fallen,
};
});
expect(report.first).toEqual({ active: "dance", state: "entering" });
expect(report.returned).toEqual({ active: "walk", state: "walk" });
expect(report.interrupted).toEqual({ active: "walk", state: "returning" });
expect(report.active).toBe("walk");
expect(report.state).toBe("walk");
expect(report.fallen).toBe(false);
});
+16 -6
View File
@@ -3,7 +3,9 @@ import { test, expect } from "@playwright/test";
test("20 robot transitions release old WASM objects and plateau scene/GPU/listeners", async ({
page,
}, info) => {
test.setTimeout(180_000);
// Twenty cold transitions now also decode RP1's ~93 MB textured GLBs.
// Keep allocation/listener assertions unchanged; allow load-time headroom.
test.setTimeout(240_000);
await page.addInitScript(() => {
const add = EventTarget.prototype.addEventListener,
remove = EventTarget.prototype.removeEventListener,
@@ -41,7 +43,7 @@ test("20 robot transitions release old WASM objects and plateau scene/GPU/listen
await page.evaluate(() => window.__gameApi.pause());
const measurements = [];
for (let i = 0; i < 20; i++) {
const id = i % 2 === 0 ? "microban" : "microduck-legs";
const id = ["microban", "microduck-legs", "rp1"][i % 3];
console.log(`Ownership transition ${i + 1}/20: ${id}`);
const sample = await page.evaluate(async (id) => {
const model = window.rl.model,
@@ -57,6 +59,9 @@ test("20 robot transitions release old WASM objects and plateau scene/GPU/listen
dataDeleted: data.isDeleted(),
...window.__gameApi.diagnostics(),
listeners: window.listenerCount(),
toyGeometries:
window.rl.scene.getObjectByName("interactive-props")?.children
.length ?? 0,
};
}, id);
expect(sample.success).toBe(true);
@@ -65,12 +70,17 @@ test("20 robot transitions release old WASM objects and plateau scene/GPU/listen
measurements.push(sample);
}
const duck = measurements.filter((s) => s.id === "microduck-legs"),
ban = measurements.filter((s) => s.id === "microban");
for (const samples of [duck, ban]) {
ban = measurements.filter((s) => s.id === "microban"),
rp1 = measurements.filter((s) => s.id === "rp1");
for (const samples of [duck, ban, rp1]) {
expect(samples.at(-1).listeners).toBe(samples[0].listeners);
expect(samples.at(-1).sceneChildren).toBe(samples[0].sceneChildren);
expect(samples.at(-1).memory.geometries).toBeLessThanOrEqual(
samples[1].memory.geometries + 1,
// Each runtime owns 5–7 independent toy geometries. Compare the fixed
// scene allocation after removing this intentionally variable count.
expect(
samples.at(-1).memory.geometries - samples.at(-1).toyGeometries,
).toBeLessThanOrEqual(
samples[1].memory.geometries - samples[1].toyGeometries + 1,
);
expect(samples.at(-1).memory.textures).toBeLessThanOrEqual(
samples[1].memory.textures + 1,
+255
View File
@@ -0,0 +1,255 @@
import { test, expect } from "@playwright/test";
import { bootDuck } from "./support/simulation.js";
test("bright scene has 5–7 free-body toys, no football, and four original-style line colour buttons", async ({
page,
}) => {
const errors = await bootDuck(page);
await page.evaluate(async () => {
const r = window.rl;
r.setPropsParked(false);
await r.step(60);
r.render();
});
const initial = await page.evaluate(() => {
const r = window.rl;
return {
toys: r.interactiveProps.map((p) => ({
type: p.type,
dof: p.dofAdr,
mass: r.model.body_mass[p.bodyId],
})),
meshes: r.scene.getObjectByName("interactive-props").children.length,
ballId: r.mujoco.mj_name2id(
r.model,
r.mujoco.mjtObj.mjOBJ_BODY.value,
"ball",
),
hemisphere: r.scene.parent.children.some(
(o) => o.isHemisphereLight && o.intensity >= 0.7,
),
environment: r.scene.parent.environmentIntensity,
robotMaterials: [...r.scene.children]
.filter((o) => o.name !== "interactive-props")
.flatMap((o) => {
const result = [];
o.traverse((m) => {
if (m.isMesh && m.material?.color)
result.push([m.uuid, m.material.color.toArray()]);
});
return result;
}),
};
});
expect(initial.toys.length).toBeGreaterThanOrEqual(5);
expect(initial.toys.length).toBeLessThanOrEqual(7);
expect(initial.meshes).toBe(initial.toys.length);
expect(new Set(initial.toys.map((p) => p.type)).size).toBe(4);
expect(initial.toys.every((p) => p.mass > 0 && p.dof >= 0)).toBe(true);
expect(initial.ballId).toBe(-1);
expect(initial.hemisphere).toBe(true);
expect(initial.environment).toBeGreaterThanOrEqual(0.7);
const group = page.getByRole("group", { name: "Scene line colours" });
await expect(group.getByRole("button")).toHaveCount(4);
for (const [label, hex] of [
["Cream", "f7e6cb"],
["Graphite", "6c6a68"],
["Lavender", "bfa9cf"],
["Sky", "a9dbe8"],
]) {
const button = group.getByRole("button", { name: `${label} scene lines` });
await button.click();
await expect(button).toHaveAttribute("aria-pressed", "true");
const values = await page.evaluate(() => {
const r = window.rl,
lines = [],
robotMaterials = [];
r.scene.traverse((o) => {
if (o.material?.uniforms?.uSectionColor)
lines.push(o.material.uniforms.uSectionColor.value.getHexString());
});
for (const o of r.scene.children.filter(
(o) => o.name !== "interactive-props",
))
o.traverse((m) => {
if (m.isMesh && m.material?.color)
robotMaterials.push([m.uuid, m.material.color.toArray()]);
});
const style = getComputedStyle(
document.querySelector('[aria-label="Scene line colours"] button'),
);
return {
lines,
robotMaterials,
radius: style.borderRadius,
width: style.width,
height: style.height,
};
});
expect(values.lines).toEqual(Array(5).fill(hex));
expect(values.robotMaterials).toEqual(initial.robotMaterials);
expect(values.radius).toBe("0px");
expect(values.width).toBe(values.height);
}
await page.evaluate(() => {
const r = window.rl;
r.chaseCam = false;
r.camera.position.set(-0.2, 1.9, 2.7);
r.controls.target.set(0.1, 0.05, 0);
r.controls.update();
});
await page.screenshot({
path: "test-results/scene-interaction-overview.png",
});
expect(errors).toEqual([]);
});
test("geometry can be dragged with physical force; pause/reset clear grab and restore layout", async ({
page,
}) => {
const errors = await bootDuck(page);
await page.evaluate(() => {
const r = window.rl;
r.setPropsParked(false);
r.chaseCam = false;
const spec = r.interactiveProps[0],
q = r.data.qpos;
q.set([-0.25, 0, spec.pos[2]], spec.qAdr);
r.mujoco.mj_forward(r.model, r.data);
r.camera.position.set(-0.6, 0.65, 1.2);
r.controls.target.set(q[0], q[2], -q[1]);
r.controls.update();
r.camera.updateMatrixWorld();
r.render();
});
await page.waitForTimeout(250);
const point = await page.evaluate(() => {
const r = window.rl,
spec = r.interactiveProps[0],
q = r.data.qpos;
const p = r.controls.target
.clone()
.set(q[spec.qAdr], q[spec.qAdr + 2], -q[spec.qAdr + 1])
.project(r.camera);
const rect = document.querySelector("canvas").getBoundingClientRect();
return {
x: ((p.x + 1) * rect.width) / 2,
y: ((1 - p.y) * rect.height) / 2,
};
});
await page.mouse.move(point.x, point.y);
await page.mouse.down();
expect(await page.evaluate(() => window.rl.controls.enabled)).toBe(false);
await page.mouse.move(point.x + 90, point.y - 40, { steps: 6 });
const result = await page.evaluate(async () => {
const r = window.rl,
spec = r.interactiveProps[0];
await r.step(15);
return {
x: r.data.qpos[spec.qAdr],
force: Array.from(
r.data.xfrc_applied.slice(spec.bodyId * 6, spec.bodyId * 6 + 3),
),
};
});
expect(Math.abs(result.x + 0.25)).toBeGreaterThan(0.01);
expect(result.force.some((v) => Math.abs(v) > 0.001)).toBe(true);
await page.evaluate(() => window.__gameApi.pause());
expect(await page.evaluate(() => window.rl.controls.enabled)).toBe(true);
await page.mouse.up();
expect(
await page.evaluate(() =>
Array.from(window.rl.data.xfrc_applied).every((v) => v === 0),
),
).toBe(true);
await page.evaluate(() => window.__gameApi.reset());
expect(
await page.evaluate(() => {
const r = window.rl;
return (
r.interactiveProps.every((p) =>
p.pos.every((v, i) => r.data.qpos[p.qAdr + i] === v),
) && r.controls.enabled
);
}),
).toBe(true);
expect(errors).toEqual([]);
});
test("toys transfer collision momentum, collide with the robot and floor, and survive a mode switch", async ({
page,
}) => {
const errors = await bootDuck(page);
const collision = await page.evaluate(async () => {
const r = window.rl;
r.setPropsParked(false);
const specs = r.interactiveProps;
// Keep unrelated toys clear of a two-body collision lane.
specs.forEach((p, i) => {
r.data.qpos.set([-1 + i * 0.3, -1.1, p.pos[2]], p.qAdr);
});
const a = specs[0],
b = specs[1];
r.data.qpos.set([0.1, 0.7, a.pos[2]], a.qAdr);
r.data.qpos.set([0.35, 0.7, b.pos[2]], b.qAdr);
r.data.qvel[a.dofAdr] = 1.8;
r.mujoco.mj_forward(r.model, r.data);
await r.step(15);
const moved = r.data.qpos[b.qAdr] - 0.35;
// Launch a toy at the duck. A non-colliding body would cross x=-0.6.
r.resetSim();
const p = r.interactiveProps.find((s) => s.type === "sphere");
r.data.qpos.set([-0.35, 0, 0.09], p.qAdr);
r.data.qvel[p.dofAdr] = -1.5;
r.mujoco.mj_forward(r.model, r.data);
let contacts = 0,
minX = 10;
for (let i = 0; i < 15; i++) {
await r.step(1);
contacts = Math.max(contacts, r.data.ncon);
minX = Math.min(minX, r.data.qpos[p.qAdr]);
}
await r.step(100);
const half = r.world.boundary.half_extent;
r.data.qpos.set([half - 0.2, 0.9, p.pos[2]], p.qAdr);
r.data.qvel.fill(0, p.dofAdr, p.dofAdr + 6);
r.data.qvel[p.dofAdr] = 1.5;
r.mujoco.mj_forward(r.model, r.data);
let wallMax = -Infinity;
for (let i = 0; i < 15; i++) {
await r.step(1);
wallMax = Math.max(wallMax, r.data.qpos[p.qAdr]);
}
return {
moved,
contacts,
minX,
wallMax,
half,
finite: Array.from(r.data.qpos).every(Number.isFinite),
aboveFloor: r.interactiveProps.every(
(s) => r.data.qpos[s.qAdr + 2] > 0.025,
),
};
});
expect(collision.moved).toBeGreaterThan(0.025);
expect(collision.contacts).toBeGreaterThan(0);
expect(collision.minX).toBeGreaterThan(-0.58);
expect(collision.wallMax).toBeLessThan(collision.half - 0.03);
expect(collision.aboveFloor).toBe(true);
expect(collision.finite).toBe(true);
await page.evaluate(() => window.rl.setLoco("rollers", { force: true }));
const switched = await page.evaluate(async () => {
const r = window.rl;
await r.step(100);
r.render();
return {
count: r.interactiveProps.length,
meshes: r.scene.getObjectByName("interactive-props").children.length,
finite: Array.from(r.data.qpos).every(Number.isFinite),
};
});
expect(switched.count).toBe(switched.meshes);
expect(switched.finite).toBe(true);
expect(errors).toEqual([]);
});
+68
View File
@@ -0,0 +1,68 @@
import { test, expect } from "@playwright/test";
import { bootDuck } from "./support/simulation.js";
test("two simulated minutes of movement with physical toys stay finite in feet and rollers; escape recovery is local", async ({
page,
}) => {
const errors = await bootDuck(page);
await page.evaluate(() => {
const r = window.rl;
r.setPropsParked(false);
// A deterministic controller source exercises actual commanded motion,
// independent of frame-rate keyboard polling during manual stepping.
r.controller.addSource({
id: "stability-drive",
isActive: () => true,
command: new Float32Array([0.25, 0, 0.4]),
});
});
for (const mode of ["legs", "rollers"]) {
await page.evaluate(async (mode) => {
const r = window.rl;
await r.setLoco(mode, { force: true });
r.controller.sources
.find((s) => s.id === "stability-drive")
.command.set(mode === "legs" ? [0.25, 0, 0.4] : [0.4, 0, 0.15]);
}, mode);
let moved = false;
for (let chunk = 0; chunk < 30; chunk++) {
const sample = await page.evaluate(async () => {
const r = window.rl;
await r.step(100);
return {
finite: [r.data.qpos, r.data.qvel, r.data.ctrl].every((array) =>
Array.from(array).every(Number.isFinite),
),
moved: Math.hypot(r.data.qpos[0] + 0.6, r.data.qpos[1]) > 0.04,
inside: r.interactiveProps.every(
(p) =>
Math.abs(r.data.qpos[p.qAdr]) <
r.world.boundary.half_extent + 0.11 &&
Math.abs(r.data.qpos[p.qAdr + 1]) <
r.world.boundary.half_extent + 0.11,
),
};
});
expect(sample.finite).toBe(true);
expect(sample.inside).toBe(true);
moved ||= sample.moved;
}
expect(moved).toBe(true);
}
const recovery = await page.evaluate(async () => {
const r = window.rl,
p = r.interactiveProps[0];
r.data.qpos[p.qAdr] = r.world.boundary.half_extent + 1;
r.mujoco.mj_forward(r.model, r.data);
await r.step(1);
return {
actual: Array.from(r.data.qpos.slice(p.qAdr, p.qAdr + 3)),
expected: p.pos,
count: r.interactiveProps.length,
};
});
expect(recovery.actual).toEqual(recovery.expected);
expect(recovery.count).toBeGreaterThanOrEqual(5);
expect(recovery.count).toBeLessThanOrEqual(7);
expect(errors).toEqual([]);
});
+157
View File
@@ -0,0 +1,157 @@
import { test, expect } from "@playwright/test";
import { bootDuck } from "./support/simulation.js";
test("all robots share the same scaled random layout, lighting, line palette and global colour selection", async ({
page,
}) => {
const errors = await bootDuck(page);
let reference;
let expected = { name: "Sky", key: "blue", hex: "a9dbe8" };
for (const id of ["microduck-legs", "microban", "rp1", "microduck-legs"]) {
if ((await page.evaluate(() => window.__store.getState().robotId)) !== id)
await page.evaluate((id) => window.__gameApi.switchRobot(id), id);
await expect(
page.getByRole("group", { name: "Scene line colours" }),
).toBeVisible();
if (!reference)
await page.getByRole("button", { name: "Sky scene lines" }).click();
const state = await page.evaluate(() => {
const r = window.rl,
scale = r.world.boundary.half_extent / 2.25;
const lines = [];
r.scene.traverse((o) => {
if (o.material?.uniforms?.uSectionColor)
lines.push(o.material.uniforms.uSectionColor.value.getHexString());
});
return {
specs: r.interactiveProps.map((p) => ({
name: p.name,
type: p.type,
color: p.color,
pos: p.pos.map((v) => v / scale),
size: p.size.map((v) => v / scale),
})),
count: r.scene.getObjectByName("interactive-props").children.length,
lines,
lineColor: window.__store.getState().lineColor,
lights: r.scene.parent.children
.filter((o) => o.isLight)
.map((o) => [o.type, o.intensity, o.color.getHex()]),
environment: r.scene.parent.environmentIntensity,
drag: window.__store.getState().runtimeCapabilities.physicalDrag,
};
});
expect(state.count).toBeGreaterThanOrEqual(5);
expect(state.count).toBeLessThanOrEqual(7);
expect(state.lines).toEqual(Array(5).fill(expected.hex));
expect(state.lineColor).toBe(expected.key);
expect(state.drag).toBe(true);
if (!reference) reference = state;
state.specs.forEach((p, i) => {
expect(p.type).toBe(reference.specs[i].type);
expect(p.color).toBe(reference.specs[i].color);
p.pos.forEach((v, j) =>
expect(v).toBeCloseTo(reference.specs[i].pos[j], 12),
);
p.size.forEach((v, j) =>
expect(v).toBeCloseTo(reference.specs[i].size[j], 12),
);
});
expect(state.lights).toEqual(reference.lights);
expect(state.environment).toBe(reference.environment);
await expect(
page.getByRole("button", { name: `${expected.name} scene lines` }),
).toHaveAttribute("aria-pressed", "true");
await expect(
page.getByRole("button", { name: "Rollers", exact: true }),
).toHaveCount(id === "microduck-legs" ? 1 : 0);
// Also carry a choice made in another robot back to Microduck.
if (id === "rp1") {
await page.getByRole("button", { name: "Lavender scene lines" }).click();
expected = { name: "Lavender", key: "purple", hex: "bfa9cf" };
}
}
expect(errors).toEqual([]);
});
for (const id of ["microban", "rp1"]) {
test(`${id}: shared toys collide with walls, drag with real force and release on pause`, async ({
page,
}) => {
const errors = await bootDuck(page);
await page.evaluate((id) => window.__gameApi.switchRobot(id), id);
const wall = await page.evaluate(async () => {
const r = window.rl,
scale = r.world.boundary.half_extent / 2.25,
p = r.interactiveProps.find((s) => s.type === "sphere"),
half = r.world.boundary.half_extent;
r.data.qpos.set([half - 0.2 * scale, 0.9 * scale, p.pos[2]], p.qAdr);
r.data.qvel[p.dofAdr] = 1.5 * scale;
r.mujoco.mj_forward(r.model, r.data);
let max = -Infinity;
for (let i = 0; i < 15; i++) {
await r.step(1);
max = Math.max(max, r.data.qpos[p.qAdr]);
}
await r.resetSim();
return { max, limit: half - 0.025 * scale };
});
expect(wall.max).toBeLessThan(wall.limit);
await page.getByRole("button", { name: /Keyboard controls/ }).click();
await page.evaluate(() => {
const r = window.rl,
scale = r.world.scale ?? 1,
p = r.interactiveProps[0],
q = r.data.qpos;
q.set([0.25 * scale, -0.3 * scale, p.pos[2]], p.qAdr);
r.mujoco.mj_forward(r.model, r.data);
r.camera.position.set(q[0], q[2] + 0.6 * scale, 1.5 * scale);
r.controls.target.set(q[0], q[2], -q[1]);
r.controls.update();
window.__gameApi.resume();
});
await page.waitForTimeout(200);
const point = await page.evaluate(() => {
const r = window.rl,
p = r.interactiveProps[0],
q = r.data.qpos,
rect = document.querySelector("canvas").getBoundingClientRect();
const v = r.controls.target
.clone()
.set(q[p.qAdr], q[p.qAdr + 2], -q[p.qAdr + 1])
.project(r.camera);
return {
x: ((v.x + 1) * rect.width) / 2,
y: ((1 - v.y) * rect.height) / 2,
};
});
await page.mouse.move(point.x, point.y);
await page.mouse.down();
expect(await page.evaluate(() => window.rl.controls.enabled)).toBe(false);
await page.mouse.move(point.x + 70, point.y - 35, { steps: 5 });
await page.waitForTimeout(200);
expect(
await page.evaluate(() =>
Array.from(window.rl.data.xfrc_applied).some((v) => Math.abs(v) > 1e-5),
),
).toBe(true);
await page.evaluate(() => window.__gameApi.pause());
expect(await page.evaluate(() => window.rl.controls.enabled)).toBe(true);
expect(
await page.evaluate(() =>
Array.from(window.rl.data.xfrc_applied).every((v) => v === 0),
),
).toBe(true);
await page.mouse.up();
await page.evaluate(() => window.__gameApi.reset());
expect(
await page.evaluate(() => {
const r = window.rl;
return r.interactiveProps.every((p) =>
p.pos.every((v, i) => r.data.qpos[p.qAdr + i] === v),
);
}),
).toBe(true);
expect(errors).toEqual([]);
});
}
+2 -2
View File
@@ -1,5 +1,5 @@
import { expect } from "@playwright/test";
export async function bootDuck(page) {
export async function bootDuck(page, { legacyPhysics = false } = {}) {
const errors = [];
page.on("pageerror", (e) => errors.push(e.message));
await page.addInitScript(() => {
@@ -7,7 +7,7 @@ export async function bootDuck(page) {
Math.random = () =>
(seed = (1664525 * seed + 1013904223) >>> 0) / 4294967296;
});
await page.goto("/?boot=1&test=1");
await page.goto(`/?boot=1&test=1${legacyPhysics ? "&oracle=legacy" : ""}`);
await page.waitForFunction(
() => window.rl?.prepareTest || window.__store?.getState().bootFailed,
);
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "microduck-sandbox",
"version": "0.2.0",
"version": "0.5.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "microduck-sandbox",
"version": "0.2.0",
"version": "0.5.0",
"dependencies": {
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.1",
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "microduck-sandbox",
"private": true,
"version": "0.2.0",
"version": "0.5.0",
"type": "module",
"scripts": {
"dev": "vite",
+6
View File
@@ -16,5 +16,11 @@
"family": "microban",
"name": "Microban",
"manifest": "microban/robot.json"
},
{
"id": "rp1",
"family": "rp1",
"name": "RP1",
"manifest": "rp1/robot.json"
}
]
+8
View File
@@ -11,4 +11,12 @@ The precise origin remote, HEAD, dirty-worktree flag, per-file SHA-256 and behav
Browser adaptations (not edits to the copied XML): 0.005 s physics timestep; separate flat ground; explicit 18-joint policy order excluding head; body-frame gravity and IMU-site gyroscope following source observation semantics; limited joint-PD torque control instead of BAM. Default PD kp=0.3 Nm/rad, kd=0.02 Nm·s/rad, torque limit=0.65 Nm are experimentally selected simplified parameters, not metadata gains and not a claim of hardware equivalence.
## Textured visual replacement
`visuals/*.glb` are the 20 files copied byte-for-byte from the user-supplied `microban2.zip`, replacing the earlier `microban.zip` visual export, not from the upstream checkout above. They retain their embedded PBR materials and 46 textures (45 normal maps and one screen base-colour image, all 1024 × 1024). The archive contains no license notice; **confirm public redistribution rights with the asset owner** rather than assuming the upstream model license covers these replacements. Archive and file SHA-256 values are recorded separately in `visual-source-manifest.json`.
Reimport with `python3 app/scripts/import-microban-visuals.py /path/to/microban2.zip`. This does not change `model.xml`, the original STL files, policy, original source manifest or the reviewed `render.body_visuals` mapping in `robot.json`.
The GLBs have different local frames from the original MJCF. `robot.json` records fixed, visual-only rigid transforms (metres and xyzw quaternions), checked against the original per-body geometry; body-local bounding-box endpoint differences are at most 3.01 mm, allowing the replacement's added details. Mapping: BASE → trunk; LINK1 → head; LINK2–4 → right arm; LINK5–7 → left arm; LINK8–13 → left leg; LINK14–19 → right leg. Vertex positions and node transforms in all 20 GLBs are unchanged from the previous visual export, so the existing body registration is retained. Runtime follows the existing MuJoCo body poses and hides only the replaced visual geoms; collisions, inertias, joints, policy inputs and actuation are untouched. This is geometric registration, not a claim that the archive supplied authoritative joint-frame metadata.
No Placo, real-robot control, source Python code, CAD project, BAM battery model or communication delays are bundled into the browser runtime.
+114
View File
@@ -4,6 +4,7 @@
"name": "Microban",
"family": "microban",
"adapter": "generic",
"dimensions": { "height": 0.33 },
"model": "model.xml",
"assets": [
{
@@ -314,6 +315,119 @@
},
"render": {
"source": "mjcf_visual",
"body_visuals": [
{
"body": "trunk",
"path": "visuals/BASE__visual_0__BASE.glb",
"quaternion": [0.7071067811865476, 0, 0, 0.7071067811865476]
},
{
"body": "head",
"path": "visuals/LINK1__visual_0__LINK1.glb",
"quaternion": [0.5, -0.5, -0.5, 0.5]
},
{
"body": "shoulder",
"path": "visuals/LINK2__visual_0__LINK2.glb"
},
{
"body": "humerus__configuration_right",
"path": "visuals/LINK3__visual_0__LINK3.glb",
"position": [0, 0, -0.02755],
"quaternion": [0, -0.7071067811865476, 0, 0.7071067811865476]
},
{
"body": "radius",
"path": "visuals/LINK4__visual_0__LINK4.glb",
"position": [-0.00529885, -0.00021476, 0.00145]
},
{
"body": "shoulder_2",
"path": "visuals/LINK5__visual_0__LINK5.glb"
},
{
"body": "humerus__configuration_left",
"path": "visuals/LINK6__visual_0__LINK6.glb",
"position": [-0.00529885, -0.00021476, -0.02755],
"quaternion": [0.7071067811865476, 0, -0.7071067811865476, 0]
},
{
"body": "radius_2",
"path": "visuals/LINK7__visual_0__LINK7.glb",
"position": [-0.00529885, 0.00021476, -0.00145],
"quaternion": [0, 0, 1, 0]
},
{
"body": "hip_2",
"path": "visuals/LINK8__visual_0__LINK8.glb",
"quaternion": [0, 0.7071067811865476, 0.7071067811865476, 0]
},
{
"body": "hip_block__configuration_left",
"path": "visuals/LINK9__visual_0__LINK9.glb",
"position": [0, 0, 0.00027893],
"quaternion": [0.7071067811865476, 0, 0.7071067811865476, 0]
},
{
"body": "femur__configuration_left",
"path": "visuals/LINK10__visual_0__LINK10.glb",
"position": [0, 0, -0.00145],
"quaternion": [1, 0, 0, 0]
},
{
"body": "tibia__configuration_left",
"path": "visuals/LINK11__visual_0__LINK11.glb",
"position": [0, 0, -0.00145],
"quaternion": [1, 0, 0, 0]
},
{
"body": "ankle_block__configuration_right",
"path": "visuals/LINK12__visual_0__LINK12.glb",
"position": [0, 0, -0.00145],
"quaternion": [0, 1, 0, 0]
},
{
"body": "foot_2",
"path": "visuals/LINK13__visual_0__LINK13.glb",
"position": [0, 0, 0.0008],
"quaternion": [0, -0.7071067811865476, 0, 0.7071067811865476]
},
{
"body": "hip",
"path": "visuals/LINK14__visual_0__LINK14.glb",
"quaternion": [0.7071067811865476, 0, 0, 0.7071067811865476]
},
{
"body": "hip_block__configuration_right",
"path": "visuals/LINK15__visual_0__LINK15.glb",
"position": [0, 0, 0.0008],
"quaternion": [0.7071067811865476, 0, 0.7071067811865476, 0]
},
{
"body": "femur__configuration_right",
"path": "visuals/LINK16__visual_0__LINK16.glb",
"position": [0, 0, -0.02755],
"quaternion": [0, 1, 0, 0]
},
{
"body": "tibia__configuration_right",
"path": "visuals/LINK17__visual_0__LINK17.glb",
"position": [0, 0, -0.02745],
"quaternion": [0, 1, 0, 0]
},
{
"body": "ankle_block__configuration_left",
"path": "visuals/LINK18__visual_0__LINK18.glb",
"position": [0, 0, -0.02755],
"quaternion": [1, 0, 0, 0]
},
{
"body": "foot",
"path": "visuals/LINK19__visual_0__LINK19.glb",
"position": [0, 0, 0.0008],
"quaternion": [0, -0.7071067811865476, 0, 0.7071067811865476]
}
],
"groups": [
2
],
@@ -0,0 +1,87 @@
{
"source": "User-provided microban2.zip (textured visual replacement)",
"archive_sha256": "dfb20a34103afecdc7996cc5ac9f6a61705560717f9c6aac420f3d6307d3e6d4",
"license": "Not supplied in the archive; confirm redistribution rights with the asset owner.",
"files": [
{
"file": "visuals/BASE__visual_0__BASE.glb",
"sha256": "32cc5d7df7ab62779cb61ae777dafe485fc357489998020fba86e2bb94d968a6"
},
{
"file": "visuals/LINK1__visual_0__LINK1.glb",
"sha256": "33f7776ad30bc04fb0a93a1a80641636d5cca382c12093bf97df9d9cd1416553"
},
{
"file": "visuals/LINK2__visual_0__LINK2.glb",
"sha256": "ffbdd241b96d8e9d371bbddb57908912e95edb4c7ce88e9e20a79c663f80058f"
},
{
"file": "visuals/LINK3__visual_0__LINK3.glb",
"sha256": "01718a43c6b8936543c6c2e47b00150907c7ac7c892c90f9d612a21d6fc566b9"
},
{
"file": "visuals/LINK4__visual_0__LINK4.glb",
"sha256": "7dad340b731e9f5ed8fe37bc77dd2b7b5ff1ac540cc501dad35b487438ab4e0d"
},
{
"file": "visuals/LINK5__visual_0__LINK5.glb",
"sha256": "aa54506ab2503ac34cb4d8240772798d353f72a04b81224543b9347df38a68ba"
},
{
"file": "visuals/LINK6__visual_0__LINK6.glb",
"sha256": "2bed471a7c3e51107d5307130c342696b3e986384584c4891b4b7a161380aeb4"
},
{
"file": "visuals/LINK7__visual_0__LINK7.glb",
"sha256": "909cc20e48dad6dd8478c8dd19499ffc49c8427305ead62e1b267ae8a3939d9e"
},
{
"file": "visuals/LINK8__visual_0__LINK8.glb",
"sha256": "d2a43a6606906fd8bd8a982208ea2121245969bded44a3f81ee074e1968c5abf"
},
{
"file": "visuals/LINK9__visual_0__LINK9.glb",
"sha256": "33f34ba76488c0dfe99bcf80bb48ff3ba0c0240e506a79203d380e20aa17f952"
},
{
"file": "visuals/LINK10__visual_0__LINK10.glb",
"sha256": "4bf30a00a35ec588a74476cefc6cff79b14f16ebf8136a55ab8392c8b2b5a6be"
},
{
"file": "visuals/LINK11__visual_0__LINK11.glb",
"sha256": "04e8b462a92a6689074211bc1243a28bd031148c6f390cf00d9af977e33d4616"
},
{
"file": "visuals/LINK12__visual_0__LINK12.glb",
"sha256": "e1549141dbd462ef4aa31be2f5bb8ae2f31a0d0b49da3de41911ef482c008cd7"
},
{
"file": "visuals/LINK13__visual_0__LINK13.glb",
"sha256": "ded693e8bc53cdda7ac36b5f4d49c56391eaa283f6549872e2eeaa33d0b43afd"
},
{
"file": "visuals/LINK14__visual_0__LINK14.glb",
"sha256": "03f70f51f86a4eb67b069629ed89576cae71910f903d34638dc8fd5fc8b9bb4d"
},
{
"file": "visuals/LINK15__visual_0__LINK15.glb",
"sha256": "87202389c4bc6dade765d805f399f8577add3c2b3a10a317264dbe4e4e99f54d"
},
{
"file": "visuals/LINK16__visual_0__LINK16.glb",
"sha256": "eb8a287ca42899b728973690352974a9351fcbc7a7f9e7e632376f4aebdad3d0"
},
{
"file": "visuals/LINK17__visual_0__LINK17.glb",
"sha256": "1f942e545727ce342c97827f06d33d6ab8186120ea6dbcf36369eb2b4e3e54e5"
},
{
"file": "visuals/LINK18__visual_0__LINK18.glb",
"sha256": "808675acb0fddbbacdbed43ad71de1df7ffd0b898a8bf7814098cbe7d1d1ad29"
},
{
"file": "visuals/LINK19__visual_0__LINK19.glb",
"sha256": "b00cec2f4a0924efd7805f405ab0bb103e1ecdf1d56310caa3c275c7ef0a7c1b"
}
]
}
@@ -4,6 +4,7 @@
"name": "Microduck",
"family": "microduck",
"adapter": "microduck",
"dimensions": { "height": 0.27 },
"model": "../../robot/mjlab/robot_allcollisions.xml",
"assets": [],
"base": {
@@ -4,6 +4,7 @@
"name": "Microduck",
"family": "microduck",
"adapter": "microduck",
"dimensions": { "height": 0.27 },
"model": "../../robot/mjlab/robot_allcollisions_rollers.xml",
"assets": [],
"base": {
@@ -0,0 +1,30 @@
Copyright (c) 2022-2025, The Isaac Lab Project Developers.
Copyright (c) 2025-2026, The RoboLab Project Developers.
All rights reserved.
SPDX-License-Identifier: BSD-3-Clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+49
View File
@@ -0,0 +1,49 @@
# RP1 local-evaluation package
## Inputs and provenance
- Training repository: `/home/cen/Embodied_Workspace/Mujoco_Projects/roboparty_train`.
- Model/meshes: `robolab/data/robots/roboparty/rp1`, upstream `https://github.com/Roboparty/rp1_description`, commit `d8c6dd03aeecc7f7ead3d962e09fedba4c8460f0` (clean asset worktree at original import).
- Input MJCF: `mjcf/robot_24dof.xml`; `compiler.meshdir` changes from `../` to `.` for package-relative VFS loading. XML is reserialized. Bodies, inertias, primitive collision geometry, motors, sensors and mesh bytes are retained.
- Walk: final `rp1_24dof_flat/2026-10-28_15-47-49/model_9000.pt` (9001 configured iterations).
- Dance: resumed final `rp1_24dof_beyondmimic_dance/2026-10-29_11-05-14_dance_resume/model_23998.pt` (starts from iteration 7999, adds 16000 iterations; final 23998).
- Wave: final `rp1_24dof_beyondmimic_wave/2026-10-28_19-00-23_wave/model_7999.pt` (8000 iterations).
- Importers do not launch/stop training or modify the training repository. Completed iterations do not establish convergence, arbitrary-duration stability or hardware safety.
- Logged `params/env.yaml` and `params/agent.yaml` determine actual actor branch, terms, joint order, defaults, actuator contract and network. `source-manifest.json` records checkpoint/config/motion/resource SHA-256 and export error.
## Deterministic exports
`app/scripts/import-rp1.py` exports walking, ELU MLP `243→512→256→128→24`, including empirical normalization `(obs - mean) / (std + 0.01)` and runner ±100 action clip. Three term-major history frames follow training joint order. First sample backfills history; reset/skill entry clears it. PyTorch/ONNX max absolute error: approximately **1.55e-6**.
`app/scripts/import-rp1-motion.py` exports dance/wave, ELU MLP `126→512→256→128→24`, including empirical normalization and no additional action clip (runner clip is null). Logged actor branch is **student**, not the privileged policy observation group. Inputs are reference joint positions/velocities (48), gyro (3), projected gravity (3), relative joint positions (24), joint velocities (24), last actor action (24). Each skill uses its own trained defaults and last action. The distribution and critic are not deployed. PyTorch/ONNX max errors: dance **1.31e-6**, wave **1.91e-6**.
Actions are reference-pose-relative joint targets, scale `0.25`. Named gains, torque caps and four-quadrant motor torque-speed limits are preserved. Browser intentionally omits training-time random actuator delays (0–2 physics steps), randomized physics/default positions, external pushes and observation noise. It is not an exact reproduction of Newton/MJWarp training or hardware motor control.
## Motion references and deployed limits
Source archives under `robolab/data/motions/rp1_bm/`:
- `dance1_subject2_smooth6hz.npz`: 6573 frames at 50 fps, 131.46 s total. **Only the validated first 10 s are enabled.** The previous 7999 checkpoint fell at frame 994 (~19.9 s) in a full-clip rollout. The updated 23998 checkpoint has been qualified for the 10 s prefix only; full continuous playback has not been requalified.
- `wave_R_001__A428.npz`: 218 frames at 50 fps, full 4.36 s enabled.
`.json` reference descriptors plus little-endian `.f32` files contain joint position/velocity commands in logged joint order. Motion command time advances one frame per 50 Hz control tick, freezes on pause and resets at activation. Reference end clamps; there is no random resampling or wrapping. References only supply policy observations: they do not teleport the root, set kinematic joint poses, or replace trained actions with scripted animation.
Both skills use exclusive full-body policies, a physical stop gate, entry/return blends and locomotion interruption. Validation includes three initial headings, walking before/after, repeated episodes without robot reset, keyboard/pause/reset, numerical reference checks and malformed-asset rollback. Initial integration: `docs/superpowers/verification/2026-10-29-rp1-completed-skills.md`; current dance weights: `docs/superpowers/verification/2026-10-29-rp1-dance-23998.md`. UI labels are simply `Dance` and `Wave`; durations and transition behavior remain unchanged.
## User-provided GLB material replacement
`RP1机器人glb.zip` supplies 63 Blender-exported, self-contained GLBs. `visual-source-manifest.json` records the archive SHA-256, all 63 source-part hashes, 25 output hashes and the exact body mapping. Original MJCF/STL, policy and motion files retain their existing hashes; the only manifest change is `render.body_visuals`.
- Twenty-three bodies use byte-identical source GLBs. Their Blender Y-up coordinates are rotated +90° about X into MuJoCo body Z-up. All 63 source-part bounds were independently checked against the upstream STL bounds after this axis conversion: exact agreement.
- The existing 24-DOF model has only one `left_wrist_link` / `right_wrist_link` body per side. Each visual wrist therefore composes **20 parts**: wrist roll/yaw/pitch plus the palm and 16 finger pieces. Transforms come from the copied upstream `visuals/rp1_hand_fixed.urdf`; extra wrist yaw/pitch stay neutral, fingers stay in their fixed poses. There are **no additional physical joints or finger-control claims**.
- The assembler preserves source vertex/index/image bytes, remaps GLTF indices and retains original PBR colours, roughness/metalness, normal maps, face screen texture and emissive torso logo. It adds only visual transform wrapper nodes.
- Reproduce with `python3 app/scripts/import-rp1-visuals.py /path/to/RP1机器人glb.zip app/public/robots/rp1/visuals/rp1_hand_fixed.urdf` from the repo root. All inputs/outputs validate before installation; ZIP paths are never extracted.
- Geometry additions in the hands are visual only. Existing collision envelopes intentionally remain those used by the trained 24-DOF model.
The ZIP supplied no license/attribution file. Do not infer redistribution rights from receipt of these assets. It remains a local-evaluation package under the limitations below.
## License limitation — local evaluation only
The RP1 description submodule does not supply a license file in this checkout. Do **not** infer an Apache/BSD license for its meshes/model or motion data from the platform or RoboLab. Confirm upstream rights before redistributing this package or deploying publicly.
`LICENSES/RoboLab-BSD-3-Clause.txt` preserves RoboLab's code notice; it does not grant rights to separately sourced RP1 description assets, motion recordings/retargeting data or the user's checkpoints. Training-code, model, checkpoint and motion provenance must be reviewed independently for redistribution. No public deployment was performed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+282
View File
@@ -0,0 +1,282 @@
<?xml version='1.0' encoding='utf-8'?>
<mujoco model="rp1">
<compiler angle="radian" meshdir="." autolimits="true" eulerseq="zyx" balanceinertia="true" />
<option timestep="0.005" integrator="implicitfast" iterations="100" solver="Newton" gravity="0 0 -9.81">
<flag frictionloss="enable" />
</option>
<size memory="32M" />
<default>
<default class="RP1">
<joint damping="0.01" frictionloss="0.1" armature="0.01" />
<default class="visual">
<geom type="mesh" contype="0" conaffinity="0" group="2" />
</default>
<default class="collision">
<geom group="3" condim="4" contype="1" conaffinity="1" solref="0.01 1" friction="0.9 0.2 0.2" />
</default>
</default>
</default>
<worldbody>
<body name="base_link" pos="0 0 0.78" quat="1 0 0 0" childclass="RP1">
<site name="imu" size="0.01" pos="0.0 0 0.0" />
<freejoint name="base_link_freejoint" />
<inertial pos="-0.03786057 -0.00301243 -0.04479345" mass="3.295" fullinertia="0.00960796 0.00699457 0.00815508 0.00000112 -0.00015116 -0.00000270" />
<geom type="mesh" class="visual" pos="0 0 0" quat="1 0 0 0" mesh="base_link" material="base_link_material" />
<body name="left_hip_pitch_link" pos="-0.03843 0.062987 -0.051639" quat="1 0 0 0">
<joint axis="0 1 0" name="left_hip_pitch_joint" type="hinge" range="-2.86 2.86" armature="0.0290856" />
<inertial pos="-0.00326988 0.05886633 -0.05765170" mass="1.83930168" fullinertia="0.00338343 0.00286182 0.00254132 0.00000610 -0.00000685 0.00030016" />
<geom type="mesh" class="visual" pos="0 0 0" quat="1 0 0 0" mesh="left_hip_pitch_link" material="left_hip_pitch_material" />
<geom name="left_hip_pitch_collision" type="capsule" class="collision" size="0.04970" fromto="-0.01122 0.06756 -0.06890 -0.01122 0.05070 -0.01118" />
<body name="left_hip_roll_link" pos="0.031915 0.061254 -0.060672" quat="1 0 0 0">
<joint axis="1 0 0" name="left_hip_roll_joint" type="hinge" range="-0.74 2.6" armature="0.0290856" />
<inertial pos="-0.00518991 -0.00003499 -0.08084106" mass="1.473" fullinertia="0.00376408 0.00382823 0.00192275 0.00000313 -0.00065554 -0.00000256" />
<geom type="mesh" class="visual" pos="0 0 0" quat="1 0 0 0" mesh="left_hip_roll_link" material="left_hip_roll_material" />
<geom name="left_hip_roll_collision" type="capsule" class="collision" size="0.05622" fromto="-0.01270 0 -0.07578 -0.01270 0 -0.00658" />
<body name="left_hip_yaw_link" pos="-0.012698 0 -0.129" quat="1 0 0 0">
<joint axis="0 0 -1" name="left_hip_yaw_joint" type="hinge" range="-2.76 2.76" armature="0.00884" />
<inertial pos="-0.01959270 -0.00023200 -0.12376414" mass="2.483" fullinertia="0.01126838 0.01225761 0.00388513 0.00001684 -0.00196020 0.00002442" />
<geom type="mesh" class="visual" pos="0 0 0" quat="1 0 0 0" mesh="left_hip_yaw_link" material="left_hip_yaw_material" />
<geom name="left_hip_yaw_collision" type="capsule" class="collision" size="0.05622" fromto="-0.03046 0 -0.16235 -0.00001 0 -0.05622" />
<body name="left_knee_link" pos="-0.033201 -0.030809 -0.16509" quat="1 0 0 0">
<joint axis="0 -1 0" name="left_knee_joint" type="hinge" range="-2.83 0.06" armature="0.0290856" />
<inertial pos="0.03105182 0.03046366 -0.13362250" mass="2.557" fullinertia="0.01819333 0.01828843 0.00291276 -0.00006969 -0.00019845 0.00002464" />
<geom type="mesh" class="visual" pos="0 0 0" quat="1 0 0 0" mesh="left_knee_link" material="left_knee_material" />
<geom name="left_knee_upper_collision" type="capsule" class="collision" size="0.0520" fromto="0.0330 0.03081 -0.1450 0.0030 0.03081 -0.0040" />
<geom name="left_knee_lower_collision" type="capsule" class="collision" size="0.0405" fromto="0.0270 0.03081 -0.2780 0.0330 0.03081 -0.1850" />
<body name="left_ankle_pitch_link" pos="0.03131 0.030811 -0.30533" quat="1 0 0 0">
<joint axis="0 1 0" name="left_ankle_pitch_joint" type="hinge" range="-0.78 0.61" armature="0.006266268" frictionloss="0.1" />
<inertial pos="0.00126332 0.00000000 -0.01319163" mass="0.16605731" fullinertia="0.00003624 0.00004292 0.00002407 0.00000000 0.00000148 0.00000000" />
<geom type="mesh" class="visual" pos="0 0 0" quat="1 0 0 0" mesh="left_ankle_pitch_link" material="left_ankle_pitch_material" />
<geom name="left_ankle_pitch_collision" type="capsule" class="collision" size="0.02150" fromto="-0.00145 0 -0.00614 0.00959 0 -0.01051" />
<body name="left_ankle_roll_link" pos="0.013067 0 -0.018922" quat="1 0 0 0">
<joint axis="0.999993677858222 0 0.00355587451777954" name="left_ankle_roll_joint" type="hinge" range="-0.26 0.26" armature="0.006266268" frictionloss="0.1" />
<inertial pos="0.008711 -0.000002 -0.021633" mass="0.6430" fullinertia="0.000361 0.001920 0.002002 0.000000 0.000123 0.000000" />
<geom type="mesh" class="visual" pos="0 0 0" quat="1 0 0 0" mesh="left_ankle_roll_link" material="left_ankle_roll_material" />
<geom name="left_foot_toe_neg_collision" type="capsule" class="collision" size="0.01" fromto="0.03 -0.03 -0.035 0.09 -0.03 -0.035" />
<geom name="left_foot_outer_neg_collision" type="capsule" class="collision" size="0.01" fromto="-0.065 -0.02 -0.035 0.11 -0.02 -0.035" />
<geom name="left_foot_inner_neg_collision" type="capsule" class="collision" size="0.01" fromto="-0.0775 -0.01 -0.035 0.1225 -0.01 -0.035" />
<geom name="left_foot_center_collision" type="capsule" class="collision" size="0.01" fromto="-0.0825 0 -0.035 0.1275 0 -0.035" />
<geom name="left_foot_inner_pos_collision" type="capsule" class="collision" size="0.01" fromto="-0.0775 0.01 -0.035 0.1225 0.01 -0.035" />
<geom name="left_foot_outer_pos_collision" type="capsule" class="collision" size="0.01" fromto="-0.065 0.02 -0.035 0.11 0.02 -0.035" />
<geom name="left_foot_toe_pos_collision" type="capsule" class="collision" size="0.01" fromto="0.03 0.03 -0.035 0.09 0.03 -0.035" />
</body>
</body>
</body>
</body>
</body>
</body>
<body name="right_hip_pitch_link" pos="-0.03843 -0.069013 -0.051639" quat="1 0 0 0">
<joint axis="0 -1 0" name="right_hip_pitch_joint" type="hinge" range="-2.86 2.86" armature="0.0290856" />
<inertial pos="-0.00326831 -0.05867998 -0.05764945" mass="1.84174869" fullinertia="0.00339042 0.00287691 0.00253348 0.00000130 -0.00000978 -0.00029218" />
<geom type="mesh" class="visual" pos="0 0 0" quat="1 0 0 0" mesh="right_hip_pitch_link" material="right_hip_pitch_material" />
<geom name="right_hip_pitch_collision" type="capsule" class="collision" size="0.04970" fromto="-0.01122 -0.06756 -0.06890 -0.01122 -0.05070 -0.01118" />
<body name="right_hip_roll_link" pos="0.031915 -0.061254 -0.060672" quat="1 0 0 0">
<joint axis="1 0 0" name="right_hip_roll_joint" type="hinge" range="-2.6 0.74" armature="0.0290856" />
<inertial pos="-0.00518991 -0.00003499 -0.08084106" mass="1.473" fullinertia="0.00376408 0.00382823 0.00192275 0.00000313 -0.00065554 -0.00000256" />
<geom type="mesh" class="visual" pos="0 0 0" quat="1 0 0 0" mesh="right_hip_roll_link" material="right_hip_roll_material" />
<geom name="right_hip_roll_collision" type="capsule" class="collision" size="0.05622" fromto="-0.01270 0 -0.07578 -0.01270 0 -0.00658" />
<body name="right_hip_yaw_link" pos="-0.012698 0 -0.129" quat="1 0 0 0">
<joint axis="0 0 -1" name="right_hip_yaw_joint" type="hinge" range="-2.76 2.76" armature="0.00884" />
<inertial pos="-0.01958069 0.00023065 -0.12376565" mass="2.483" fullinertia="0.01132547 0.01225907 0.00383024 -0.00001670 -0.00196009 -0.00002438" />
<geom type="mesh" class="visual" pos="0 0 0" quat="1 0 0 0" mesh="right_hip_yaw_link" material="right_hip_yaw_material" />
<geom name="right_hip_yaw_collision" type="capsule" class="collision" size="0.05622" fromto="-0.03046 0 -0.16235 -0.00001 0 -0.05622" />
<body name="right_knee_link" pos="-0.0332010004232152 0.0308089665012395 -0.165090022909223" quat="1 0 0 0">
<joint axis="0 1 0" name="right_knee_joint" type="hinge" range="-0.06 2.83" armature="0.0290856" />
<inertial pos="0.03115290 -0.03066848 -0.13404559" mass="2.557" fullinertia="0.01802753 0.01813266 0.00288242 0.00006186 -0.00023263 0.00002714" />
<geom type="mesh" class="visual" pos="0 0 0" quat="1 0 0 0" mesh="right_knee_link" material="right_knee_material" />
<geom name="right_knee_upper_collision" type="capsule" class="collision" size="0.0520" fromto="0.0330 -0.03081 -0.1450 0.0030 -0.03081 -0.0040" />
<geom name="right_knee_lower_collision" type="capsule" class="collision" size="0.0405" fromto="0.0270 -0.03081 -0.2780 0.0330 -0.03081 -0.1850" />
<body name="right_ankle_pitch_link" pos="0.03131 -0.030809 -0.30533" quat="1 0 0 0">
<joint axis="0 1 0" name="right_ankle_pitch_joint" type="hinge" range="-0.78 0.61" armature="0.006266268" frictionloss="0.1" />
<inertial pos="0.00126328 0.00000000 -0.01319163" mass="0.16605731" fullinertia="0.00003624 0.00004292 0.00002407 0.00000000 0.00000148 0.00000000" />
<geom type="mesh" class="visual" pos="0 0 0" quat="1 0 0 0" mesh="right_ankle_pitch_link" material="right_ankle_pitch_material" />
<geom name="right_ankle_pitch_collision" type="capsule" class="collision" size="0.02150" fromto="-0.00145 0 -0.00614 0.00959 0 -0.01051" />
<body name="right_ankle_roll_link" pos="0.013067 0 -0.018922" quat="1 0 0 0">
<joint axis="0.999993677858222 0 0.00355587451777984" name="right_ankle_roll_joint" type="hinge" range="-0.26 0.26" armature="0.006266268" frictionloss="0.1" />
<inertial pos="0.008711 -0.000002 -0.021633" mass="0.6430" fullinertia="0.000361 0.001920 0.002002 0.000000 0.000123 0.000000" />
<geom type="mesh" class="visual" pos="0 0 0" quat="1 0 0 0" mesh="right_ankle_roll_link" material="right_ankle_roll_material" />
<geom name="right_foot_toe_neg_collision" type="capsule" class="collision" size="0.01" fromto="0.03 -0.03 -0.035 0.09 -0.03 -0.035" />
<geom name="right_foot_outer_neg_collision" type="capsule" class="collision" size="0.01" fromto="-0.065 -0.02 -0.035 0.11 -0.02 -0.035" />
<geom name="right_foot_inner_neg_collision" type="capsule" class="collision" size="0.01" fromto="-0.0775 -0.01 -0.035 0.1225 -0.01 -0.035" />
<geom name="right_foot_center_collision" type="capsule" class="collision" size="0.01" fromto="-0.0825 0 -0.035 0.1275 0 -0.035" />
<geom name="right_foot_inner_pos_collision" type="capsule" class="collision" size="0.01" fromto="-0.0775 0.01 -0.035 0.1225 0.01 -0.035" />
<geom name="right_foot_outer_pos_collision" type="capsule" class="collision" size="0.01" fromto="-0.065 0.02 -0.035 0.11 0.02 -0.035" />
<geom name="right_foot_toe_pos_collision" type="capsule" class="collision" size="0.01" fromto="0.03 0.03 -0.035 0.09 0.03 -0.035" />
</body>
</body>
</body>
</body>
</body>
</body>
<body name="waist_roll_link" pos="-0.00757994881845658 -0.00301269924435144 0.0529838303646947" quat="1 0 0 0">
<joint axis="1 0 0" name="waist_roll_joint" type="hinge" range="-0.7 0.7" armature="0.0290856" />
<inertial pos="-0.03058205 0.00004115 -0.00029517" mass="1.53201882" fullinertia="0.00221249 0.00166198 0.00164327 -0.00000117 -0.00000777 -0.00000329" />
<geom type="mesh" class="visual" pos="0 0 0" quat="1 0 0 0" mesh="waist_roll_link" material="waist_roll_material" />
<geom name="waist_roll_neg_y_collision" type="capsule" class="collision" size="0.04164" fromto="-0.03686 -0.01336 -0.01336 -0.03686 -0.01336 0.02536" />
<geom name="waist_roll_pos_y_collision" type="capsule" class="collision" size="0.04164" fromto="-0.03686 0.01336 -0.01336 -0.03686 0.01336 0.02536" />
<body name="waist_yaw_link" pos="-0.0308449999997339 0 0.0679999999997294" quat="1 0 0 0">
<joint axis="0 0 -1" name="waist_yaw_joint" type="hinge" range="-2.91 2.91" armature="0.0290856" />
<inertial pos="-0.001424 0.000080 0.128866" mass="8.3430" fullinertia="0.109179 0.092853 0.041145 -0.000027 0.002082 -0.000013" />
<geom type="mesh" class="visual" pos="0 0 0" quat="1 0 0 0" mesh="waist_yaw_link" material="waist_yaw_material" />
<geom name="torso_lower_collision" type="capsule" class="collision" size="0.090" fromto="0.0100 0 0.0394 0.0100 0 0.0800" />
<geom name="torso_middle_collision" type="capsule" class="collision" size="0.120" fromto="-0.0244 0 0.1450 -0.0244 0 0.2100" />
<geom name="torso_upper_collision" type="capsule" class="collision" size="0.088" fromto="-0.0185 0 0.3350 -0.0185 0 0.33668" />
<body name="left_shoulder_pitch_link" pos="0 0.116496194698121 0.19848715574272" quat="1 0 0 0">
<joint axis="0 0.99619 0.087156" name="left_shoulder_pitch_joint" type="hinge" range="-3.4 2.35" armature="0.00884" />
<inertial pos="-0.00227488 0.05877203 -0.01145894" mass="0.82850012" fullinertia="0.00077624 0.00060519 0.00074547 0.00001858 -0.00000678 0.00008598" />
<geom type="mesh" class="visual" pos="0 0 0" quat="1 0 0 0" mesh="left_shoulder_pitch_link" material="left_shoulder_pitch_material" />
<geom name="left_shoulder_pitch_collision" type="capsule" class="collision" size="0.03808" fromto="-0.00326 0.03582 -0.00238 -0.00326 0.06284 -0.01210" />
<body name="left_shoulder_roll_link" pos="0.0287432951006891 0.0653494445514435 -0.014608906526987" quat="1 0 0 0">
<joint axis="1 0 0" name="left_shoulder_roll_joint" type="hinge" range="-0.47 2.9" armature="0.00313313" />
<inertial pos="-0.01613398 0.00000564 -0.06609383" mass="0.76916758" fullinertia="0.00079857 0.00081142 0.00051033 0.00000012 -0.00012702 -0.00000004" />
<geom type="mesh" class="visual" pos="0 0 0" quat="1 0 0 0" mesh="left_shoulder_roll_link" material="left_shoulder_roll_material" />
<geom name="left_shoulder_roll_collision" type="capsule" class="collision" size="0.04000" fromto="-0.01906 0 -0.06800 -0.01906 0 -0.00656" />
<body name="left_shoulder_yaw_link" pos="-0.0190574930004302 0 -0.105000039994097" quat="1 0 0 0">
<joint axis="0 0 -1" name="left_shoulder_yaw_joint" type="hinge" range="-2.87 2.87" armature="0.00313313" />
<inertial pos="0.01447570 -0.00112029 -0.08587480" mass="0.95227320" fullinertia="0.00179605 0.00188468 0.00081430 -0.00000292 0.00031386 -0.00001579" />
<geom type="mesh" class="visual" pos="0 0 0" quat="1 0 0 0" mesh="left_shoulder_yaw_link" material="left_shoulder_yaw_material" />
<geom name="left_shoulder_yaw_collision" type="capsule" class="collision" size="0.04008" fromto="0.01816 0.00008 -0.10150 0.00008 0.00008 -0.01708" />
<body name="left_elbow_link" pos="0.020796 -0.031888 -0.10414" quat="1 0 0 0">
<joint axis="0 -1 0" name="left_elbow_joint" type="hinge" range="-1.6 1.24" armature="0.00313313" />
<inertial pos="0.07222795 0.03107894 -0.01809537" mass="0.77922872" fullinertia="0.00060310 0.00112121 0.00118539 -0.00005057 0.00006993 0.00001181" />
<geom type="mesh" class="visual" pos="0 0 0" quat="1 0 0 0" mesh="left_elbow_link" material="left_elbow_material" />
<geom name="left_elbow_collision" type="capsule" class="collision" size="0.04220" fromto="0.00487 0.03186 -0.00484 0.07959 0.03186 -0.01404" />
<body name="left_wrist_link" pos="0.116093381994033 0.031859446289993 -0.0187927584979322" quat="1 0 0 0">
<joint axis="1 0 0" name="left_wrist_joint" type="hinge" range="-2.56 2.56" armature="0.00313313" />
<inertial pos="0.10279104 -0.00368067 0.00149822" mass="0.46025356" fullinertia="0.00032495 0.00202426 0.00199776 0.00013222 -0.00009324 0.00001796" />
<geom type="mesh" class="visual" pos="0 0 0" quat="1 0 0 0" mesh="left_wrist_link" material="left_wrist_material" />
<geom name="left_wrist_collision" type="capsule" class="collision" size="0.03948" fromto="0.01646 -0.00206 0.00203 0.16132 -0.01175 0.00203" />
</body>
</body>
</body>
</body>
</body>
<body name="right_shoulder_pitch_link" pos="0 -0.116496194698064 0.198487155742749" quat="1 0 0 0">
<joint axis="0 -0.99619 0.087156" name="right_shoulder_pitch_joint" type="hinge" range="-2.35 3.4" armature="0.00884" />
<inertial pos="-0.00227477 -0.05856201 -0.01145858" mass="0.82850796" fullinertia="0.00077392 0.00060520 0.00074316 -0.00001370 -0.00000678 -0.00008562" />
<geom type="mesh" class="visual" pos="0 0 0" quat="1 0 0 0" mesh="right_shoulder_pitch_link" material="right_shoulder_pitch_material" />
<geom name="right_shoulder_pitch_collision" type="capsule" class="collision" size="0.03808" fromto="-0.00326 -0.06284 -0.01210 -0.00326 -0.03582 -0.00238" />
<body name="right_shoulder_roll_link" pos="0.0287432951007422 -0.0653494445235536 -0.0146089065305009" quat="1 0 0 0">
<joint axis="1 0 0" name="right_shoulder_roll_joint" type="hinge" range="-2.9 0.47" armature="0.00313313" />
<inertial pos="-0.01626203 0.00000539 -0.06810375" mass="0.80442734" fullinertia="0.00087815 0.00088810 0.00052415 0.00000011 -0.00013154 -0.00000005" />
<geom type="mesh" class="visual" pos="0 0 0" quat="1 0 0 0" mesh="right_shoulder_roll_link" material="right_shoulder_roll_material" />
<geom name="right_shoulder_roll_collision" type="capsule" class="collision" size="0.04000" fromto="-0.01906 0 -0.07700 -0.01906 0 -0.00656" />
<body name="right_shoulder_yaw_link" pos="-0.0190573923593691 0 -0.105000126276637" quat="1 0 0 0">
<joint axis="0 0 -1" name="right_shoulder_yaw_joint" type="hinge" range="-2.87 2.87" armature="0.00313313" />
<inertial pos="0.01430772 0.00112150 -0.08592529" mass="0.95225273" fullinertia="0.00179792 0.00188417 0.00081194 -0.00000160 0.00031064 0.00001448" />
<geom type="mesh" class="visual" pos="0 0 0" quat="1 0 0 0" mesh="right_shoulder_yaw_link" material="right_shoulder_yaw_material" />
<geom name="right_shoulder_yaw_collision" type="capsule" class="collision" size="0.04008" fromto="0.01816 -0.00008 -0.10150 0.00008 -0.00008 -0.01708" />
<body name="right_elbow_link" pos="0.0207956801502895 0.031887525882762 -0.104135222723484" quat="1 0 0 0">
<joint axis="0 1 0" name="right_elbow_joint" type="hinge" range="-1.24 1.6" armature="0.00313313" />
<inertial pos="0.07222795 -0.03090613 -0.01799316" mass="0.77922499" fullinertia="0.00060275 0.00112238 0.00118388 0.00005257 0.00007112 -0.00001226" />
<geom type="mesh" class="visual" pos="0 0 0" quat="1 0 0 0" mesh="right_elbow_link" material="right_elbow_material" />
<geom name="right_elbow_collision" type="capsule" class="collision" size="0.04220" fromto="0.00487 -0.03186 -0.00484 0.07959 -0.03186 -0.01404" />
<body name="right_wrist_link" pos="0.11609334409225 -0.031859369715491 -0.0187927299688337" quat="1 0 0 0">
<joint axis="1 0 0" name="right_wrist_joint" type="hinge" range="-2.56 2.56" armature="0.00313313" />
<inertial pos="0.10279542 0.00367933 0.00149885" mass="0.46029783" fullinertia="0.00032496 0.00202412 0.00199758 -0.00013231 -0.00009325 -0.00001798" />
<geom type="mesh" class="visual" pos="0 0 0" quat="1 0 0 0" mesh="right_wrist_link" material="right_wrist_material" />
<geom name="right_wrist_collision" type="capsule" class="collision" size="0.03948" fromto="0.01646 0.00206 0.00203 0.16132 0.01175 0.00203" />
</body>
</body>
</body>
</body>
</body>
</body>
</body>
</body>
</worldbody>
<asset>
<mesh file="meshes/base_link.STL" />
<mesh file="meshes/left_hip_pitch_link.STL" />
<mesh file="meshes/left_hip_roll_link.STL" />
<mesh file="meshes/left_hip_yaw_link.STL" />
<mesh file="meshes/left_knee_link.STL" />
<mesh file="meshes/left_ankle_pitch_link.STL" />
<mesh file="meshes/left_ankle_roll_link.STL" />
<mesh file="meshes/right_hip_pitch_link.STL" />
<mesh file="meshes/right_hip_roll_link.STL" />
<mesh file="meshes/right_hip_yaw_link.STL" />
<mesh file="meshes/right_knee_link.STL" />
<mesh file="meshes/right_ankle_pitch_link.STL" />
<mesh file="meshes/right_ankle_roll_link.STL" />
<mesh file="meshes/waist_roll_link.STL" />
<mesh file="meshes/waist_yaw_link.STL" />
<mesh file="meshes/left_shoulder_pitch_link.STL" />
<mesh file="meshes/left_shoulder_roll_link.STL" />
<mesh file="meshes/left_shoulder_yaw_link.STL" />
<mesh file="meshes/left_elbow_link.STL" />
<mesh file="meshes/left_wrist_link.STL" />
<mesh file="meshes/right_shoulder_pitch_link.STL" />
<mesh file="meshes/right_shoulder_roll_link.STL" />
<mesh file="meshes/right_shoulder_yaw_link.STL" />
<mesh file="meshes/right_elbow_link.STL" />
<mesh file="meshes/right_wrist_link.STL" />
<material name="base_link_material" rgba="0.752941 0.752941 0.752941 1" />
<material name="left_hip_pitch_material" rgba="0.752941 0.752941 0.752941 1" />
<material name="left_hip_roll_material" rgba="0.752941 0.752941 0.752941 1" />
<material name="left_hip_yaw_material" rgba="0.752941 0.752941 0.752941 1" />
<material name="left_knee_material" rgba="0.752941 0.752941 0.752941 1" />
<material name="left_ankle_pitch_material" rgba="0.650980 0.619608 0.588235 1" />
<material name="left_ankle_roll_material" rgba="0.752941 0.752941 0.752941 1" />
<material name="right_hip_pitch_material" rgba="0.752941 0.752941 0.752941 1" />
<material name="right_hip_roll_material" rgba="0.752941 0.752941 0.752941 1" />
<material name="right_hip_yaw_material" rgba="0.752941 0.752941 0.752941 1" />
<material name="right_knee_material" rgba="0.752941 0.752941 0.752941 1" />
<material name="right_ankle_pitch_material" rgba="0.650980 0.619608 0.588235 1" />
<material name="right_ankle_roll_material" rgba="0.752941 0.752941 0.752941 1" />
<material name="waist_roll_material" rgba="0.752941 0.752941 0.752941 1" />
<material name="waist_yaw_material" rgba="0.752941 0.752941 0.752941 1" />
<material name="left_shoulder_pitch_material" rgba="0.752941 0.752941 0.752941 1" />
<material name="left_shoulder_roll_material" rgba="0.752941 0.752941 0.752941 1" />
<material name="left_shoulder_yaw_material" rgba="0.752941 0.752941 0.752941 1" />
<material name="left_elbow_material" rgba="0.752941 0.752941 0.752941 1" />
<material name="left_wrist_material" rgba="0.752941 0.752941 0.752941 1" />
<material name="right_shoulder_pitch_material" rgba="0.752941 0.752941 0.752941 1" />
<material name="right_shoulder_roll_material" rgba="0.752941 0.752941 0.752941 1" />
<material name="right_shoulder_yaw_material" rgba="0.752941 0.752941 0.752941 1" />
<material name="right_elbow_material" rgba="0.752941 0.752941 0.752941 1" />
<material name="right_wrist_material" rgba="0.752941 0.752941 0.752941 1" />
</asset>
<actuator>
<motor class="RP1" gear="1" ctrlrange="-140 140" name="left_hip_pitch_joint" joint="left_hip_pitch_joint" />
<motor class="RP1" gear="1" ctrlrange="-140 140" name="left_hip_roll_joint" joint="left_hip_roll_joint" />
<motor class="RP1" gear="1" ctrlrange="-55 55" name="left_hip_yaw_joint" joint="left_hip_yaw_joint" />
<motor class="RP1" gear="1" ctrlrange="-140 140" name="left_knee_joint" joint="left_knee_joint" />
<motor class="RP1" gear="1" ctrlrange="-64 64" name="left_ankle_pitch_joint" joint="left_ankle_pitch_joint" />
<motor class="RP1" gear="1" ctrlrange="-64 64" name="left_ankle_roll_joint" joint="left_ankle_roll_joint" />
<motor class="RP1" gear="1" ctrlrange="-140 140" name="right_hip_pitch_joint" joint="right_hip_pitch_joint" />
<motor class="RP1" gear="1" ctrlrange="-140 140" name="right_hip_roll_joint" joint="right_hip_roll_joint" />
<motor class="RP1" gear="1" ctrlrange="-55 55" name="right_hip_yaw_joint" joint="right_hip_yaw_joint" />
<motor class="RP1" gear="1" ctrlrange="-140 140" name="right_knee_joint" joint="right_knee_joint" />
<motor class="RP1" gear="1" ctrlrange="-64 64" name="right_ankle_pitch_joint" joint="right_ankle_pitch_joint" />
<motor class="RP1" gear="1" ctrlrange="-64 64" name="right_ankle_roll_joint" joint="right_ankle_roll_joint" />
<motor class="RP1" gear="1" ctrlrange="-140 140" name="waist_roll_joint" joint="waist_roll_joint" />
<motor class="RP1" gear="1" ctrlrange="-140 140" name="waist_yaw_joint" joint="waist_yaw_joint" />
<motor class="RP1" gear="1" ctrlrange="-55 55" name="left_shoulder_pitch_joint" joint="left_shoulder_pitch_joint" />
<motor class="RP1" gear="1" ctrlrange="-32 32" name="left_shoulder_roll_joint" joint="left_shoulder_roll_joint" />
<motor class="RP1" gear="1" ctrlrange="-32 32" name="left_shoulder_yaw_joint" joint="left_shoulder_yaw_joint" />
<motor class="RP1" gear="1" ctrlrange="-32 32" name="left_elbow_joint" joint="left_elbow_joint" />
<motor class="RP1" gear="1" ctrlrange="-32 32" name="left_wrist_joint" joint="left_wrist_joint" />
<motor class="RP1" gear="1" ctrlrange="-55 55" name="right_shoulder_pitch_joint" joint="right_shoulder_pitch_joint" />
<motor class="RP1" gear="1" ctrlrange="-32 32" name="right_shoulder_roll_joint" joint="right_shoulder_roll_joint" />
<motor class="RP1" gear="1" ctrlrange="-32 32" name="right_shoulder_yaw_joint" joint="right_shoulder_yaw_joint" />
<motor class="RP1" gear="1" ctrlrange="-32 32" name="right_elbow_joint" joint="right_elbow_joint" />
<motor class="RP1" gear="1" ctrlrange="-32 32" name="right_wrist_joint" joint="right_wrist_joint" />
</actuator>
<sensor>
<framequat name="orientation" objtype="site" noise="0.001" objname="imu" />
<framepos name="position" objtype="site" noise="0.001" objname="imu" />
<gyro name="angular-velocity" site="imu" noise="0.005" cutoff="34.9" />
<velocimeter name="linear-velocity" site="imu" noise="0.001" cutoff="30" />
<accelerometer name="linear-acceleration" site="imu" noise="0.005" cutoff="157" />
<magnetometer name="magnetometer" site="imu" />
</sensor>
<visual>
<global offwidth="1920" offheight="1080" />
</visual>
</mujoco>
Binary file not shown.
+34
View File
@@ -0,0 +1,34 @@
{
"schema": 1,
"layout": "positions_then_velocities",
"dtype": "float32-le",
"step_dt": 0.02,
"frames": 6573,
"joint_names": [
"left_hip_pitch_joint",
"left_hip_roll_joint",
"left_hip_yaw_joint",
"left_knee_joint",
"left_ankle_pitch_joint",
"left_ankle_roll_joint",
"right_hip_pitch_joint",
"right_hip_roll_joint",
"right_hip_yaw_joint",
"right_knee_joint",
"right_ankle_pitch_joint",
"right_ankle_roll_joint",
"waist_roll_joint",
"waist_yaw_joint",
"left_shoulder_pitch_joint",
"left_shoulder_roll_joint",
"left_shoulder_yaw_joint",
"left_elbow_joint",
"left_wrist_joint",
"right_shoulder_pitch_joint",
"right_shoulder_roll_joint",
"right_shoulder_yaw_joint",
"right_elbow_joint",
"right_wrist_joint"
],
"data": "motions/dance.f32"
}
Binary file not shown.
+34
View File
@@ -0,0 +1,34 @@
{
"schema": 1,
"layout": "positions_then_velocities",
"dtype": "float32-le",
"step_dt": 0.02,
"frames": 218,
"joint_names": [
"left_hip_pitch_joint",
"left_hip_roll_joint",
"left_hip_yaw_joint",
"left_knee_joint",
"left_ankle_pitch_joint",
"left_ankle_roll_joint",
"right_hip_pitch_joint",
"right_hip_roll_joint",
"right_hip_yaw_joint",
"right_knee_joint",
"right_ankle_pitch_joint",
"right_ankle_roll_joint",
"waist_roll_joint",
"waist_yaw_joint",
"left_shoulder_pitch_joint",
"left_shoulder_roll_joint",
"left_shoulder_yaw_joint",
"left_elbow_joint",
"left_wrist_joint",
"right_shoulder_pitch_joint",
"right_shoulder_roll_joint",
"right_shoulder_yaw_joint",
"right_elbow_joint",
"right_wrist_joint"
],
"data": "motions/wave.f32"
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
+944
View File
@@ -0,0 +1,944 @@
{
"schema": 1,
"id": "rp1",
"name": "RP1",
"family": "rp1",
"adapter": "generic",
"dimensions": {
"height": 1.32
},
"model": "model.xml",
"assets": [
{
"path": "meshes/base_link.STL",
"vfs": "meshes/base_link.STL"
},
{
"path": "meshes/left_hip_pitch_link.STL",
"vfs": "meshes/left_hip_pitch_link.STL"
},
{
"path": "meshes/left_hip_roll_link.STL",
"vfs": "meshes/left_hip_roll_link.STL"
},
{
"path": "meshes/left_hip_yaw_link.STL",
"vfs": "meshes/left_hip_yaw_link.STL"
},
{
"path": "meshes/left_knee_link.STL",
"vfs": "meshes/left_knee_link.STL"
},
{
"path": "meshes/left_ankle_pitch_link.STL",
"vfs": "meshes/left_ankle_pitch_link.STL"
},
{
"path": "meshes/left_ankle_roll_link.STL",
"vfs": "meshes/left_ankle_roll_link.STL"
},
{
"path": "meshes/right_hip_pitch_link.STL",
"vfs": "meshes/right_hip_pitch_link.STL"
},
{
"path": "meshes/right_hip_roll_link.STL",
"vfs": "meshes/right_hip_roll_link.STL"
},
{
"path": "meshes/right_hip_yaw_link.STL",
"vfs": "meshes/right_hip_yaw_link.STL"
},
{
"path": "meshes/right_knee_link.STL",
"vfs": "meshes/right_knee_link.STL"
},
{
"path": "meshes/right_ankle_pitch_link.STL",
"vfs": "meshes/right_ankle_pitch_link.STL"
},
{
"path": "meshes/right_ankle_roll_link.STL",
"vfs": "meshes/right_ankle_roll_link.STL"
},
{
"path": "meshes/waist_roll_link.STL",
"vfs": "meshes/waist_roll_link.STL"
},
{
"path": "meshes/waist_yaw_link.STL",
"vfs": "meshes/waist_yaw_link.STL"
},
{
"path": "meshes/left_shoulder_pitch_link.STL",
"vfs": "meshes/left_shoulder_pitch_link.STL"
},
{
"path": "meshes/left_shoulder_roll_link.STL",
"vfs": "meshes/left_shoulder_roll_link.STL"
},
{
"path": "meshes/left_shoulder_yaw_link.STL",
"vfs": "meshes/left_shoulder_yaw_link.STL"
},
{
"path": "meshes/left_elbow_link.STL",
"vfs": "meshes/left_elbow_link.STL"
},
{
"path": "meshes/left_wrist_link.STL",
"vfs": "meshes/left_wrist_link.STL"
},
{
"path": "meshes/right_shoulder_pitch_link.STL",
"vfs": "meshes/right_shoulder_pitch_link.STL"
},
{
"path": "meshes/right_shoulder_roll_link.STL",
"vfs": "meshes/right_shoulder_roll_link.STL"
},
{
"path": "meshes/right_shoulder_yaw_link.STL",
"vfs": "meshes/right_shoulder_yaw_link.STL"
},
{
"path": "meshes/right_elbow_link.STL",
"vfs": "meshes/right_elbow_link.STL"
},
{
"path": "meshes/right_wrist_link.STL",
"vfs": "meshes/right_wrist_link.STL"
}
],
"base": {
"type": "floating",
"root_body": "base_link",
"freejoint": "base_link_freejoint",
"spawn": {
"pos": [
0.0,
0.0,
0.78
],
"yaw": 0
},
"initial": {
"left_hip_pitch_joint": -0.1,
"left_hip_roll_joint": 0.0,
"left_hip_yaw_joint": 0.0,
"left_knee_joint": -0.3,
"left_ankle_pitch_joint": -0.2,
"left_ankle_roll_joint": 0.0,
"right_hip_pitch_joint": 0.1,
"right_hip_roll_joint": 0.0,
"right_hip_yaw_joint": 0.0,
"right_knee_joint": 0.3,
"right_ankle_pitch_joint": -0.2,
"right_ankle_roll_joint": 0.0,
"waist_roll_joint": 0.0,
"waist_yaw_joint": 0.0,
"left_shoulder_pitch_joint": 0.2,
"left_shoulder_roll_joint": 0.2,
"left_shoulder_yaw_joint": 0.0,
"left_elbow_joint": -1.2,
"left_wrist_joint": 0.0,
"right_shoulder_pitch_joint": -0.2,
"right_shoulder_roll_joint": -0.2,
"right_shoulder_yaw_joint": 0.0,
"right_elbow_joint": 1.2,
"right_wrist_joint": 0.0
}
},
"sim": {
"timestep": 0.005,
"decimation": 4
},
"joints": {
"groups": {
"policy": [
"left_hip_pitch_joint",
"left_hip_roll_joint",
"left_hip_yaw_joint",
"left_knee_joint",
"left_ankle_pitch_joint",
"left_ankle_roll_joint",
"right_hip_pitch_joint",
"right_hip_roll_joint",
"right_hip_yaw_joint",
"right_knee_joint",
"right_ankle_pitch_joint",
"right_ankle_roll_joint",
"waist_roll_joint",
"waist_yaw_joint",
"left_shoulder_pitch_joint",
"left_shoulder_roll_joint",
"left_shoulder_yaw_joint",
"left_elbow_joint",
"left_wrist_joint",
"right_shoulder_pitch_joint",
"right_shoulder_roll_joint",
"right_shoulder_yaw_joint",
"right_elbow_joint",
"right_wrist_joint"
]
},
"defaults": {
"left_hip_pitch_joint": -0.1,
"left_hip_roll_joint": 0.0,
"left_hip_yaw_joint": 0.0,
"left_knee_joint": -0.3,
"left_ankle_pitch_joint": -0.2,
"left_ankle_roll_joint": 0.0,
"right_hip_pitch_joint": 0.1,
"right_hip_roll_joint": 0.0,
"right_hip_yaw_joint": 0.0,
"right_knee_joint": 0.3,
"right_ankle_pitch_joint": -0.2,
"right_ankle_roll_joint": 0.0,
"waist_roll_joint": 0.0,
"waist_yaw_joint": 0.0,
"left_shoulder_pitch_joint": 0.2,
"left_shoulder_roll_joint": 0.2,
"left_shoulder_yaw_joint": 0.0,
"left_elbow_joint": -1.2,
"left_wrist_joint": 0.0,
"right_shoulder_pitch_joint": -0.2,
"right_shoulder_roll_joint": -0.2,
"right_shoulder_yaw_joint": 0.0,
"right_elbow_joint": 1.2,
"right_wrist_joint": 0.0
}
},
"observations": {
"obs": {
"history": 3,
"layout": "term_major",
"terms": [
{
"type": "gyro",
"sensor": "angular-velocity"
},
{
"type": "projected_gravity",
"body": "base_link"
},
{
"type": "command",
"size": 3
},
{
"type": "joint_pos_rel",
"group": "policy"
},
{
"type": "joint_vel",
"group": "policy"
},
{
"type": "last_action",
"group": "policy"
}
]
}
},
"actions": [
{
"type": "joint_position",
"group": "policy",
"scale": 0.25,
"offset": "default"
}
],
"actuation": {
"type": "joint_pd",
"kp": 120,
"kd": 7.5,
"torque_limit": 140,
"joints": {
"left_hip_pitch_joint": {
"kp": 120.0,
"kd": 7.5,
"torque_limit": 140.0,
"velocity_limit": 13.61357,
"keep_velocity": 8.37758
},
"left_hip_roll_joint": {
"kp": 120.0,
"kd": 7.5,
"torque_limit": 140.0,
"velocity_limit": 13.61357,
"keep_velocity": 8.37758
},
"left_hip_yaw_joint": {
"kp": 35.0,
"kd": 2.5,
"torque_limit": 55.0,
"velocity_limit": 16.23156,
"keep_velocity": 6.28319
},
"left_knee_joint": {
"kp": 120.0,
"kd": 7.5,
"torque_limit": 140.0,
"velocity_limit": 13.61357,
"keep_velocity": 8.37758
},
"left_ankle_pitch_joint": {
"kp": 25.0,
"kd": 1.5,
"torque_limit": 64.0,
"velocity_limit": 15.70796,
"keep_velocity": 14.66077
},
"left_ankle_roll_joint": {
"kp": 25.0,
"kd": 1.5,
"torque_limit": 64.0,
"velocity_limit": 15.70796,
"keep_velocity": 14.66077
},
"right_hip_pitch_joint": {
"kp": 120.0,
"kd": 7.5,
"torque_limit": 140.0,
"velocity_limit": 13.61357,
"keep_velocity": 8.37758
},
"right_hip_roll_joint": {
"kp": 120.0,
"kd": 7.5,
"torque_limit": 140.0,
"velocity_limit": 13.61357,
"keep_velocity": 8.37758
},
"right_hip_yaw_joint": {
"kp": 35.0,
"kd": 2.5,
"torque_limit": 55.0,
"velocity_limit": 16.23156,
"keep_velocity": 6.28319
},
"right_knee_joint": {
"kp": 120.0,
"kd": 7.5,
"torque_limit": 140.0,
"velocity_limit": 13.61357,
"keep_velocity": 8.37758
},
"right_ankle_pitch_joint": {
"kp": 25.0,
"kd": 1.5,
"torque_limit": 64.0,
"velocity_limit": 15.70796,
"keep_velocity": 14.66077
},
"right_ankle_roll_joint": {
"kp": 25.0,
"kd": 1.5,
"torque_limit": 64.0,
"velocity_limit": 15.70796,
"keep_velocity": 14.66077
},
"waist_roll_joint": {
"kp": 120.0,
"kd": 7.5,
"torque_limit": 140.0,
"velocity_limit": 13.61357,
"keep_velocity": 8.37758
},
"waist_yaw_joint": {
"kp": 120.0,
"kd": 7.5,
"torque_limit": 140.0,
"velocity_limit": 13.61357,
"keep_velocity": 8.37758
},
"left_shoulder_pitch_joint": {
"kp": 35.0,
"kd": 2.5,
"torque_limit": 55.0,
"velocity_limit": 16.23156,
"keep_velocity": 6.28319
},
"left_shoulder_roll_joint": {
"kp": 12.5,
"kd": 0.75,
"torque_limit": 32.0,
"velocity_limit": 15.70796,
"keep_velocity": 14.66077
},
"left_shoulder_yaw_joint": {
"kp": 12.5,
"kd": 0.75,
"torque_limit": 32.0,
"velocity_limit": 15.70796,
"keep_velocity": 14.66077
},
"left_elbow_joint": {
"kp": 12.5,
"kd": 0.75,
"torque_limit": 32.0,
"velocity_limit": 15.70796,
"keep_velocity": 14.66077
},
"left_wrist_joint": {
"kp": 12.5,
"kd": 0.75,
"torque_limit": 32.0,
"velocity_limit": 15.70796,
"keep_velocity": 14.66077
},
"right_shoulder_pitch_joint": {
"kp": 35.0,
"kd": 2.5,
"torque_limit": 55.0,
"velocity_limit": 16.23156,
"keep_velocity": 6.28319
},
"right_shoulder_roll_joint": {
"kp": 12.5,
"kd": 0.75,
"torque_limit": 32.0,
"velocity_limit": 15.70796,
"keep_velocity": 14.66077
},
"right_shoulder_yaw_joint": {
"kp": 12.5,
"kd": 0.75,
"torque_limit": 32.0,
"velocity_limit": 15.70796,
"keep_velocity": 14.66077
},
"right_elbow_joint": {
"kp": 12.5,
"kd": 0.75,
"torque_limit": 32.0,
"velocity_limit": 15.70796,
"keep_velocity": 14.66077
},
"right_wrist_joint": {
"kp": 12.5,
"kd": 0.75,
"torque_limit": 32.0,
"velocity_limit": 15.70796,
"keep_velocity": 14.66077
}
}
},
"commands": {
"size": 3,
"limits": [
0.4,
-0.3,
0.6
]
},
"skills": [
{
"id": "walk",
"kind": "primary",
"owns": "policy",
"controller": {
"type": "onnx",
"policy": "policies/walk.onnx"
}
},
{
"id": "dance",
"kind": "episodic",
"owns": "policy",
"available": true,
"duration": 10.0,
"blend": 0.5,
"controller": {
"type": "onnx",
"policy": "policies/dance.onnx"
},
"defaults": {
"left_hip_pitch_joint": -0.1,
"left_hip_roll_joint": 0.0,
"left_hip_yaw_joint": 0.0,
"left_knee_joint": -0.3,
"left_ankle_pitch_joint": -0.2,
"left_ankle_roll_joint": 0.0,
"right_hip_pitch_joint": 0.1,
"right_hip_roll_joint": 0.0,
"right_hip_yaw_joint": 0.0,
"right_knee_joint": 0.3,
"right_ankle_pitch_joint": -0.2,
"right_ankle_roll_joint": 0.0,
"waist_roll_joint": 0.0,
"waist_yaw_joint": 0.0,
"left_shoulder_pitch_joint": 0.2,
"left_shoulder_roll_joint": 0.2,
"left_shoulder_yaw_joint": 0.0,
"left_elbow_joint": -1.2,
"left_wrist_joint": 0.0,
"right_shoulder_pitch_joint": -0.2,
"right_shoulder_roll_joint": -0.2,
"right_shoulder_yaw_joint": 0.0,
"right_elbow_joint": 1.2,
"right_wrist_joint": 0.0
},
"reference": "motions/dance.json",
"observations": {
"obs": {
"terms": [
{
"type": "motion_command",
"group": "policy"
},
{
"type": "gyro",
"sensor": "angular-velocity"
},
{
"type": "projected_gravity",
"body": "base_link"
},
{
"type": "joint_pos_rel",
"group": "policy"
},
{
"type": "joint_vel",
"group": "policy"
},
{
"type": "last_action",
"group": "policy"
}
]
}
},
"actions": [
{
"type": "joint_position",
"group": "policy",
"scale": 0.25,
"offset": "default"
}
]
},
{
"id": "wave",
"kind": "episodic",
"owns": "policy",
"available": true,
"duration": 4.36,
"blend": 0.5,
"controller": {
"type": "onnx",
"policy": "policies/wave.onnx"
},
"defaults": {
"left_hip_pitch_joint": -0.1,
"left_hip_roll_joint": 0.0,
"left_hip_yaw_joint": 0.0,
"left_knee_joint": -0.3,
"left_ankle_pitch_joint": -0.2,
"left_ankle_roll_joint": 0.0,
"right_hip_pitch_joint": 0.1,
"right_hip_roll_joint": 0.0,
"right_hip_yaw_joint": 0.0,
"right_knee_joint": 0.3,
"right_ankle_pitch_joint": -0.2,
"right_ankle_roll_joint": 0.0,
"waist_roll_joint": 0.0,
"waist_yaw_joint": 0.0,
"left_shoulder_pitch_joint": 0.2,
"left_shoulder_roll_joint": 0.2,
"left_shoulder_yaw_joint": 0.0,
"left_elbow_joint": -1.2,
"left_wrist_joint": 0.0,
"right_shoulder_pitch_joint": -0.2,
"right_shoulder_roll_joint": -0.2,
"right_shoulder_yaw_joint": 0.0,
"right_elbow_joint": 1.2,
"right_wrist_joint": 0.0
},
"reference": "motions/wave.json",
"observations": {
"obs": {
"terms": [
{
"type": "motion_command",
"group": "policy"
},
{
"type": "gyro",
"sensor": "angular-velocity"
},
{
"type": "projected_gravity",
"body": "base_link"
},
{
"type": "joint_pos_rel",
"group": "policy"
},
{
"type": "joint_vel",
"group": "policy"
},
{
"type": "last_action",
"group": "policy"
}
]
}
},
"actions": [
{
"type": "joint_position",
"group": "policy",
"scale": 0.25,
"offset": "default"
}
]
}
],
"input": {
"bindings": [
{
"action": "move_forward",
"codes": [
"ArrowUp",
"KeyW"
],
"label": "Forward"
},
{
"action": "move_backward",
"codes": [
"ArrowDown",
"KeyS"
],
"label": "Backward"
},
{
"action": "turn_left",
"codes": [
"ArrowLeft",
"KeyA"
],
"label": "Turn left"
},
{
"action": "turn_right",
"codes": [
"ArrowRight",
"KeyD"
],
"label": "Turn right"
},
{
"action": "reset",
"codes": [
"Space"
],
"label": "Reset"
},
{
"action": "pause",
"codes": [
"Escape"
],
"label": "Pause / continue"
},
{
"action": "chaseToggle",
"codes": [
"KeyC"
],
"label": "Restore chase camera"
},
{
"action": "skill:dance",
"codes": [
"KeyJ"
],
"label": "Dance",
"disabled": false
},
{
"action": "skill:wave",
"codes": [
"KeyH"
],
"label": "Wave",
"disabled": false
}
]
},
"render": {
"source": "mjcf_visual",
"groups": [
2
],
"camera": {
"distance": 2.4
},
"body_visuals": [
{
"body": "base_link",
"path": "visuals/base_link__visual_0__base_link.glb",
"quaternion": [
0.7071067811865476,
0,
0,
0.7071067811865476
]
},
{
"body": "left_hip_pitch_link",
"path": "visuals/left_hip_pitch_link__visual_0__left_hip_pitch_link.glb",
"quaternion": [
0.7071067811865476,
0,
0,
0.7071067811865476
]
},
{
"body": "left_hip_roll_link",
"path": "visuals/left_hip_roll_link__visual_0__left_hip_roll_link.glb",
"quaternion": [
0.7071067811865476,
0,
0,
0.7071067811865476
]
},
{
"body": "left_hip_yaw_link",
"path": "visuals/left_hip_yaw_link__visual_0__left_hip_yaw_link.glb",
"quaternion": [
0.7071067811865476,
0,
0,
0.7071067811865476
]
},
{
"body": "left_knee_link",
"path": "visuals/left_knee_link__visual_0__left_knee_link.glb",
"quaternion": [
0.7071067811865476,
0,
0,
0.7071067811865476
]
},
{
"body": "left_ankle_pitch_link",
"path": "visuals/left_ankle_pitch_link__visual_0__left_ankle_pitch_link.glb",
"quaternion": [
0.7071067811865476,
0,
0,
0.7071067811865476
]
},
{
"body": "left_ankle_roll_link",
"path": "visuals/left_ankle_roll_link__visual_0__left_ankle_roll_link.glb",
"quaternion": [
0.7071067811865476,
0,
0,
0.7071067811865476
]
},
{
"body": "right_hip_pitch_link",
"path": "visuals/right_hip_pitch_link__visual_0__right_hip_pitch_link.glb",
"quaternion": [
0.7071067811865476,
0,
0,
0.7071067811865476
]
},
{
"body": "right_hip_roll_link",
"path": "visuals/right_hip_roll_link__visual_0__right_hip_roll_link.glb",
"quaternion": [
0.7071067811865476,
0,
0,
0.7071067811865476
]
},
{
"body": "right_hip_yaw_link",
"path": "visuals/right_hip_yaw_link__visual_0__right_hip_yaw_link.glb",
"quaternion": [
0.7071067811865476,
0,
0,
0.7071067811865476
]
},
{
"body": "right_knee_link",
"path": "visuals/right_knee_link__visual_0__right_knee_link.glb",
"quaternion": [
0.7071067811865476,
0,
0,
0.7071067811865476
]
},
{
"body": "right_ankle_pitch_link",
"path": "visuals/right_ankle_pitch_link__visual_0__right_ankle_pitch_link.glb",
"quaternion": [
0.7071067811865476,
0,
0,
0.7071067811865476
]
},
{
"body": "right_ankle_roll_link",
"path": "visuals/right_ankle_roll_link__visual_0__right_ankle_roll_link.glb",
"quaternion": [
0.7071067811865476,
0,
0,
0.7071067811865476
]
},
{
"body": "waist_roll_link",
"path": "visuals/waist_roll_link__visual_0__waist_roll_link.glb",
"quaternion": [
0.7071067811865476,
0,
0,
0.7071067811865476
]
},
{
"body": "waist_yaw_link",
"path": "visuals/waist_yaw_link__visual_0__waist_yaw_link.glb",
"quaternion": [
0.7071067811865476,
0,
0,
0.7071067811865476
]
},
{
"body": "left_shoulder_pitch_link",
"path": "visuals/left_shoulder_pitch_link__visual_0__left_shoulder_pitch_link.glb",
"quaternion": [
0.7071067811865476,
0,
0,
0.7071067811865476
]
},
{
"body": "left_shoulder_roll_link",
"path": "visuals/left_shoulder_roll_link__visual_0__left_shoulder_roll_link.glb",
"quaternion": [
0.7071067811865476,
0,
0,
0.7071067811865476
]
},
{
"body": "left_shoulder_yaw_link",
"path": "visuals/left_shoulder_yaw_link__visual_0__left_shoulder_yaw_link.glb",
"quaternion": [
0.7071067811865476,
0,
0,
0.7071067811865476
]
},
{
"body": "left_elbow_link",
"path": "visuals/left_elbow_link__visual_0__left_elbow_link.glb",
"quaternion": [
0.7071067811865476,
0,
0,
0.7071067811865476
]
},
{
"body": "left_wrist_link",
"path": "visuals/left_wrist_link__fixed_hand.glb",
"quaternion": [
0.7071067811865476,
0,
0,
0.7071067811865476
]
},
{
"body": "right_shoulder_pitch_link",
"path": "visuals/right_shoulder_pitch_link__visual_0__right_shoulder_pitch_link.glb",
"quaternion": [
0.7071067811865476,
0,
0,
0.7071067811865476
]
},
{
"body": "right_shoulder_roll_link",
"path": "visuals/right_shoulder_roll_link__visual_0__right_shoulder_roll_link.glb",
"quaternion": [
0.7071067811865476,
0,
0,
0.7071067811865476
]
},
{
"body": "right_shoulder_yaw_link",
"path": "visuals/right_shoulder_yaw_link__visual_0__right_shoulder_yaw_link.glb",
"quaternion": [
0.7071067811865476,
0,
0,
0.7071067811865476
]
},
{
"body": "right_elbow_link",
"path": "visuals/right_elbow_link__visual_0__right_elbow_link.glb",
"quaternion": [
0.7071067811865476,
0,
0,
0.7071067811865476
]
},
{
"body": "right_wrist_link",
"path": "visuals/right_wrist_link__fixed_hand.glb",
"quaternion": [
0.7071067811865476,
0,
0,
0.7071067811865476
]
}
]
},
"presentation": {
"theme": "comic"
},
"termination": {
"tilt_z": -0.5,
"min_height": 0.4,
"on_fall": "hold"
},
"license": "Local evaluation; RP1 mesh license not supplied upstream. Local evaluation only; see SOURCE.md. Actuation omits randomized delay/domain randomization."
}
+194
View File
@@ -0,0 +1,194 @@
{
"source": "https://github.com/Roboparty/rp1_description",
"commit": "d8c6dd03aeecc7f7ead3d962e09fedba4c8460f0",
"checkpoint": "/home/cen/Embodied_Workspace/Mujoco_Projects/roboparty_train/logs/rsl_rl/rp1_24dof_flat/2026-10-28_15-47-49/model_9000.pt",
"checkpoint_sha256": "5ecf0891f65cff08b2f93fef4326bb097021fb2396598de2d80be38e9247c20e",
"iteration": 9000,
"training_params_sha256": {
"env.yaml": "1b899ff3a774fcba93a64d79298c7e2cc53151fc9ca80461e3c230302fb3fc82",
"agent.yaml": "05c11617af2dc7a8efdd0b7ba6deb768e8e59f43dab451b1b6305cacaf9c7ceb"
},
"source_model_sha256": "4cdb024f9c2a721fa0ef2a7e987ab69ebaf66218bfdd2c20aa91c2f2d5e3495e",
"export_max_abs_error": 1.5497207641601562e-06,
"files": [
{
"file": "model.xml",
"sha256": "8c663d2cf2382d9ed0c705210c33a11dac12d3fb83eed573e4796b10f9cd5473"
},
{
"file": "policies/walk.onnx",
"sha256": "74593afcf52e7cca56e521ad93900d62fc5f9ceefad6114d590bf77f05413be8"
},
{
"file": "LICENSES/RoboLab-BSD-3-Clause.txt",
"sha256": "e8dec07c6537300f8dcbf9801c68137c23a0b745b3d7f0278a6d30bc5ed50297"
},
{
"file": "meshes/base_link.STL",
"sha256": "8fa93e11010c1d0a35ae79f03638fadfc26335320dbfbbd6ff56b5c6cb3c0d2e"
},
{
"file": "meshes/left_hip_pitch_link.STL",
"sha256": "cd12a399efb65721f3c75b73619971eafb26958367c30222ef3110bd4090a19d"
},
{
"file": "meshes/left_hip_roll_link.STL",
"sha256": "4ccc27044b9c274cd81dae6775a59036c6449bb3d64fb6ed70294f17046edcb8"
},
{
"file": "meshes/left_hip_yaw_link.STL",
"sha256": "e6361ed133e72f2040c88529746d4c17a057d60b0e8d253318fc94bea514e129"
},
{
"file": "meshes/left_knee_link.STL",
"sha256": "878aa675f24ad2154265e72c4a3fbed65de041337dfe5c80c74f3333e6f6602a"
},
{
"file": "meshes/left_ankle_pitch_link.STL",
"sha256": "c4f5d66f6d6f0eaa0ef232b841d85907fca99ec81013b0682f35277ae16cc9e1"
},
{
"file": "meshes/left_ankle_roll_link.STL",
"sha256": "4ac951e3a1adef25aff5d5a9557bab03e293340bb5713cb2b43d3888947560c0"
},
{
"file": "meshes/right_hip_pitch_link.STL",
"sha256": "a427e4c982b181623b8f322f45be08ebfc2f73abdf5492afb8728e0fefa80d83"
},
{
"file": "meshes/right_hip_roll_link.STL",
"sha256": "52c5c2edb3e83aafdbc633ee10ff4c368993e6c889d6a560d75982da5cc9a799"
},
{
"file": "meshes/right_hip_yaw_link.STL",
"sha256": "7e792ca8795b4f44b7de1e2e8747a6c188c10fb8810b17f3269965dde27292bc"
},
{
"file": "meshes/right_knee_link.STL",
"sha256": "ffe17fc9ba1614ae86610dc1b657461a3d1d70350729296c9210f68f3934d01d"
},
{
"file": "meshes/right_ankle_pitch_link.STL",
"sha256": "f19f73d04f8b0252e4001de541657864c44c5e7da204b7487d24eff162644b6c"
},
{
"file": "meshes/right_ankle_roll_link.STL",
"sha256": "057843359003abc4e5ec0a9763833440c42b881f853c1ddbd3945bd1168ff947"
},
{
"file": "meshes/waist_roll_link.STL",
"sha256": "500f00489349bf018bbf325d9ed67dd272629b5f37e734a82b141329a9d656df"
},
{
"file": "meshes/waist_yaw_link.STL",
"sha256": "36de51037852da450e75b86ef000d145e9e1b37e30925edd3e2307d5c2f449d3"
},
{
"file": "meshes/left_shoulder_pitch_link.STL",
"sha256": "2c0eb4ed8ccd410dc2d7f6949829a59d05889ab27ea4944120e8689720e6c40b"
},
{
"file": "meshes/left_shoulder_roll_link.STL",
"sha256": "41f6738917180d3aa62798f279e99f4d64ed57950d6138f8e249c7ca629444a9"
},
{
"file": "meshes/left_shoulder_yaw_link.STL",
"sha256": "4cfe28c2a31c5b7602c8546cac8fa491a97f1b88cbe579d48034bf857702adbb"
},
{
"file": "meshes/left_elbow_link.STL",
"sha256": "45e761a34c5570ec7b200a6b15cf6e5d7dfe61fea1497e1954e17140c3c400b1"
},
{
"file": "meshes/left_wrist_link.STL",
"sha256": "1184e55a4a98a75f2d9143e65cd5b1b1f6f42f35c49b4565c94d22f542df7c73"
},
{
"file": "meshes/right_shoulder_pitch_link.STL",
"sha256": "21ac44a4e038f09a7f0472490ee06c3ecb5c87cac51fdb645ad4382875235be0"
},
{
"file": "meshes/right_shoulder_roll_link.STL",
"sha256": "4435df453ffe4325b6783d217081ec6360d52252ddb87b7f894434eb9e60c39b"
},
{
"file": "meshes/right_shoulder_yaw_link.STL",
"sha256": "a88c4bce9e69979ae082de8420a031ca6772a4e0d08ab9f10af4b9617f4ec723"
},
{
"file": "meshes/right_elbow_link.STL",
"sha256": "34c9eeeb41588fc9970940d4d82db73ee0c3881613d1a76f0c90421d3b7c8e81"
},
{
"file": "meshes/right_wrist_link.STL",
"sha256": "09064a38d9f2bddcc8c6b705811426bc88473c9587221012d08bdbddce94eda2"
},
{
"file": "policies/wave.onnx",
"sha256": "1b20142e8ebb41e6aa0424a79fe2fe9abbc015c598acc0444d473f975e7f4ae2"
},
{
"file": "motions/wave.json",
"sha256": "54cdcd71d21e8a7e339a3beaf12e4810b753b7eb21b27bf9cd4f66b348823b8e"
},
{
"file": "motions/wave.f32",
"sha256": "6e3187978c53410a4faf4e2adad72149c596b274cbab378520d9490d60fbc04a"
},
{
"file": "policies/dance.onnx",
"sha256": "ea2b58b4004e62a789bfa8c231c25238c5a7a1347405b804c4f74c7464de9246"
},
{
"file": "motions/dance.json",
"sha256": "96df97dcdc8e6ee7c4dd2f0e421eb134877dc3061df72137365d9ce8b91d7a14"
},
{
"file": "motions/dance.f32",
"sha256": "4af5c93c4881019f9d5bb03d58a17a6368eecc6c9fe49eef0a05cf814b164522"
}
],
"skills": {
"dance": {
"checkpoint": "/home/cen/Embodied_Workspace/Mujoco_Projects/roboparty_train/logs/rsl_rl/rp1_24dof_beyondmimic_dance/2026-10-29_11-05-14_dance_resume/model_23998.pt",
"checkpoint_sha256": "45f537be2678c4bd956de25719477523900e60d33fda49b6e8b7b2105f16cd84",
"iteration": 23998,
"configured_iterations": 16000,
"initial_iteration": 7999,
"expected_final_iteration": 23998,
"resumed_from": "/home/cen/Embodied_Workspace/Mujoco_Projects/roboparty_train/logs/rsl_rl/rp1_24dof_beyondmimic_dance/2026-10-28_17-40-59_dance/model_7999.pt",
"motion": "/home/cen/Embodied_Workspace/Mujoco_Projects/roboparty_train/robolab/data/motions/rp1_bm/dance1_subject2_smooth6hz.npz",
"motion_sha256": "3e56bdff732df480994167462fe7f0fb64a71c398dc09b72c57fb9e43254cf69",
"frames": 6573,
"fps": 50.0,
"actor_observation_group": "student",
"export_max_abs_error": 1.3113021850585938e-06,
"training_params_sha256": {
"env.yaml": "841e1d9266a1dbba371cb7a68b04a778395de04aa6fd2c6b6bbf96897795ce0e",
"agent.yaml": "6b92c5f47b25026ff972fe2a833b95b40bfbec187361611e90cd1d18fffcc8bc"
},
"deployed_duration": 10.0,
"validation": "browser-wasm-three-headings-and-transitions-passed",
"limitation": "Only the first 10s are qualified for this checkpoint; full 131.46s playback has not been validated."
},
"wave": {
"checkpoint": "/home/cen/Embodied_Workspace/Mujoco_Projects/roboparty_train/logs/rsl_rl/rp1_24dof_beyondmimic_wave/2026-10-28_19-00-23_wave/model_7999.pt",
"checkpoint_sha256": "14f33f4b20b7c64b371d4f15d2471d2c72e2fddf5d4a277efaa8f11b9abd8316",
"iteration": 7999,
"configured_iterations": 8000,
"motion": "/home/cen/Embodied_Workspace/Mujoco_Projects/roboparty_train/robolab/data/motions/rp1_bm/wave_R_001__A428.npz",
"motion_sha256": "6073c5db30e4dc5c66bb8dfe5b3debd5b7155cee4ad029f89ac03faf05756452",
"frames": 218,
"fps": 50.0,
"actor_observation_group": "student",
"export_max_abs_error": 1.9073486328125e-06,
"training_params_sha256": {
"env.yaml": "b33100d6fd34e79ac9b3e107d9a3eb6302c72c3f8d25e13fb09eaa5a389c4400",
"agent.yaml": "1f87d8f271a74ce3872221243021ea71ad7ca28a4c8d95b48bf092f21d0b2947"
},
"deployed_duration": 4.36,
"validation": "browser-wasm-three-headings-and-transitions-passed"
}
},
"training_completed": true
}
@@ -0,0 +1,557 @@
{
"source": "User-provided RP1\u673a\u5668\u4ebaglb.zip",
"archive_sha256": "8610aac8432203bf68d0efe234062c551ca805ebbe72a92d5fc7350730ebdea2",
"license": "Not supplied in the archive; local evaluation only. Confirm redistribution rights.",
"coordinate_conversion": "Source GLBs are Blender Y-up; attachments rotate +90 degrees about X into MuJoCo body Z-up.",
"assembly": "25 physical body attachments; 20 source parts per wrist (neutral extra wrist axes and fixed fingers). No physical joints added.",
"input_files": [
{
"file": "base_link__visual_0__base_link.glb",
"sha256": "3db82d0e5fa1fa48fa6f4fe4460bba14568a39b5933acff8b4b1879f582e06b0"
},
{
"file": "left_hip_pitch_link__visual_0__left_hip_pitch_link.glb",
"sha256": "d8cb2aff7273185a89eba99aab47ce6bf4716f25e70f34afa1529acb802c6193"
},
{
"file": "left_hip_roll_link__visual_0__left_hip_roll_link.glb",
"sha256": "35361b79fb69096039eb077018c25ae489f16cc5229dcd82256b3a573b168208"
},
{
"file": "left_hip_yaw_link__visual_0__left_hip_yaw_link.glb",
"sha256": "19fe908274f9fe49b5a8317652e4fe02a6ff93802de87ad7d0383fa1d142b03b"
},
{
"file": "left_knee_link__visual_0__left_knee_link.glb",
"sha256": "1c01f5c03837d24287d79eff48a9e4bd4203d8516d0375592b159d49fb83f6c9"
},
{
"file": "left_ankle_pitch_link__visual_0__left_ankle_pitch_link.glb",
"sha256": "4bab717bf7073e28754d1c42f4409141ea775987284ff8575f9c7aef25561e8c"
},
{
"file": "left_ankle_roll_link__visual_0__left_ankle_roll_link.glb",
"sha256": "76144b6ebf17b2eb5875168cbe6a3c4c12eaeebdd4bd277864887b3894f781b1"
},
{
"file": "right_hip_pitch_link__visual_0__right_hip_pitch_link.glb",
"sha256": "e299f46bff44d6bbf03592cd6caba3b418fc022260746554e6d2013f31793df4"
},
{
"file": "right_hip_roll_link__visual_0__right_hip_roll_link.glb",
"sha256": "7cb006f9ba7f950c98287b59695938cfd6460d8fa4546ae6c95bc65ed5c6c6b8"
},
{
"file": "right_hip_yaw_link__visual_0__right_hip_yaw_link.glb",
"sha256": "35393465aa8103ab436ecc3a635cdce7477600cf65eb03a2942af546cc39c79c"
},
{
"file": "right_knee_link__visual_0__right_knee_link.glb",
"sha256": "2a5f1f91f6db0cfac3a0e88038613be89cb94066d7f103876b455823edbfb8f3"
},
{
"file": "right_ankle_pitch_link__visual_0__right_ankle_pitch_link.glb",
"sha256": "c43112750efd953f29dfea5d8d2bb925eb847f74b679fa1d22f734b1e3094b91"
},
{
"file": "right_ankle_roll_link__visual_0__right_ankle_roll_link.glb",
"sha256": "3856c0074bbead9ade091b2bef4df165d9c1d4b03e0c0f1d8c284cddf091a9f6"
},
{
"file": "waist_roll_link__visual_0__waist_roll_link.glb",
"sha256": "a4cd49014951ed5c7836bde4a7138eab4119f0ca7249a69e26add388d5fedf32"
},
{
"file": "waist_yaw_link__visual_0__waist_yaw_link.glb",
"sha256": "cb50b0354f8a0a6d06ff486d46cb849462b84471c20a350b1e4c5a86577ce230"
},
{
"file": "left_shoulder_pitch_link__visual_0__left_shoulder_pitch_link.glb",
"sha256": "9eb76bc0675578e28707120d64cb042b948312ddc9233e4c28de02ee04a3dbf9"
},
{
"file": "left_shoulder_roll_link__visual_0__left_shoulder_roll_link.glb",
"sha256": "f72e3ac73f3804acd5e5384c2d10d48aacacb95bf9f98ea0f2426f1b92add0de"
},
{
"file": "left_shoulder_yaw_link__visual_0__left_shoulder_yaw_link.glb",
"sha256": "909f0dbd40db57b223143c1c89c740c3ea636e5d9b066eb6fe26dab37e2f4975"
},
{
"file": "left_elbow_link__visual_0__left_elbow_link.glb",
"sha256": "f98a4446175c7b1d98c5a664fabcb6698635c99ccfc8261dedbef9155e1a2043"
},
{
"file": "left_wrist_roll_link__visual_0__left_wrist_roll_link.glb",
"sha256": "fd4dff45bb8c6caa79ceff1286cf8d8d69de22f781fbbd12a91baf87636e0ad2"
},
{
"file": "left_wrist_yaw_link__visual_0__left_wrist_yaw_link.glb",
"sha256": "65835f9275362e18801a3247191323f0661f538a3c24836cc78fdd1ec5560a3e"
},
{
"file": "left_wrist_pitch_link__visual_0__left_wrist_pitch_link.glb",
"sha256": "e036068c1f36349c26a8daba9472fd40cfec5ae55424a55a95a4c75472c9dd48"
},
{
"file": "right_shoulder_pitch_link__visual_0__right_shoulder_pitch_link.glb",
"sha256": "21d9410ca84dcd3bfea3bd8c08a682d4ff640c79f68e5d9f93ea26bcf904c3ac"
},
{
"file": "right_shoulder_roll_link__visual_0__right_shoulder_roll_link.glb",
"sha256": "89b5da7da64e2d3207291c7847d347d30fe0b40014ea6d6c4fc9e4bf4e03682c"
},
{
"file": "right_shoulder_yaw_link__visual_0__right_shoulder_yaw_link.glb",
"sha256": "2f0c17876e2607e8ab4282fadefba6fee6c2a5446b416cce6d0b91f796da2893"
},
{
"file": "right_elbow_link__visual_0__right_elbow_link.glb",
"sha256": "ef1e9dc1afcf147e78902039f49ef0131f114a11afe873b5095a6c4f509b89b2"
},
{
"file": "right_wrist_roll_link__visual_0__right_wrist_roll_link.glb",
"sha256": "5efc62e433d732ec26a5b45d3be64f421fb9c26176f168bdde74a9737e48eae3"
},
{
"file": "right_wrist_yaw_link__visual_0__right_wrist_yaw_link.glb",
"sha256": "f6f7d91665a8645a0b5cbd2e311c78aaf39f9f2554ac232af0425bad7a38164b"
},
{
"file": "right_wrist_pitch_link__visual_0__right_wrist_pitch_link.glb",
"sha256": "48d0a47d41569a24a8ea4b83e7218084395f9ef96c4dcbcdca1a3acbc060ad64"
},
{
"file": "lh_base_link__visual_0__base_link.glb",
"sha256": "886152daa0f4982f20d346639c4fd29f779b0d8fbf8e8d4942684bbc0cbe9946"
},
{
"file": "lh_finger11_link__visual_0__finger11_link.glb",
"sha256": "c59c8b126390c3593f63c92c6b3ea0198174342f0da2a7e63f3f6d6c17c76b80"
},
{
"file": "lh_finger12_link__visual_0__finger12_link.glb",
"sha256": "dea1f32f1f098fb26e6163abeefb98d4d2e6dfb0c187446b5a3b3dc83c40b4a1"
},
{
"file": "lh_finger13_link__visual_0__finger13_link.glb",
"sha256": "688ab4e9a8191ae6bda909d099ade525be02a7de758144863dc44d731e4180fe"
},
{
"file": "lh_finger14_link__visual_0__finger14_link.glb",
"sha256": "3ebdfb11c136e4e990fc99d0af6ed9a46713c799332ecd311b402b562697592c"
},
{
"file": "lh_finger21_link__visual_0__finger21_link.glb",
"sha256": "7ac15bcfa68e38e33a49942f7a2772e63778d82b7181494a0eacfe1a73510721"
},
{
"file": "lh_finger22_link__visual_0__finger22_link.glb",
"sha256": "358757dbce84eb6cb81a6da3d2f54c467e395306819382c534624e2c67f4ae73"
},
{
"file": "lh_finger23_link__visual_0__finger23_link.glb",
"sha256": "0ff49e9c01a744186246671737bc2e45c3ec95980538851a0a142030100db16f"
},
{
"file": "lh_finger31_link__visual_0__finger31_link.glb",
"sha256": "4ed855cb9634a928da50b6aa645a00b244455c4541403a65dc451f78c941fc1d"
},
{
"file": "lh_finger32_link__visual_0__finger32_link.glb",
"sha256": "9d688372b46fd24ca06fb4767d2b7b462054949467b9f49b37532ade5827b076"
},
{
"file": "lh_finger33_link__visual_0__finger33_link.glb",
"sha256": "cb0695f569da22e06d69f9110f0779534bdf64e185d6f27b54ff89dde1f31275"
},
{
"file": "lh_finger41_link__visual_0__finger41_link.glb",
"sha256": "270a0e7aaae7cee7d0853e0300686d202aa6d92167645dbc6318ddc35ce3e61a"
},
{
"file": "lh_finger42_link__visual_0__finger42_link.glb",
"sha256": "40cf87025b184bcd92ecc00980c83449c1a62c5e7a849311c960c7b51f871e76"
},
{
"file": "lh_finger43_link__visual_0__finger43_link.glb",
"sha256": "ac791ee4a9b1877892539cb6d4e5f8145d6ad199cefb2e04ebba449c59d2416d"
},
{
"file": "lh_finger51_link__visual_0__finger51_link.glb",
"sha256": "e43276c24c230bd35459a5b4f442e0be7840c4db106ada75a51ab83ff4a17dcd"
},
{
"file": "lh_finger52_link__visual_0__finger52_link.glb",
"sha256": "3c156a7b898e695b3e34287ad12e6b5437bcd478823baffe2cd76702c6dd9626"
},
{
"file": "lh_finger53_link__visual_0__finger53_link.glb",
"sha256": "140fe9939ed6b58539a77ef0c4cf1608dc0cc16b5c8d043564dbab9b1842dd63"
},
{
"file": "rh_base_link__visual_0__base_link.glb",
"sha256": "ae7328599013944ceb0ac4e4bb0106c0e58526122624a7bb6e650b138b07840d"
},
{
"file": "rh_finger11_link__visual_0__finger11_link.glb",
"sha256": "289cdf7c384b181df0d64f47db579af622db3bcbdc42236e667dcb64c494377c"
},
{
"file": "rh_finger12_link__visual_0__finger12_link.glb",
"sha256": "505bc65a50290aefe7b1882b5ffad4e88bf7059ec9dee355014592a2f21fdd2d"
},
{
"file": "rh_finger13_link__visual_0__finger13_link.glb",
"sha256": "324cf4f7e6207912d5a709ddc85f53b76be930208c27bff8c46f8d8ec5a61922"
},
{
"file": "rh_finger14_link__visual_0__finger14_link.glb",
"sha256": "f41140c191686f6afd809f51aa3bd1341517337c160ef019980b7c278dce3296"
},
{
"file": "rh_finger21_link__visual_0__finger21_link.glb",
"sha256": "f6e9a6ce375be6107158d00df23ab416445eb6970abe25e0f80c840da4611684"
},
{
"file": "rh_finger22_link__visual_0__finger22_link.glb",
"sha256": "9e89e30d9c3d0115bcfc85b05a6b7761991443df5cd74a75b305b5025a855245"
},
{
"file": "rh_finger23_link__visual_0__finger23_link.glb",
"sha256": "2c7529aa60a4286e2630146371f6dd77228a5ffd1c8760aa0d34169aa1aeae2c"
},
{
"file": "rh_finger31_link__visual_0__finger31_link.glb",
"sha256": "253bef5027cbce1a055f4650134bafec3f58dbc8f0a7e417ddc338e3de3d514c"
},
{
"file": "rh_finger32_link__visual_0__finger32_link.glb",
"sha256": "5b3ff8e747900ebfb2fb36ff5ee1035e741e780dd3613169058643436575e4aa"
},
{
"file": "rh_finger33_link__visual_0__finger33_link.glb",
"sha256": "d440a8b8bcd8b3e3de414598af99ebfefd214d4eb58d7b4d77d1bd67a81f75cf"
},
{
"file": "rh_finger41_link__visual_0__finger41_link.glb",
"sha256": "0a2d053155922ebcfaccf6f893665beb72f7ee2b3a9a66694b695995f233c7cf"
},
{
"file": "rh_finger42_link__visual_0__finger42_link.glb",
"sha256": "aa517ec5881c1ca9840c21ae50461eacba59d76cd835fe735eba19030d49cbbc"
},
{
"file": "rh_finger43_link__visual_0__finger43_link.glb",
"sha256": "f1d4c2936c26267a20da3c1a4016e51316ac100e46e310ffb57af5debd111ef6"
},
{
"file": "rh_finger51_link__visual_0__finger51_link.glb",
"sha256": "3800f27cbbd3c7bc79ad72def333d841001614d6e9ba16ce3b9502385102771d"
},
{
"file": "rh_finger52_link__visual_0__finger52_link.glb",
"sha256": "24a3fd05bfe9273f150c93c2ccb79b723c02e70169c0cb2ed7432ced45be50c8"
},
{
"file": "rh_finger53_link__visual_0__finger53_link.glb",
"sha256": "98cd0bde6c4d27ad04bd3b567ec9e88a9ed849fe786f2bfdb775c33baacc3638"
}
],
"body_mapping": {
"base_link": {
"path": "visuals/base_link__visual_0__base_link.glb",
"parts": [
"base_link"
]
},
"left_hip_pitch_link": {
"path": "visuals/left_hip_pitch_link__visual_0__left_hip_pitch_link.glb",
"parts": [
"left_hip_pitch_link"
]
},
"left_hip_roll_link": {
"path": "visuals/left_hip_roll_link__visual_0__left_hip_roll_link.glb",
"parts": [
"left_hip_roll_link"
]
},
"left_hip_yaw_link": {
"path": "visuals/left_hip_yaw_link__visual_0__left_hip_yaw_link.glb",
"parts": [
"left_hip_yaw_link"
]
},
"left_knee_link": {
"path": "visuals/left_knee_link__visual_0__left_knee_link.glb",
"parts": [
"left_knee_link"
]
},
"left_ankle_pitch_link": {
"path": "visuals/left_ankle_pitch_link__visual_0__left_ankle_pitch_link.glb",
"parts": [
"left_ankle_pitch_link"
]
},
"left_ankle_roll_link": {
"path": "visuals/left_ankle_roll_link__visual_0__left_ankle_roll_link.glb",
"parts": [
"left_ankle_roll_link"
]
},
"right_hip_pitch_link": {
"path": "visuals/right_hip_pitch_link__visual_0__right_hip_pitch_link.glb",
"parts": [
"right_hip_pitch_link"
]
},
"right_hip_roll_link": {
"path": "visuals/right_hip_roll_link__visual_0__right_hip_roll_link.glb",
"parts": [
"right_hip_roll_link"
]
},
"right_hip_yaw_link": {
"path": "visuals/right_hip_yaw_link__visual_0__right_hip_yaw_link.glb",
"parts": [
"right_hip_yaw_link"
]
},
"right_knee_link": {
"path": "visuals/right_knee_link__visual_0__right_knee_link.glb",
"parts": [
"right_knee_link"
]
},
"right_ankle_pitch_link": {
"path": "visuals/right_ankle_pitch_link__visual_0__right_ankle_pitch_link.glb",
"parts": [
"right_ankle_pitch_link"
]
},
"right_ankle_roll_link": {
"path": "visuals/right_ankle_roll_link__visual_0__right_ankle_roll_link.glb",
"parts": [
"right_ankle_roll_link"
]
},
"waist_roll_link": {
"path": "visuals/waist_roll_link__visual_0__waist_roll_link.glb",
"parts": [
"waist_roll_link"
]
},
"waist_yaw_link": {
"path": "visuals/waist_yaw_link__visual_0__waist_yaw_link.glb",
"parts": [
"waist_yaw_link"
]
},
"left_shoulder_pitch_link": {
"path": "visuals/left_shoulder_pitch_link__visual_0__left_shoulder_pitch_link.glb",
"parts": [
"left_shoulder_pitch_link"
]
},
"left_shoulder_roll_link": {
"path": "visuals/left_shoulder_roll_link__visual_0__left_shoulder_roll_link.glb",
"parts": [
"left_shoulder_roll_link"
]
},
"left_shoulder_yaw_link": {
"path": "visuals/left_shoulder_yaw_link__visual_0__left_shoulder_yaw_link.glb",
"parts": [
"left_shoulder_yaw_link"
]
},
"left_elbow_link": {
"path": "visuals/left_elbow_link__visual_0__left_elbow_link.glb",
"parts": [
"left_elbow_link"
]
},
"left_wrist_link": {
"path": "visuals/left_wrist_link__fixed_hand.glb",
"parts": [
"left_wrist_roll_link",
"left_wrist_yaw_link",
"left_wrist_pitch_link",
"lh_base_link",
"lh_finger11_link",
"lh_finger12_link",
"lh_finger13_link",
"lh_finger14_link",
"lh_finger21_link",
"lh_finger22_link",
"lh_finger23_link",
"lh_finger31_link",
"lh_finger32_link",
"lh_finger33_link",
"lh_finger41_link",
"lh_finger42_link",
"lh_finger43_link",
"lh_finger51_link",
"lh_finger52_link",
"lh_finger53_link"
]
},
"right_shoulder_pitch_link": {
"path": "visuals/right_shoulder_pitch_link__visual_0__right_shoulder_pitch_link.glb",
"parts": [
"right_shoulder_pitch_link"
]
},
"right_shoulder_roll_link": {
"path": "visuals/right_shoulder_roll_link__visual_0__right_shoulder_roll_link.glb",
"parts": [
"right_shoulder_roll_link"
]
},
"right_shoulder_yaw_link": {
"path": "visuals/right_shoulder_yaw_link__visual_0__right_shoulder_yaw_link.glb",
"parts": [
"right_shoulder_yaw_link"
]
},
"right_elbow_link": {
"path": "visuals/right_elbow_link__visual_0__right_elbow_link.glb",
"parts": [
"right_elbow_link"
]
},
"right_wrist_link": {
"path": "visuals/right_wrist_link__fixed_hand.glb",
"parts": [
"right_wrist_roll_link",
"right_wrist_yaw_link",
"right_wrist_pitch_link",
"rh_base_link",
"rh_finger11_link",
"rh_finger12_link",
"rh_finger13_link",
"rh_finger14_link",
"rh_finger21_link",
"rh_finger22_link",
"rh_finger23_link",
"rh_finger31_link",
"rh_finger32_link",
"rh_finger33_link",
"rh_finger41_link",
"rh_finger42_link",
"rh_finger43_link",
"rh_finger51_link",
"rh_finger52_link",
"rh_finger53_link"
]
}
},
"files": [
{
"file": "visuals/rp1_hand_fixed.urdf",
"sha256": "2c1f91a82f39298fdda7ec9531d045caff745ba12157f0bb0fcb2f4cf1102948"
},
{
"file": "visuals/base_link__visual_0__base_link.glb",
"sha256": "3db82d0e5fa1fa48fa6f4fe4460bba14568a39b5933acff8b4b1879f582e06b0"
},
{
"file": "visuals/left_hip_pitch_link__visual_0__left_hip_pitch_link.glb",
"sha256": "d8cb2aff7273185a89eba99aab47ce6bf4716f25e70f34afa1529acb802c6193"
},
{
"file": "visuals/left_hip_roll_link__visual_0__left_hip_roll_link.glb",
"sha256": "35361b79fb69096039eb077018c25ae489f16cc5229dcd82256b3a573b168208"
},
{
"file": "visuals/left_hip_yaw_link__visual_0__left_hip_yaw_link.glb",
"sha256": "19fe908274f9fe49b5a8317652e4fe02a6ff93802de87ad7d0383fa1d142b03b"
},
{
"file": "visuals/left_knee_link__visual_0__left_knee_link.glb",
"sha256": "1c01f5c03837d24287d79eff48a9e4bd4203d8516d0375592b159d49fb83f6c9"
},
{
"file": "visuals/left_ankle_pitch_link__visual_0__left_ankle_pitch_link.glb",
"sha256": "4bab717bf7073e28754d1c42f4409141ea775987284ff8575f9c7aef25561e8c"
},
{
"file": "visuals/left_ankle_roll_link__visual_0__left_ankle_roll_link.glb",
"sha256": "76144b6ebf17b2eb5875168cbe6a3c4c12eaeebdd4bd277864887b3894f781b1"
},
{
"file": "visuals/right_hip_pitch_link__visual_0__right_hip_pitch_link.glb",
"sha256": "e299f46bff44d6bbf03592cd6caba3b418fc022260746554e6d2013f31793df4"
},
{
"file": "visuals/right_hip_roll_link__visual_0__right_hip_roll_link.glb",
"sha256": "7cb006f9ba7f950c98287b59695938cfd6460d8fa4546ae6c95bc65ed5c6c6b8"
},
{
"file": "visuals/right_hip_yaw_link__visual_0__right_hip_yaw_link.glb",
"sha256": "35393465aa8103ab436ecc3a635cdce7477600cf65eb03a2942af546cc39c79c"
},
{
"file": "visuals/right_knee_link__visual_0__right_knee_link.glb",
"sha256": "2a5f1f91f6db0cfac3a0e88038613be89cb94066d7f103876b455823edbfb8f3"
},
{
"file": "visuals/right_ankle_pitch_link__visual_0__right_ankle_pitch_link.glb",
"sha256": "c43112750efd953f29dfea5d8d2bb925eb847f74b679fa1d22f734b1e3094b91"
},
{
"file": "visuals/right_ankle_roll_link__visual_0__right_ankle_roll_link.glb",
"sha256": "3856c0074bbead9ade091b2bef4df165d9c1d4b03e0c0f1d8c284cddf091a9f6"
},
{
"file": "visuals/waist_roll_link__visual_0__waist_roll_link.glb",
"sha256": "a4cd49014951ed5c7836bde4a7138eab4119f0ca7249a69e26add388d5fedf32"
},
{
"file": "visuals/waist_yaw_link__visual_0__waist_yaw_link.glb",
"sha256": "cb50b0354f8a0a6d06ff486d46cb849462b84471c20a350b1e4c5a86577ce230"
},
{
"file": "visuals/left_shoulder_pitch_link__visual_0__left_shoulder_pitch_link.glb",
"sha256": "9eb76bc0675578e28707120d64cb042b948312ddc9233e4c28de02ee04a3dbf9"
},
{
"file": "visuals/left_shoulder_roll_link__visual_0__left_shoulder_roll_link.glb",
"sha256": "f72e3ac73f3804acd5e5384c2d10d48aacacb95bf9f98ea0f2426f1b92add0de"
},
{
"file": "visuals/left_shoulder_yaw_link__visual_0__left_shoulder_yaw_link.glb",
"sha256": "909f0dbd40db57b223143c1c89c740c3ea636e5d9b066eb6fe26dab37e2f4975"
},
{
"file": "visuals/left_elbow_link__visual_0__left_elbow_link.glb",
"sha256": "f98a4446175c7b1d98c5a664fabcb6698635c99ccfc8261dedbef9155e1a2043"
},
{
"file": "visuals/left_wrist_link__fixed_hand.glb",
"sha256": "7b7bee1c2aa6ba74bc2824bf3ec5c465c33a97e1e0409ccdc551fae74a6218e5"
},
{
"file": "visuals/right_shoulder_pitch_link__visual_0__right_shoulder_pitch_link.glb",
"sha256": "21d9410ca84dcd3bfea3bd8c08a682d4ff640c79f68e5d9f93ea26bcf904c3ac"
},
{
"file": "visuals/right_shoulder_roll_link__visual_0__right_shoulder_roll_link.glb",
"sha256": "89b5da7da64e2d3207291c7847d347d30fe0b40014ea6d6c4fc9e4bf4e03682c"
},
{
"file": "visuals/right_shoulder_yaw_link__visual_0__right_shoulder_yaw_link.glb",
"sha256": "2f0c17876e2607e8ab4282fadefba6fee6c2a5446b416cce6d0b91f796da2893"
},
{
"file": "visuals/right_elbow_link__visual_0__right_elbow_link.glb",
"sha256": "ef1e9dc1afcf147e78902039f49ef0131f114a11afe873b5095a6c4f509b89b2"
},
{
"file": "visuals/right_wrist_link__fixed_hand.glb",
"sha256": "57a47c99b86d4efea1cd891147a0aafc86395daa31332a88b6653e44be1449c1"
}
]
}

Some files were not shown because too many files have changed in this diff Show More