Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2b0c395508 | |||
| a8be5e0134 |
@@ -11,22 +11,45 @@ license: apache-2.0
|
|||||||
|
|
||||||
# Browser robot simulation platform
|
# Browser robot simulation platform
|
||||||
|
|
||||||
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.
|
MuJoCo WASM + onnxruntime-web + three.js, with **Microduck** (legs / rollers), **Microban**, **RP1**, **Booster T1**, and **Apptronik Apollo** 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.
|
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.6
|
||||||
|
|
||||||
|
- Added Booster T1 and Apptronik Apollo packages with browser-native ONNX locomotion and WASD control.
|
||||||
|
- Apollo uses the explicitly selected upright-v3 `model_9999.pt`, including its calibrated stand pose, spawn height and fall threshold.
|
||||||
|
- Added body-frame linear-velocity observations and explicit World floor collision settings for imported models.
|
||||||
|
- Reproducible import scripts, source hashes and browser regression tests accompany both new robots.
|
||||||
|
- Verified: 68 unit tests, 19 targeted browser regression tests (all five robot families), package/hash validation, formatting and production build. See [v0.6 verification](docs/robots/v0.6-verification.md).
|
||||||
|
|
||||||
|
## 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
|
## Robots
|
||||||
|
|
||||||
| Robot | Default scene / presentation | Controls |
|
| 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 |
|
| 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 | Robot-scaled 5.5 × 5.5 m arena, dark/orange grid and comic UI, textured per-body GLB visuals | Walking policy + independent head rotation |
|
| Microban | Shared robot-scaled 5.5 × 5.5 m arena, interactive geometries, textured per-body GLB visuals | Walking policy + independent head rotation |
|
||||||
| RP1 | Robot-scaled 22 × 22 m arena/comic UI, original 24-DOF MJCF visuals | Completed walking policy; trained 10 s dance segment (J) and full 4.36 s wave (H) |
|
| 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.
|
**Booster T1** is also available in the Robot selector: W/S walks forward/backward, A/D turns, Space resets, Escape pauses, and C restores the chase camera. It uses the latest checkpoint at import (`model_6700.pt`, run `2026-11-02_15-03-39_t1_flat`) via ONNX, with original 23-DOF physics and STL visuals. See [T1 provenance, re-import and verification](app/public/robots/t1/SOURCE.md).
|
||||||
|
|
||||||
|
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 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).
|
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
|
## Keyboard and mouse
|
||||||
|
|
||||||
| Action | Binding |
|
| Action | Binding |
|
||||||
@@ -47,7 +70,7 @@ Microduck policies / assets originate from [pollen-robotics/microduck](https://g
|
|||||||
|
|
||||||
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.
|
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 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). Microduck mouse dragging still applies physical forces to the robot / ball. Microban / RP1 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 robots. Gamepad / touch are not part of this release's acceptance scope.
|
||||||
|
|
||||||
## Microban fidelity and limits
|
## Microban fidelity and limits
|
||||||
|
|
||||||
@@ -62,6 +85,10 @@ 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.
|
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.
|
||||||
|
|
||||||
|
## Apptronik Apollo
|
||||||
|
|
||||||
|
Select **Apptronik Apollo** in the Robot menu. **W/S** walks forward/backward, **A/D** turns, **Space** resets, **Escape** pauses, and **C** restores the chase camera. Releasing movement keys stops the command. The package uses the explicitly selected checkpoint `apollo_flat_upright_v3/2026-11-02_17-39-21_apollo_upright_v3/model_9999.pt` (32 actions, 108 observations), its calibrated upright stand pose, original STL visuals and native position actuators. No scripted motion is substituted. See [Apollo source, re-import and verification](app/public/robots/apollo/SOURCE.md).
|
||||||
|
|
||||||
## RP1 trained skills
|
## 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.
|
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.
|
||||||
|
|||||||
@@ -0,0 +1,117 @@
|
|||||||
|
import { test, expect } from "@playwright/test";
|
||||||
|
|
||||||
|
test("Apollo: native MuJoCo/ONNX, WASD, stable locomotion and reset", async ({
|
||||||
|
page,
|
||||||
|
}, info) => {
|
||||||
|
const errors = [];
|
||||||
|
page.on("pageerror", (e) => errors.push(e.message));
|
||||||
|
await page.goto("/");
|
||||||
|
await expect(
|
||||||
|
page.getByRole("button", { name: "Pause", exact: true }),
|
||||||
|
).toBeEnabled();
|
||||||
|
await page.getByLabel("Robot", { exact: true }).selectOption("apollo");
|
||||||
|
await page.waitForFunction(
|
||||||
|
() =>
|
||||||
|
window.__store.getState().robotId === "apollo" ||
|
||||||
|
window.__store.getState().runtimeError,
|
||||||
|
);
|
||||||
|
expect(
|
||||||
|
await page.evaluate(() => window.__store.getState().runtimeError),
|
||||||
|
).toBeNull();
|
||||||
|
await page.evaluate(() => window.rl.pause());
|
||||||
|
expect(await page.evaluate(() => window.rl.buildObs().length)).toBe(108);
|
||||||
|
expect(await page.evaluate(() => window.rl.lastAction.length)).toBe(32);
|
||||||
|
// Apollo defaults disable visual-geom collisions: the World floor must
|
||||||
|
// explicitly override those defaults rather than inherit a ghost floor.
|
||||||
|
const floor = await page.evaluate(() => {
|
||||||
|
const m = window.rl.model,
|
||||||
|
id = m.geom("platform_floor").id;
|
||||||
|
return [m.geom_contype[id], m.geom_conaffinity[id], m.geom_group[id]];
|
||||||
|
});
|
||||||
|
expect(floor).toEqual([1, 1, 0]);
|
||||||
|
await page
|
||||||
|
.locator("canvas")
|
||||||
|
.first()
|
||||||
|
.click({ position: { x: 700, y: 600 } });
|
||||||
|
for (const [key, expected] of [
|
||||||
|
["KeyW", [0.5, 0, 0]],
|
||||||
|
["KeyS", [-0.3, 0, 0]],
|
||||||
|
["KeyA", [0, 0, 0.4]],
|
||||||
|
["KeyD", [0, 0, -0.4]],
|
||||||
|
]) {
|
||||||
|
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 trials = await page.evaluate(async () => {
|
||||||
|
const r = window.rl,
|
||||||
|
reports = [];
|
||||||
|
r.setPropsParked(true);
|
||||||
|
for (const [name, command] of [
|
||||||
|
["stand", [0, 0, 0]],
|
||||||
|
["forward", [0.5, 0, 0]],
|
||||||
|
["backward", [-0.3, 0, 0]],
|
||||||
|
["left", [0, 0, 0.4]],
|
||||||
|
["right", [0, 0, -0.4]],
|
||||||
|
]) {
|
||||||
|
await r.resetSim();
|
||||||
|
r.command.set(command);
|
||||||
|
for (let i = 0; i < 250; i++) {
|
||||||
|
await r.step(1);
|
||||||
|
if (
|
||||||
|
![...r.data.qpos, ...r.data.qvel, ...r.lastAction].every(
|
||||||
|
Number.isFinite,
|
||||||
|
)
|
||||||
|
)
|
||||||
|
throw new Error("Non-finite Apollo state");
|
||||||
|
if (r.fallen) break;
|
||||||
|
}
|
||||||
|
const [w, x, y, z] = r.data.qpos.slice(3, 7);
|
||||||
|
reports.push({
|
||||||
|
name,
|
||||||
|
position: Array.from(r.data.qpos.slice(0, 3)),
|
||||||
|
yaw: Math.atan2(2 * (w * z + x * y), 1 - 2 * (y * y + z * z)),
|
||||||
|
fallen: r.fallen,
|
||||||
|
time: r.data.time,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
return reports;
|
||||||
|
});
|
||||||
|
console.log("Apollo trials", JSON.stringify(trials));
|
||||||
|
await info.attach("apollo-trials.json", {
|
||||||
|
body: JSON.stringify(trials, null, 2),
|
||||||
|
contentType: "application/json",
|
||||||
|
});
|
||||||
|
for (const trial of trials) {
|
||||||
|
expect(trial.fallen, trial.name).toBe(false);
|
||||||
|
expect(trial.position[2], `${trial.name}: upright height`).toBeGreaterThan(
|
||||||
|
1.04,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
expect(trials[1].position[0]).toBeGreaterThan(1);
|
||||||
|
expect(trials[2].position[0]).toBeLessThan(-0.5);
|
||||||
|
expect(trials[3].yaw).toBeGreaterThan(0.8);
|
||||||
|
expect(trials[4].yaw).toBeLessThan(-0.8);
|
||||||
|
await page.keyboard.press("Space");
|
||||||
|
await expect.poll(() => page.evaluate(() => window.rl.data.time)).toBe(0);
|
||||||
|
await page.screenshot({ path: info.outputPath("apollo.png") });
|
||||||
|
for (const id of ["microban", "rp1", "t1", "apollo"]) {
|
||||||
|
await page.getByLabel("Robot", { exact: true }).selectOption(id);
|
||||||
|
await expect
|
||||||
|
.poll(() => page.evaluate(() => window.__store.getState().robotId))
|
||||||
|
.toBe(id);
|
||||||
|
expect(
|
||||||
|
await page.evaluate(() => window.__store.getState().runtimeError),
|
||||||
|
).toBeNull();
|
||||||
|
}
|
||||||
|
expect(errors).toEqual([]);
|
||||||
|
});
|
||||||
@@ -59,7 +59,7 @@ test("arena appearance matches Microduck while Microban physics stays flat and W
|
|||||||
expect(state).toEqual({
|
expect(state).toEqual({
|
||||||
cell: 0.1 * (0.33 / 0.27),
|
cell: 0.1 * (0.33 / 0.27),
|
||||||
section: 0.6 * (0.33 / 0.27),
|
section: 0.6 * (0.33 / 0.27),
|
||||||
color: 0xffb366,
|
color: 0xf7e6cb,
|
||||||
reveal: 1,
|
reveal: 1,
|
||||||
topo: 0,
|
topo: 0,
|
||||||
hiddenFloor: true,
|
hiddenFloor: true,
|
||||||
|
|||||||
@@ -60,13 +60,15 @@ test("both robots default to the same rear camera and comic UI; Microban keeps f
|
|||||||
await expect(
|
await expect(
|
||||||
page.getByRole("navigation", { name: "Simulation controls" }),
|
page.getByRole("navigation", { name: "Simulation controls" }),
|
||||||
).toHaveCSS("border-top-width", "2px");
|
).toHaveCSS("border-top-width", "2px");
|
||||||
await expect(page.getByRole("group", { name: "Duck colours" })).toHaveCount(
|
await expect(
|
||||||
0,
|
page.getByRole("group", { name: "Scene line colours" }),
|
||||||
);
|
).toBeVisible();
|
||||||
await expect(
|
await expect(
|
||||||
page.getByRole("button", { name: "Rollers", exact: true }),
|
page.getByRole("button", { name: "Rollers", exact: true }),
|
||||||
).toHaveCount(0);
|
).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");
|
await expect(page.getByRole("status")).toContainText("Simplified actuation");
|
||||||
expect(
|
expect(
|
||||||
await page.evaluate(() => window.rl.model.geom("platform_floor").id),
|
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.screenshot({ path: info.outputPath("microban-chase.png") });
|
||||||
await page.evaluate(() => window.__gameApi.switchRobot("microduck-legs"));
|
await page.evaluate(() => window.__gameApi.switchRobot("microduck-legs"));
|
||||||
await rear(page);
|
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([]);
|
expect(errors).toEqual([]);
|
||||||
});
|
});
|
||||||
for (const id of ["microban", "microduck-legs"])
|
for (const id of ["microban", "microduck-legs"])
|
||||||
|
|||||||
@@ -20,7 +20,24 @@ test("deployed assets respect the base path and all three Robot Packages boot",
|
|||||||
await expect(
|
await expect(
|
||||||
page.getByRole("button", { name: "Pause", exact: true }),
|
page.getByRole("button", { name: "Pause", exact: true }),
|
||||||
).toBeEnabled();
|
).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.screenshot({ path: info.outputPath("microduck.png") });
|
||||||
await page.getByLabel("Robot", { exact: true }).selectOption("microban");
|
await page.getByLabel("Robot", { exact: true }).selectOption("microban");
|
||||||
await expect
|
await expect
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ for (const scenario of [
|
|||||||
world.boundary.half_extent = 1.5;
|
world.boundary.half_extent = 1.5;
|
||||||
await route.fulfill({ response, json: world });
|
await route.fulfill({ response, json: world });
|
||||||
});
|
});
|
||||||
const errors = await bootDuck(page);
|
const errors = await bootDuck(page, { legacyPhysics: true });
|
||||||
await page.evaluate(async (scenario) => {
|
await page.evaluate(async (scenario) => {
|
||||||
const r = window.rl;
|
const r = window.rl;
|
||||||
if (scenario === "rollers" || scenario === "crouch") {
|
if (scenario === "rollers" || scenario === "crouch") {
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ test("Microduck → Microban → Microduck restores theme, colours and locomotio
|
|||||||
const errors = [];
|
const errors = [];
|
||||||
page.on("pageerror", (e) => errors.push(e.message));
|
page.on("pageerror", (e) => errors.push(e.message));
|
||||||
await ready(page);
|
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.getByRole("button", { name: "Rollers", exact: true }).click();
|
||||||
await page.waitForFunction(() => window.rl?.loco === "rollers");
|
await page.waitForFunction(() => window.rl?.loco === "rollers");
|
||||||
await page.getByLabel("Robot", { exact: true }).selectOption("microban");
|
await page.getByLabel("Robot", { exact: true }).selectOption("microban");
|
||||||
@@ -26,9 +26,9 @@ test("Microduck → Microban → Microduck restores theme, colours and locomotio
|
|||||||
await expect(
|
await expect(
|
||||||
page.getByText("Toggle head rotation", { exact: false }),
|
page.getByText("Toggle head rotation", { exact: false }),
|
||||||
).toBeVisible();
|
).toBeVisible();
|
||||||
await expect(page.getByRole("group", { name: "Duck colours" })).toHaveCount(
|
await expect(
|
||||||
0,
|
page.getByRole("group", { name: "Scene line colours" }),
|
||||||
);
|
).toBeVisible();
|
||||||
expect(await page.evaluate(() => window.rl.buildObs().length)).toBe(63);
|
expect(await page.evaluate(() => window.rl.buildObs().length)).toBe(63);
|
||||||
await page.getByLabel("Robot", { exact: true }).selectOption("microduck");
|
await page.getByLabel("Robot", { exact: true }).selectOption("microduck");
|
||||||
await page.waitForFunction(
|
await page.waitForFunction(
|
||||||
@@ -37,7 +37,7 @@ test("Microduck → Microban → Microduck restores theme, colours and locomotio
|
|||||||
window.rl?.loco === "rollers",
|
window.rl?.loco === "rollers",
|
||||||
);
|
);
|
||||||
await expect(
|
await expect(
|
||||||
page.getByRole("button", { name: "Lavender colours" }),
|
page.getByRole("button", { name: "Lavender scene lines" }),
|
||||||
).toHaveAttribute("aria-pressed", "true");
|
).toHaveAttribute("aria-pressed", "true");
|
||||||
expect(await page.evaluate(() => window.rl.data.time)).toBeLessThan(3);
|
expect(await page.evaluate(() => window.rl.data.time)).toBeLessThan(3);
|
||||||
expect(errors).toEqual([]);
|
expect(errors).toEqual([]);
|
||||||
|
|||||||
@@ -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);
|
||||||
|
});
|
||||||
+1
-1
@@ -23,7 +23,7 @@ test("third robot: real WASM/ONNX, keyboard command contract, trained skill bind
|
|||||||
await boot(page);
|
await boot(page);
|
||||||
expect(
|
expect(
|
||||||
await page.getByLabel("Robot", { exact: true }).locator("option").count(),
|
await page.getByLabel("Robot", { exact: true }).locator("option").count(),
|
||||||
).toBe(3);
|
).toBe(5);
|
||||||
expect(await page.evaluate(() => window.rl.buildObs().length)).toBe(243);
|
expect(await page.evaluate(() => window.rl.buildObs().length)).toBe(243);
|
||||||
expect(await page.evaluate(() => window.rl.lastAction.length)).toBe(24);
|
expect(await page.evaluate(() => window.rl.lastAction.length)).toBe(24);
|
||||||
await page
|
await page
|
||||||
|
|||||||
@@ -3,7 +3,9 @@ import { test, expect } from "@playwright/test";
|
|||||||
test("20 robot transitions release old WASM objects and plateau scene/GPU/listeners", async ({
|
test("20 robot transitions release old WASM objects and plateau scene/GPU/listeners", async ({
|
||||||
page,
|
page,
|
||||||
}, info) => {
|
}, 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(() => {
|
await page.addInitScript(() => {
|
||||||
const add = EventTarget.prototype.addEventListener,
|
const add = EventTarget.prototype.addEventListener,
|
||||||
remove = EventTarget.prototype.removeEventListener,
|
remove = EventTarget.prototype.removeEventListener,
|
||||||
@@ -57,6 +59,9 @@ test("20 robot transitions release old WASM objects and plateau scene/GPU/listen
|
|||||||
dataDeleted: data.isDeleted(),
|
dataDeleted: data.isDeleted(),
|
||||||
...window.__gameApi.diagnostics(),
|
...window.__gameApi.diagnostics(),
|
||||||
listeners: window.listenerCount(),
|
listeners: window.listenerCount(),
|
||||||
|
toyGeometries:
|
||||||
|
window.rl.scene.getObjectByName("interactive-props")?.children
|
||||||
|
.length ?? 0,
|
||||||
};
|
};
|
||||||
}, id);
|
}, id);
|
||||||
expect(sample.success).toBe(true);
|
expect(sample.success).toBe(true);
|
||||||
@@ -70,8 +75,12 @@ test("20 robot transitions release old WASM objects and plateau scene/GPU/listen
|
|||||||
for (const samples of [duck, ban, rp1]) {
|
for (const samples of [duck, ban, rp1]) {
|
||||||
expect(samples.at(-1).listeners).toBe(samples[0].listeners);
|
expect(samples.at(-1).listeners).toBe(samples[0].listeners);
|
||||||
expect(samples.at(-1).sceneChildren).toBe(samples[0].sceneChildren);
|
expect(samples.at(-1).sceneChildren).toBe(samples[0].sceneChildren);
|
||||||
expect(samples.at(-1).memory.geometries).toBeLessThanOrEqual(
|
// Each runtime owns 5–7 independent toy geometries. Compare the fixed
|
||||||
samples[1].memory.geometries + 1,
|
// 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(
|
expect(samples.at(-1).memory.textures).toBeLessThanOrEqual(
|
||||||
samples[1].memory.textures + 1,
|
samples[1].memory.textures + 1,
|
||||||
|
|||||||
@@ -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([]);
|
||||||
|
});
|
||||||
@@ -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([]);
|
||||||
|
});
|
||||||
@@ -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([]);
|
||||||
|
});
|
||||||
|
}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
import { expect } from "@playwright/test";
|
import { expect } from "@playwright/test";
|
||||||
export async function bootDuck(page) {
|
export async function bootDuck(page, { legacyPhysics = false } = {}) {
|
||||||
const errors = [];
|
const errors = [];
|
||||||
page.on("pageerror", (e) => errors.push(e.message));
|
page.on("pageerror", (e) => errors.push(e.message));
|
||||||
await page.addInitScript(() => {
|
await page.addInitScript(() => {
|
||||||
@@ -7,7 +7,7 @@ export async function bootDuck(page) {
|
|||||||
Math.random = () =>
|
Math.random = () =>
|
||||||
(seed = (1664525 * seed + 1013904223) >>> 0) / 4294967296;
|
(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(
|
await page.waitForFunction(
|
||||||
() => window.rl?.prepareTest || window.__store?.getState().bootFailed,
|
() => window.rl?.prepareTest || window.__store?.getState().bootFailed,
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -0,0 +1,101 @@
|
|||||||
|
import { test, expect } from "@playwright/test";
|
||||||
|
|
||||||
|
test("T1: native MuJoCo/ONNX, WASD, stable locomotion and reset", async ({
|
||||||
|
page,
|
||||||
|
}, info) => {
|
||||||
|
const errors = [];
|
||||||
|
page.on("pageerror", (e) => errors.push(e.message));
|
||||||
|
await page.goto("/");
|
||||||
|
await expect(
|
||||||
|
page.getByRole("button", { name: "Pause", exact: true }),
|
||||||
|
).toBeEnabled();
|
||||||
|
await page.getByLabel("Robot", { exact: true }).selectOption("t1");
|
||||||
|
await page.waitForFunction(
|
||||||
|
() =>
|
||||||
|
window.__store.getState().robotId === "t1" ||
|
||||||
|
window.__store.getState().runtimeError,
|
||||||
|
);
|
||||||
|
expect(
|
||||||
|
await page.evaluate(() => window.__store.getState().runtimeError),
|
||||||
|
).toBeNull();
|
||||||
|
await page.evaluate(() => window.rl.pause());
|
||||||
|
expect(await page.evaluate(() => window.rl.buildObs().length)).toBe(81);
|
||||||
|
expect(await page.evaluate(() => window.rl.lastAction.length)).toBe(23);
|
||||||
|
await page
|
||||||
|
.locator("canvas")
|
||||||
|
.first()
|
||||||
|
.click({ position: { x: 700, y: 600 } });
|
||||||
|
for (const [key, expected] of [
|
||||||
|
["KeyW", [0.6, 0, 0]],
|
||||||
|
["KeyS", [-0.4, 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 trials = await page.evaluate(async () => {
|
||||||
|
const r = window.rl,
|
||||||
|
reports = [];
|
||||||
|
r.setPropsParked(true);
|
||||||
|
for (const [name, command] of [
|
||||||
|
["stand", [0, 0, 0]],
|
||||||
|
["forward", [0.6, 0, 0]],
|
||||||
|
["backward", [-0.4, 0, 0]],
|
||||||
|
["left", [0, 0, 0.6]],
|
||||||
|
["right", [0, 0, -0.6]],
|
||||||
|
]) {
|
||||||
|
await r.resetSim();
|
||||||
|
r.command.set(command);
|
||||||
|
for (let i = 0; i < 250; i++) {
|
||||||
|
await r.step(1);
|
||||||
|
if (
|
||||||
|
![...r.data.qpos, ...r.data.qvel, ...r.lastAction].every(
|
||||||
|
Number.isFinite,
|
||||||
|
)
|
||||||
|
)
|
||||||
|
throw new Error("Non-finite T1 state");
|
||||||
|
if (r.fallen) break;
|
||||||
|
}
|
||||||
|
const [w, x, y, z] = r.data.qpos.slice(3, 7);
|
||||||
|
reports.push({
|
||||||
|
name,
|
||||||
|
position: Array.from(r.data.qpos.slice(0, 3)),
|
||||||
|
yaw: Math.atan2(2 * (w * z + x * y), 1 - 2 * (y * y + z * z)),
|
||||||
|
fallen: r.fallen,
|
||||||
|
time: r.data.time,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
return reports;
|
||||||
|
});
|
||||||
|
console.log("T1 trials", JSON.stringify(trials));
|
||||||
|
await info.attach("t1-trials.json", {
|
||||||
|
body: JSON.stringify(trials, null, 2),
|
||||||
|
contentType: "application/json",
|
||||||
|
});
|
||||||
|
for (const trial of trials) expect(trial.fallen, trial.name).toBe(false);
|
||||||
|
expect(trials[1].position[0]).toBeGreaterThan(1);
|
||||||
|
expect(trials[2].position[0]).toBeLessThan(-0.5);
|
||||||
|
expect(trials[3].yaw).toBeGreaterThan(1);
|
||||||
|
expect(trials[4].yaw).toBeLessThan(-1);
|
||||||
|
await page.keyboard.press("Space");
|
||||||
|
await expect.poll(() => page.evaluate(() => window.rl.data.time)).toBe(0);
|
||||||
|
await page.screenshot({ path: info.outputPath("t1.png") });
|
||||||
|
for (const id of ["microban", "rp1", "t1"]) {
|
||||||
|
await page.getByLabel("Robot", { exact: true }).selectOption(id);
|
||||||
|
await expect
|
||||||
|
.poll(() => page.evaluate(() => window.__store.getState().robotId))
|
||||||
|
.toBe(id);
|
||||||
|
}
|
||||||
|
expect(errors).toEqual([]);
|
||||||
|
});
|
||||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "microduck-sandbox",
|
"name": "microduck-sandbox",
|
||||||
"version": "0.4.0",
|
"version": "0.6.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "microduck-sandbox",
|
"name": "microduck-sandbox",
|
||||||
"version": "0.4.0",
|
"version": "0.6.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@emotion/react": "^11.14.0",
|
"@emotion/react": "^11.14.0",
|
||||||
"@emotion/styled": "^11.14.1",
|
"@emotion/styled": "^11.14.1",
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "microduck-sandbox",
|
"name": "microduck-sandbox",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.4.0",
|
"version": "0.6.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@@ -0,0 +1,202 @@
|
|||||||
|
|
||||||
|
Apache License
|
||||||
|
Version 2.0, January 2004
|
||||||
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||||
|
|
||||||
|
1. Definitions.
|
||||||
|
|
||||||
|
"License" shall mean the terms and conditions for use, reproduction,
|
||||||
|
and distribution as defined by Sections 1 through 9 of this document.
|
||||||
|
|
||||||
|
"Licensor" shall mean the copyright owner or entity authorized by
|
||||||
|
the copyright owner that is granting the License.
|
||||||
|
|
||||||
|
"Legal Entity" shall mean the union of the acting entity and all
|
||||||
|
other entities that control, are controlled by, or are under common
|
||||||
|
control with that entity. For the purposes of this definition,
|
||||||
|
"control" means (i) the power, direct or indirect, to cause the
|
||||||
|
direction or management of such entity, whether by contract or
|
||||||
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||||
|
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||||
|
|
||||||
|
"You" (or "Your") shall mean an individual or Legal Entity
|
||||||
|
exercising permissions granted by this License.
|
||||||
|
|
||||||
|
"Source" form shall mean the preferred form for making modifications,
|
||||||
|
including but not limited to software source code, documentation
|
||||||
|
source, and configuration files.
|
||||||
|
|
||||||
|
"Object" form shall mean any form resulting from mechanical
|
||||||
|
transformation or translation of a Source form, including but
|
||||||
|
not limited to compiled object code, generated documentation,
|
||||||
|
and conversions to other media types.
|
||||||
|
|
||||||
|
"Work" shall mean the work of authorship, whether in Source or
|
||||||
|
Object form, made available under the License, as indicated by a
|
||||||
|
copyright notice that is included in or attached to the work
|
||||||
|
(an example is provided in the Appendix below).
|
||||||
|
|
||||||
|
"Derivative Works" shall mean any work, whether in Source or Object
|
||||||
|
form, that is based on (or derived from) the Work and for which the
|
||||||
|
editorial revisions, annotations, elaborations, or other modifications
|
||||||
|
represent, as a whole, an original work of authorship. For the purposes
|
||||||
|
of this License, Derivative Works shall not include works that remain
|
||||||
|
separable from, or merely link (or bind by name) to the interfaces of,
|
||||||
|
the Work and Derivative Works thereof.
|
||||||
|
|
||||||
|
"Contribution" shall mean any work of authorship, including
|
||||||
|
the original version of the Work and any modifications or additions
|
||||||
|
to that Work or Derivative Works thereof, that is intentionally
|
||||||
|
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||||
|
or by an individual or Legal Entity authorized to submit on behalf of
|
||||||
|
the copyright owner. For the purposes of this definition, "submitted"
|
||||||
|
means any form of electronic, verbal, or written communication sent
|
||||||
|
to the Licensor or its representatives, including but not limited to
|
||||||
|
communication on electronic mailing lists, source code control systems,
|
||||||
|
and issue tracking systems that are managed by, or on behalf of, the
|
||||||
|
Licensor for the purpose of discussing and improving the Work, but
|
||||||
|
excluding communication that is conspicuously marked or otherwise
|
||||||
|
designated in writing by the copyright owner as "Not a Contribution."
|
||||||
|
|
||||||
|
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||||
|
on behalf of whom a Contribution has been received by Licensor and
|
||||||
|
subsequently incorporated within the Work.
|
||||||
|
|
||||||
|
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
copyright license to reproduce, prepare Derivative Works of,
|
||||||
|
publicly display, publicly perform, sublicense, and distribute the
|
||||||
|
Work and such Derivative Works in Source or Object form.
|
||||||
|
|
||||||
|
3. Grant of Patent License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
(except as stated in this section) patent license to make, have made,
|
||||||
|
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||||
|
where such license applies only to those patent claims licensable
|
||||||
|
by such Contributor that are necessarily infringed by their
|
||||||
|
Contribution(s) alone or by combination of their Contribution(s)
|
||||||
|
with the Work to which such Contribution(s) was submitted. If You
|
||||||
|
institute patent litigation against any entity (including a
|
||||||
|
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||||
|
or a Contribution incorporated within the Work constitutes direct
|
||||||
|
or contributory patent infringement, then any patent licenses
|
||||||
|
granted to You under this License for that Work shall terminate
|
||||||
|
as of the date such litigation is filed.
|
||||||
|
|
||||||
|
4. Redistribution. You may reproduce and distribute copies of the
|
||||||
|
Work or Derivative Works thereof in any medium, with or without
|
||||||
|
modifications, and in Source or Object form, provided that You
|
||||||
|
meet the following conditions:
|
||||||
|
|
||||||
|
(a) You must give any other recipients of the Work or
|
||||||
|
Derivative Works a copy of this License; and
|
||||||
|
|
||||||
|
(b) You must cause any modified files to carry prominent notices
|
||||||
|
stating that You changed the files; and
|
||||||
|
|
||||||
|
(c) You must retain, in the Source form of any Derivative Works
|
||||||
|
that You distribute, all copyright, patent, trademark, and
|
||||||
|
attribution notices from the Source form of the Work,
|
||||||
|
excluding those notices that do not pertain to any part of
|
||||||
|
the Derivative Works; and
|
||||||
|
|
||||||
|
(d) If the Work includes a "NOTICE" text file as part of its
|
||||||
|
distribution, then any Derivative Works that You distribute must
|
||||||
|
include a readable copy of the attribution notices contained
|
||||||
|
within such NOTICE file, excluding those notices that do not
|
||||||
|
pertain to any part of the Derivative Works, in at least one
|
||||||
|
of the following places: within a NOTICE text file distributed
|
||||||
|
as part of the Derivative Works; within the Source form or
|
||||||
|
documentation, if provided along with the Derivative Works; or,
|
||||||
|
within a display generated by the Derivative Works, if and
|
||||||
|
wherever such third-party notices normally appear. The contents
|
||||||
|
of the NOTICE file are for informational purposes only and
|
||||||
|
do not modify the License. You may add Your own attribution
|
||||||
|
notices within Derivative Works that You distribute, alongside
|
||||||
|
or as an addendum to the NOTICE text from the Work, provided
|
||||||
|
that such additional attribution notices cannot be construed
|
||||||
|
as modifying the License.
|
||||||
|
|
||||||
|
You may add Your own copyright statement to Your modifications and
|
||||||
|
may provide additional or different license terms and conditions
|
||||||
|
for use, reproduction, or distribution of Your modifications, or
|
||||||
|
for any such Derivative Works as a whole, provided Your use,
|
||||||
|
reproduction, and distribution of the Work otherwise complies with
|
||||||
|
the conditions stated in this License.
|
||||||
|
|
||||||
|
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||||
|
any Contribution intentionally submitted for inclusion in the Work
|
||||||
|
by You to the Licensor shall be under the terms and conditions of
|
||||||
|
this License, without any additional terms or conditions.
|
||||||
|
Notwithstanding the above, nothing herein shall supersede or modify
|
||||||
|
the terms of any separate license agreement you may have executed
|
||||||
|
with Licensor regarding such Contributions.
|
||||||
|
|
||||||
|
6. Trademarks. This License does not grant permission to use the trade
|
||||||
|
names, trademarks, service marks, or product names of the Licensor,
|
||||||
|
except as required for reasonable and customary use in describing the
|
||||||
|
origin of the Work and reproducing the content of the NOTICE file.
|
||||||
|
|
||||||
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||||
|
agreed to in writing, Licensor provides the Work (and each
|
||||||
|
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
implied, including, without limitation, any warranties or conditions
|
||||||
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||||
|
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||||
|
appropriateness of using or redistributing the Work and assume any
|
||||||
|
risks associated with Your exercise of permissions under this License.
|
||||||
|
|
||||||
|
8. Limitation of Liability. In no event and under no legal theory,
|
||||||
|
whether in tort (including negligence), contract, or otherwise,
|
||||||
|
unless required by applicable law (such as deliberate and grossly
|
||||||
|
negligent acts) or agreed to in writing, shall any Contributor be
|
||||||
|
liable to You for damages, including any direct, indirect, special,
|
||||||
|
incidental, or consequential damages of any character arising as a
|
||||||
|
result of this License or out of the use or inability to use the
|
||||||
|
Work (including but not limited to damages for loss of goodwill,
|
||||||
|
work stoppage, computer failure or malfunction, or any and all
|
||||||
|
other commercial damages or losses), even if such Contributor
|
||||||
|
has been advised of the possibility of such damages.
|
||||||
|
|
||||||
|
9. Accepting Warranty or Additional Liability. While redistributing
|
||||||
|
the Work or Derivative Works thereof, You may choose to offer,
|
||||||
|
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||||
|
or other liability obligations and/or rights consistent with this
|
||||||
|
License. However, in accepting such obligations, You may act only
|
||||||
|
on Your own behalf and on Your sole responsibility, not on behalf
|
||||||
|
of any other Contributor, and only if You agree to indemnify,
|
||||||
|
defend, and hold each Contributor harmless for any liability
|
||||||
|
incurred by, or claims asserted against, such Contributor by reason
|
||||||
|
of your accepting any such warranty or additional liability.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
APPENDIX: How to apply the Apache License to your work.
|
||||||
|
|
||||||
|
To apply the Apache License to your work, attach the following
|
||||||
|
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||||
|
replaced with your own identifying information. (Don't include
|
||||||
|
the brackets!) The text should be enclosed in the appropriate
|
||||||
|
comment syntax for the file format. We also recommend that a
|
||||||
|
file or class name and description of purpose be included on the
|
||||||
|
same "printed page" as the copyright notice for easier
|
||||||
|
identification within third-party archives.
|
||||||
|
|
||||||
|
Copyright [2024] [Apptronik]
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
@@ -0,0 +1,202 @@
|
|||||||
|
|
||||||
|
Apache License
|
||||||
|
Version 2.0, January 2004
|
||||||
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||||
|
|
||||||
|
1. Definitions.
|
||||||
|
|
||||||
|
"License" shall mean the terms and conditions for use, reproduction,
|
||||||
|
and distribution as defined by Sections 1 through 9 of this document.
|
||||||
|
|
||||||
|
"Licensor" shall mean the copyright owner or entity authorized by
|
||||||
|
the copyright owner that is granting the License.
|
||||||
|
|
||||||
|
"Legal Entity" shall mean the union of the acting entity and all
|
||||||
|
other entities that control, are controlled by, or are under common
|
||||||
|
control with that entity. For the purposes of this definition,
|
||||||
|
"control" means (i) the power, direct or indirect, to cause the
|
||||||
|
direction or management of such entity, whether by contract or
|
||||||
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||||
|
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||||
|
|
||||||
|
"You" (or "Your") shall mean an individual or Legal Entity
|
||||||
|
exercising permissions granted by this License.
|
||||||
|
|
||||||
|
"Source" form shall mean the preferred form for making modifications,
|
||||||
|
including but not limited to software source code, documentation
|
||||||
|
source, and configuration files.
|
||||||
|
|
||||||
|
"Object" form shall mean any form resulting from mechanical
|
||||||
|
transformation or translation of a Source form, including but
|
||||||
|
not limited to compiled object code, generated documentation,
|
||||||
|
and conversions to other media types.
|
||||||
|
|
||||||
|
"Work" shall mean the work of authorship, whether in Source or
|
||||||
|
Object form, made available under the License, as indicated by a
|
||||||
|
copyright notice that is included in or attached to the work
|
||||||
|
(an example is provided in the Appendix below).
|
||||||
|
|
||||||
|
"Derivative Works" shall mean any work, whether in Source or Object
|
||||||
|
form, that is based on (or derived from) the Work and for which the
|
||||||
|
editorial revisions, annotations, elaborations, or other modifications
|
||||||
|
represent, as a whole, an original work of authorship. For the purposes
|
||||||
|
of this License, Derivative Works shall not include works that remain
|
||||||
|
separable from, or merely link (or bind by name) to the interfaces of,
|
||||||
|
the Work and Derivative Works thereof.
|
||||||
|
|
||||||
|
"Contribution" shall mean any work of authorship, including
|
||||||
|
the original version of the Work and any modifications or additions
|
||||||
|
to that Work or Derivative Works thereof, that is intentionally
|
||||||
|
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||||
|
or by an individual or Legal Entity authorized to submit on behalf of
|
||||||
|
the copyright owner. For the purposes of this definition, "submitted"
|
||||||
|
means any form of electronic, verbal, or written communication sent
|
||||||
|
to the Licensor or its representatives, including but not limited to
|
||||||
|
communication on electronic mailing lists, source code control systems,
|
||||||
|
and issue tracking systems that are managed by, or on behalf of, the
|
||||||
|
Licensor for the purpose of discussing and improving the Work, but
|
||||||
|
excluding communication that is conspicuously marked or otherwise
|
||||||
|
designated in writing by the copyright owner as "Not a Contribution."
|
||||||
|
|
||||||
|
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||||
|
on behalf of whom a Contribution has been received by Licensor and
|
||||||
|
subsequently incorporated within the Work.
|
||||||
|
|
||||||
|
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
copyright license to reproduce, prepare Derivative Works of,
|
||||||
|
publicly display, publicly perform, sublicense, and distribute the
|
||||||
|
Work and such Derivative Works in Source or Object form.
|
||||||
|
|
||||||
|
3. Grant of Patent License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
(except as stated in this section) patent license to make, have made,
|
||||||
|
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||||
|
where such license applies only to those patent claims licensable
|
||||||
|
by such Contributor that are necessarily infringed by their
|
||||||
|
Contribution(s) alone or by combination of their Contribution(s)
|
||||||
|
with the Work to which such Contribution(s) was submitted. If You
|
||||||
|
institute patent litigation against any entity (including a
|
||||||
|
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||||
|
or a Contribution incorporated within the Work constitutes direct
|
||||||
|
or contributory patent infringement, then any patent licenses
|
||||||
|
granted to You under this License for that Work shall terminate
|
||||||
|
as of the date such litigation is filed.
|
||||||
|
|
||||||
|
4. Redistribution. You may reproduce and distribute copies of the
|
||||||
|
Work or Derivative Works thereof in any medium, with or without
|
||||||
|
modifications, and in Source or Object form, provided that You
|
||||||
|
meet the following conditions:
|
||||||
|
|
||||||
|
(a) You must give any other recipients of the Work or
|
||||||
|
Derivative Works a copy of this License; and
|
||||||
|
|
||||||
|
(b) You must cause any modified files to carry prominent notices
|
||||||
|
stating that You changed the files; and
|
||||||
|
|
||||||
|
(c) You must retain, in the Source form of any Derivative Works
|
||||||
|
that You distribute, all copyright, patent, trademark, and
|
||||||
|
attribution notices from the Source form of the Work,
|
||||||
|
excluding those notices that do not pertain to any part of
|
||||||
|
the Derivative Works; and
|
||||||
|
|
||||||
|
(d) If the Work includes a "NOTICE" text file as part of its
|
||||||
|
distribution, then any Derivative Works that You distribute must
|
||||||
|
include a readable copy of the attribution notices contained
|
||||||
|
within such NOTICE file, excluding those notices that do not
|
||||||
|
pertain to any part of the Derivative Works, in at least one
|
||||||
|
of the following places: within a NOTICE text file distributed
|
||||||
|
as part of the Derivative Works; within the Source form or
|
||||||
|
documentation, if provided along with the Derivative Works; or,
|
||||||
|
within a display generated by the Derivative Works, if and
|
||||||
|
wherever such third-party notices normally appear. The contents
|
||||||
|
of the NOTICE file are for informational purposes only and
|
||||||
|
do not modify the License. You may add Your own attribution
|
||||||
|
notices within Derivative Works that You distribute, alongside
|
||||||
|
or as an addendum to the NOTICE text from the Work, provided
|
||||||
|
that such additional attribution notices cannot be construed
|
||||||
|
as modifying the License.
|
||||||
|
|
||||||
|
You may add Your own copyright statement to Your modifications and
|
||||||
|
may provide additional or different license terms and conditions
|
||||||
|
for use, reproduction, or distribution of Your modifications, or
|
||||||
|
for any such Derivative Works as a whole, provided Your use,
|
||||||
|
reproduction, and distribution of the Work otherwise complies with
|
||||||
|
the conditions stated in this License.
|
||||||
|
|
||||||
|
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||||
|
any Contribution intentionally submitted for inclusion in the Work
|
||||||
|
by You to the Licensor shall be under the terms and conditions of
|
||||||
|
this License, without any additional terms or conditions.
|
||||||
|
Notwithstanding the above, nothing herein shall supersede or modify
|
||||||
|
the terms of any separate license agreement you may have executed
|
||||||
|
with Licensor regarding such Contributions.
|
||||||
|
|
||||||
|
6. Trademarks. This License does not grant permission to use the trade
|
||||||
|
names, trademarks, service marks, or product names of the Licensor,
|
||||||
|
except as required for reasonable and customary use in describing the
|
||||||
|
origin of the Work and reproducing the content of the NOTICE file.
|
||||||
|
|
||||||
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||||
|
agreed to in writing, Licensor provides the Work (and each
|
||||||
|
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
implied, including, without limitation, any warranties or conditions
|
||||||
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||||
|
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||||
|
appropriateness of using or redistributing the Work and assume any
|
||||||
|
risks associated with Your exercise of permissions under this License.
|
||||||
|
|
||||||
|
8. Limitation of Liability. In no event and under no legal theory,
|
||||||
|
whether in tort (including negligence), contract, or otherwise,
|
||||||
|
unless required by applicable law (such as deliberate and grossly
|
||||||
|
negligent acts) or agreed to in writing, shall any Contributor be
|
||||||
|
liable to You for damages, including any direct, indirect, special,
|
||||||
|
incidental, or consequential damages of any character arising as a
|
||||||
|
result of this License or out of the use or inability to use the
|
||||||
|
Work (including but not limited to damages for loss of goodwill,
|
||||||
|
work stoppage, computer failure or malfunction, or any and all
|
||||||
|
other commercial damages or losses), even if such Contributor
|
||||||
|
has been advised of the possibility of such damages.
|
||||||
|
|
||||||
|
9. Accepting Warranty or Additional Liability. While redistributing
|
||||||
|
the Work or Derivative Works thereof, You may choose to offer,
|
||||||
|
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||||
|
or other liability obligations and/or rights consistent with this
|
||||||
|
License. However, in accepting such obligations, You may act only
|
||||||
|
on Your own behalf and on Your sole responsibility, not on behalf
|
||||||
|
of any other Contributor, and only if You agree to indemnify,
|
||||||
|
defend, and hold each Contributor harmless for any liability
|
||||||
|
incurred by, or claims asserted against, such Contributor by reason
|
||||||
|
of your accepting any such warranty or additional liability.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
APPENDIX: How to apply the Apache License to your work.
|
||||||
|
|
||||||
|
To apply the Apache License to your work, attach the following
|
||||||
|
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||||
|
replaced with your own identifying information. (Don't include
|
||||||
|
the brackets!) The text should be enclosed in the appropriate
|
||||||
|
comment syntax for the file format. We also recommend that a
|
||||||
|
file or class name and description of purpose be included on the
|
||||||
|
same "printed page" as the copyright notice for easier
|
||||||
|
identification within third-party archives.
|
||||||
|
|
||||||
|
Copyright 2025, The mjlab Developers
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
@@ -0,0 +1,40 @@
|
|||||||
|
# Apptronik Apollo
|
||||||
|
|
||||||
|
## Source and checkpoint
|
||||||
|
|
||||||
|
- Model: `/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/apptronik_apollo.xml` and its STL assets (Apache-2.0, copyright Apptronik; see `LICENSES/apollo.txt`).
|
||||||
|
- Training: `/home/cen/Embodied_Workspace/Mujoco_Projects/mjlab` (see `LICENSES/mjlab.txt`).
|
||||||
|
- Explicitly selected v0.6 checkpoint: `logs/rsl_rl/apollo_flat_upright_v3/2026-11-02_17-39-21_apollo_upright_v3/model_9999.pt`.
|
||||||
|
- Browser policy: corresponding run's ONNX, copied to `policies/walk.onnx`. Import verifies exported MLP weights, observation mean and folded normalization standard deviation against the checkpoint, not just its file timestamp.
|
||||||
|
- `source-manifest.json` records checkpoint SHA-256, copied file hashes and training configuration hashes. No runtime access to mjlab is required.
|
||||||
|
|
||||||
|
## Contract and modifications
|
||||||
|
|
||||||
|
The 108 observations are body-frame linear velocity (base IMU velocimeter), angular velocity (gyro), projected gravity, 32 relative joint positions, 32 joint velocities, 32 previous actions and the three-component velocity command, in that order. Normalization is embedded in ONNX. Action targets are stand-pose defaults plus per-joint residual scales. Head/arm residual scales are zero, as in the training configuration; their original actuators hold the pose.
|
||||||
|
|
||||||
|
`import-apollo.py` applies mjlab Entity's collision editors and preserves native actuator gains, damping, armature, force limits and stand defaults. Generated `model.xml` is modified from upstream: named visual geoms, base-aligned IMU, foot sites, training collision filtering, no standalone lights/keyframes, explicit task solver options (5 ms timestep, four substeps per control tick, Newton/pyramidal/implicitfast, 20 iterations). The newer native MuJoCo serializer's `input="pos"` actuator keyword is omitted for WASM compatibility; the equivalent general actuator's position gain/bias is retained. Stand defaults are read from mjlab's calibrated upright-v3 keyframe, not the original deeply flexed asset pose or rounded ONNX metadata. The importer cross-checks the pose against ONNX metadata. Knees default to 0.35 rad, spawn root height is 1.1008385 m (15 mm clearance), grounded target height is 1.0858385 m, and the fall threshold is 0.98 m, matching upright-v3 training.
|
||||||
|
|
||||||
|
The shared platform composer creates the floor with explicit collision bits and group, overriding Apollo's visual-only global geom defaults. The arena uses the platform's normal robot-height scaling, interactive objects and camera controls. No pose animation or kinematic walking is used.
|
||||||
|
|
||||||
|
Controls: W/S = +0.5/-0.3 m/s forward/backward; A/D = +/-0.4 rad/s yaw command; arrows are aliases. Key release zeros the command. Space resets; Escape pauses; C restores chase camera.
|
||||||
|
|
||||||
|
## Re-import
|
||||||
|
|
||||||
|
From the mjlab directory:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
uv run python /home/cen/Embodied_Workspace/Mujoco_Projects/microduck-simulator/app/scripts/import-apollo.py . \
|
||||||
|
--checkpoint-file logs/rsl_rl/apollo_flat_upright_v3/2026-11-02_17-39-21_apollo_upright_v3/model_9999.pt
|
||||||
|
```
|
||||||
|
|
||||||
|
Use `--checkpoint-file` to reproduce this release exactly. Without it, the importer selects the newest checkpoint in `apollo_flat_upright_v3` by modification time (iteration breaks ties). Its run must already contain a matching ONNX export newer than the checkpoint; otherwise import fails rather than silently using stale weights. Set `APOLLO_ASSETS_ROOT` if the source model lives elsewhere.
|
||||||
|
|
||||||
|
## Verification
|
||||||
|
|
||||||
|
```sh
|
||||||
|
cd app
|
||||||
|
npm run validate:packages
|
||||||
|
npx playwright test apollo.spec.js
|
||||||
|
```
|
||||||
|
|
||||||
|
Real browser MuJoCo WASM and ONNX inference test: 108 observations / 32 actions, WASD commands and key release, floor collision bits, five independent five-second finite-state rollouts, reset, and switching between Apollo/T1/RP1/Microban. Upright-v3 rollouts with props parked: no falls; forward x +2.258 m, backward x -1.174 m, left yaw +1.158 rad, right yaw -1.725 rad, standing height 1.086 m. Tests also require final root height above 1.04 m in every trial. This is browser simulation acceptance, not a claim of perfect velocity tracking or hardware equivalence. Screenshot is generated in Playwright's test-results directory.
|
||||||
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.
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.
@@ -0,0 +1,365 @@
|
|||||||
|
<mujoco model="apptronik_apollo">
|
||||||
|
<!-- Modified for browser simulation by import-apollo.py; see SOURCE.md. -->
|
||||||
|
<compiler angle="radian" meshdir="assets" texturedir="assets" />
|
||||||
|
<default>
|
||||||
|
<joint limited="true" />
|
||||||
|
<geom contype="0" conaffinity="0" condim="1" group="1" solref="0.005" margin="0.0005" />
|
||||||
|
<light diffuse="0.8 0.8 0.8" />
|
||||||
|
<equality solref="0.005" solimp="0.99 0.999 1e-05" />
|
||||||
|
<default class="active_adhesion">
|
||||||
|
<geom margin="0.01" gap="0.01" rgba="0.8 0.5 0.5 1" />
|
||||||
|
</default>
|
||||||
|
<default class="visual">
|
||||||
|
<geom type="mesh" />
|
||||||
|
<default class="visual_dark">
|
||||||
|
<geom rgba="0.0980392 0.0980392 0.0980392 1" />
|
||||||
|
</default>
|
||||||
|
<default class="visual_light">
|
||||||
|
<geom rgba="0.960784 0.960784 0.952941 1" />
|
||||||
|
</default>
|
||||||
|
</default>
|
||||||
|
<default class="collision">
|
||||||
|
<geom group="3" rgba="0 1 0 0.4" />
|
||||||
|
</default>
|
||||||
|
</default>
|
||||||
|
<asset>
|
||||||
|
<mesh name="neck_mount_fix_link" file="neck_mount_fix_link.stl" />
|
||||||
|
<mesh name="neck_yaw_link" file="neck_yaw_link.stl" />
|
||||||
|
<mesh name="afh_2_1_link" file="afh_2_1_link.stl" />
|
||||||
|
<mesh name="torso_link" content_type="model/stl" file="torso_link.stl" />
|
||||||
|
<mesh name="battery_mount_fix" file="battery_mount_fix.stl" />
|
||||||
|
<mesh name="torso_pitch_link" file="torso_pitch_link.stl" />
|
||||||
|
<mesh name="torso_roll_link" file="torso_roll_link.stl" />
|
||||||
|
<mesh name="pelvis_link" file="pelvis_link.stl" />
|
||||||
|
<mesh name="l_shoulder_aa_link" file="l_shoulder_aa_link.stl" />
|
||||||
|
<mesh name="l_shoulder_ie_link" file="l_shoulder_ie_link.stl" />
|
||||||
|
<mesh name="l_shoulder_fe_link" file="l_shoulder_fe_link.stl" />
|
||||||
|
<mesh name="l_elbow_fe_link" file="l_elbow_fe_link.stl" />
|
||||||
|
<mesh name="l_wrist_roll_link" file="l_wrist_roll_link.stl" />
|
||||||
|
<mesh name="l_wrist_yaw_link" file="l_wrist_yaw_link.stl" />
|
||||||
|
<mesh name="l_wrist_pitch_link" file="l_wrist_pitch_link.stl" />
|
||||||
|
<mesh name="wrist_adapter" file="ability_hand/wrist_adapter.STL" />
|
||||||
|
<mesh name="wristmesh" file="ability_hand/wristmesh.STL" />
|
||||||
|
<mesh name="FB_palm_ref" file="ability_hand/FB_palm_ref.STL" />
|
||||||
|
<mesh name="idx-F1" file="ability_hand/idx-F1.STL" />
|
||||||
|
<mesh name="idx-F2" file="ability_hand/idx-F2.STL" />
|
||||||
|
<mesh name="thumb-F1" file="ability_hand/thumb-F1.STL" />
|
||||||
|
<mesh name="thumb-F2-left" file="ability_hand/thumb-F2-left.STL" />
|
||||||
|
<mesh name="r_shoulder_aa_link" file="r_shoulder_aa_link.stl" />
|
||||||
|
<mesh name="r_shoulder_ie_link" file="r_shoulder_ie_link.stl" />
|
||||||
|
<mesh name="r_shoulder_fe_link" file="r_shoulder_fe_link.stl" />
|
||||||
|
<mesh name="r_elbow_fe_link" file="r_elbow_fe_link.stl" />
|
||||||
|
<mesh name="r_wrist_roll_link" file="r_wrist_roll_link.stl" />
|
||||||
|
<mesh name="r_wrist_yaw_link" file="r_wrist_yaw_link.stl" />
|
||||||
|
<mesh name="r_wrist_pitch_link" file="r_wrist_pitch_link.stl" />
|
||||||
|
<mesh name="FB_palm_ref_MIR" file="ability_hand/FB_palm_ref_MIR.STL" />
|
||||||
|
<mesh name="thumb-F1-MIR" file="ability_hand/thumb-F1-MIR.STL" />
|
||||||
|
<mesh name="thumb-F2-right" file="ability_hand/thumb-F2-right.STL" />
|
||||||
|
<mesh name="l_hip_ie_link" file="l_hip_ie_link.stl" />
|
||||||
|
<mesh name="l_hip_aa_link" file="l_hip_aa_link.stl" />
|
||||||
|
<mesh name="l_hip_fe_link" file="l_hip_fe_link.stl" />
|
||||||
|
<mesh name="l_knee_fe_link" file="l_knee_fe_link.stl" />
|
||||||
|
<mesh name="l_ankle_ie_link" file="l_ankle_ie_link.stl" />
|
||||||
|
<mesh name="l_foot_link" file="l_foot_link.stl" />
|
||||||
|
<mesh name="r_hip_ie_link" file="r_hip_ie_link.stl" />
|
||||||
|
<mesh name="r_hip_aa_link" file="r_hip_aa_link.stl" />
|
||||||
|
<mesh name="r_hip_fe_link" file="r_hip_fe_link.stl" />
|
||||||
|
<mesh name="r_knee_fe_link" file="r_knee_fe_link.stl" />
|
||||||
|
<mesh name="r_ankle_ie_link" file="r_ankle_ie_link.stl" />
|
||||||
|
<mesh name="r_foot_link" file="r_foot_link.stl" />
|
||||||
|
</asset>
|
||||||
|
<worldbody>
|
||||||
|
<body name="base_link" pos="0 0 1.0813">
|
||||||
|
<inertial pos="-0.0466459 -2.50736e-05 -0.0721416" quat="0.661991 0.662086 0.248682 -0.248127" mass="7.43582" diaginertia="0.0633318 0.0512326 0.0281854" />
|
||||||
|
<joint name="floating_base" type="free" />
|
||||||
|
<geom name="base_link_visual_0" class="visual_light" pos="0 0 0" quat="1 0 0 0" mesh="pelvis_link" />
|
||||||
|
<geom name="collision_capsule_body_pelvis" class="collision" size="0.1 0.09" pos="-0.06 0 -0.08" quat="0.707388 0.706825 0 0" type="capsule" conaffinity="1" friction="0.8" margin="0" />
|
||||||
|
<site name="base_imu" size="0.01" />
|
||||||
|
<camera name="track" quat="0.791164 0.554139 0.148485 0.211997" pos="1.69 -2.93 1.232" mode="trackcom" />
|
||||||
|
<body name="torso_oak_d_pro_w_rear_frame_link" pos="-0.164306 5e-08 0.0140886" quat="0.000689634 -0.500011 0.000398172 0.866019">
|
||||||
|
<inertial pos="0 0 0" mass="0.115" diaginertia="0.000144423 3.89011e-05 0.000126395" />
|
||||||
|
<camera name="torso_oak_d_pro_w_rear" quat="0.500398 0.5 -0.499602 -0.5" fovy="70" />
|
||||||
|
</body>
|
||||||
|
<body name="torso_oak_d_pro_w_front_frame_link" pos="0.087306 -5e-08 0.0480886" quat="0.866025 0 0.500001 0">
|
||||||
|
<inertial pos="0 0 0" mass="0.115" diaginertia="0.000144423 3.89011e-05 0.000126395" />
|
||||||
|
<camera name="torso_oak_d_pro_w_front" quat="0.500398 0.5 -0.499602 -0.5" fovy="70" />
|
||||||
|
</body>
|
||||||
|
<body name="torso_roll_link" pos="0.03 0 0.03125">
|
||||||
|
<inertial pos="-0.0337439 7.47864e-09 -0.0199137" quat="0.5297 0.511275 -0.470427 0.486532" mass="0.824114" diaginertia="0.00159405 0.00123171 0.000760001" />
|
||||||
|
<joint name="torso_yaw" range="-0.829031 0.829031" actuatorfrcrange="-120 120" armature="0.231424" damping="200" frictionloss="0.7" axis="0 0 -1" />
|
||||||
|
<geom name="torso_roll_link_visual_0" class="visual_dark" quat="1 0 0 0" mesh="torso_roll_link" />
|
||||||
|
<body name="torso_pitch_link">
|
||||||
|
<inertial pos="-0.0120797 5.39687e-05 -0.00065376" quat="0.49026 0.489868 -0.50995 0.509534" mass="0.313137" diaginertia="0.000415493 0.000345069 9.17604e-05" />
|
||||||
|
<joint name="torso_roll" range="-0.20944 0.20944" actuatorfrcrange="-414 414" armature="1.56493" damping="165" frictionloss="4.53" axis="1 0 0" />
|
||||||
|
<geom name="torso_pitch_link_visual_0" class="visual_dark" quat="1 0 0 0" mesh="torso_pitch_link" />
|
||||||
|
<body name="torso_link">
|
||||||
|
<inertial pos="-0.0484952 0.00143204 0.185535" quat="0.702792 0.0157426 -6.68569e-05 0.711221" mass="19.3408" diaginertia="0.303595 0.272287 0.22035" />
|
||||||
|
<joint name="torso_pitch" range="-0.305433 1.35263" actuatorfrcrange="-315 315" armature="0.970692" damping="142" frictionloss="13.15" axis="0 1 0" />
|
||||||
|
<geom name="torso_link_visual_0" class="visual_light" pos="0 0 0" quat="1 0 0 0" mesh="torso_link" />
|
||||||
|
<geom name="collision_cylinder_torso" class="collision" size="0.16 0.05" pos="-0.045 0 0.2" type="capsule" conaffinity="1" friction="0.8" margin="0" />
|
||||||
|
<geom name="torso_link_visual_2" class="visual_dark" pos="0 0 0" quat="1 0 0 0" mesh="neck_mount_fix_link" />
|
||||||
|
<geom name="torso_link_visual_3" class="visual_dark" pos="0 0 0" quat="1 0 0 0" mesh="battery_mount_fix" />
|
||||||
|
<site name="imu" pos="0.067 0 0.124874" quat="9.38184e-07 0.707105 9.38187e-07 -0.707108" />
|
||||||
|
<body name="neck_yaw_link" pos="-0.0303298 0 0.32841" quat="0.991445 0 0.130526 0">
|
||||||
|
<inertial pos="-0.0110616 0.000438589 0.066541" quat="0.715974 -0.0707674 -0.0795701 0.689958" mass="0.707753" diaginertia="0.00278981 0.002738 0.00071974" />
|
||||||
|
<joint name="neck_yaw" range="-1.65806 1.65806" actuatorfrcrange="-10.6 10.6" armature="0.0368" damping="15" />
|
||||||
|
<geom name="neck_yaw_link_visual_0" class="visual_dark" quat="1 0 0 0" mesh="neck_yaw_link" />
|
||||||
|
<body name="neck_roll_link" pos="-0.025 0 0.2" quat="1.32679e-06 -1 0 0">
|
||||||
|
<inertial pos="9.66662e-05 -0.000233736 -0.000463806" quat="0.000426355 0.703652 0.00178423 0.710542" mass="0.0189001" diaginertia="1.89727e-06 1.24254e-06 1.0322e-06" />
|
||||||
|
<joint name="neck_roll" range="-0.785398 0.785398" actuatorfrcrange="-34.2 34.2" armature="0.00305531" damping="3" axis="1 0 0" />
|
||||||
|
<body name="neck_pitch_link" quat="1.17527e-06 0.885799 6.15724e-07 -0.464069">
|
||||||
|
<inertial pos="0.0412474 -0.00081671 0.0152493" quat="0.350337 0.613318 0.617311 0.346457" mass="1.78084" diaginertia="0.0135957 0.0109432 0.00697581" />
|
||||||
|
<joint name="neck_pitch" range="-0.261799 0.523599" actuatorfrcrange="-34.2 34.2" armature="0.00256298" damping="3" axis="0 1 0" />
|
||||||
|
<geom name="neck_pitch_link_visual_0" class="visual_light" pos="0 0 0" quat="0.938794 0 0.344479 0" mesh="afh_2_1_link" />
|
||||||
|
</body>
|
||||||
|
</body>
|
||||||
|
</body>
|
||||||
|
<body name="l_shoulder_aa_link" pos="-0.05 0.2 0.32">
|
||||||
|
<inertial pos="0.000169922 0.0025177 -0.0190065" quat="0.710165 -0.0144759 0.023056 0.703508" mass="0.0980048" diaginertia="4.61576e-05 3.97046e-05 1.43504e-05" />
|
||||||
|
<joint name="l_shoulder_aa" range="-0.122173 1.6057" actuatorfrcrange="-78 78" armature="0.0982771" damping="26" frictionloss="2" axis="1 0 0" />
|
||||||
|
<geom name="l_shoulder_aa_link_visual_0" class="visual_dark" quat="1 0 0 0" mesh="l_shoulder_aa_link" />
|
||||||
|
<body name="l_shoulder_ie_link">
|
||||||
|
<inertial pos="-0.00799772 0.0154729 -0.0231746" quat="0.0914838 0.586016 -0.671384 0.444364" mass="0.451281" diaginertia="0.00069896 0.000628486 0.000278066" />
|
||||||
|
<joint name="l_shoulder_ie" range="-0.471239 0.471239" actuatorfrcrange="-67 67" armature="0.0823104" damping="35" frictionloss="1.48" />
|
||||||
|
<geom name="l_shoulder_ie_link_visual_0" class="visual_dark" quat="1 0 0 0" mesh="l_shoulder_ie_link" />
|
||||||
|
<body name="l_shoulder_fe_link" pos="0.0104822 0.03912 0" quat="0.991445 0 0 -0.130526">
|
||||||
|
<inertial pos="0.00453031 0.00134632 -0.143556" quat="0.707095 0.0140891 -0.00274087 0.706973" mass="3.51271" diaginertia="0.0284589 0.0232812 0.00763948" />
|
||||||
|
<joint name="l_shoulder_fe" range="-2.18166 0.610865" actuatorfrcrange="-114 114" armature="0.112768" damping="18" frictionloss="1.94" axis="0 1 0" />
|
||||||
|
<geom name="l_shoulder_fe_link_visual_0" class="visual_light" pos="0 0 0" quat="1 0 0 0" mesh="l_shoulder_fe_link" />
|
||||||
|
<geom name="collision_capsule_body_l_arm_1" class="collision" size="0.055 0.14" pos="-0.005 0.01 -0.16" type="capsule" contype="8" conaffinity="7" friction="0.8" margin="0" />
|
||||||
|
<geom name="collision_capsule_body_l_arm_2" class="collision" size="0.055 0.055" pos="0.05 0.005 -0.125" type="capsule" contype="8" conaffinity="7" friction="0.8" margin="0" />
|
||||||
|
<geom name="collision_capsule_body_l_arm_3" class="collision" size="0.055 0.02" pos="-0.06 0.0025 -0.13" type="capsule" contype="8" conaffinity="7" friction="0.8" margin="0" />
|
||||||
|
<body name="l_elbow_fe_link" pos="0.025 0 -0.315">
|
||||||
|
<inertial pos="-0.0407636 -0.000100019 -0.0277184" quat="0.446501 0.557407 0.539502 0.445951" mass="0.947642" diaginertia="0.00105876 0.000944065 0.00076124" />
|
||||||
|
<joint name="l_elbow_fe" range="-2.61799 0.174533" actuatorfrcrange="-114 114" armature="0.102645" damping="17" frictionloss="2.55" axis="0 1 0" />
|
||||||
|
<geom name="l_elbow_fe_link_visual_0" class="visual_dark" pos="0 0 0" quat="1 0 0 0" mesh="l_elbow_fe_link" />
|
||||||
|
<body name="l_wrist_roll_link" pos="-0.04 0 -0.06" quat="0.707105 0 0 0.707108">
|
||||||
|
<inertial pos="0.0088493 0.000434657 -0.071867" quat="0.701782 -0.0503482 -0.0435035 0.709278" mass="0.694478" diaginertia="0.00294512 0.00284275 0.000723985" />
|
||||||
|
<joint name="l_wrist_roll" range="-1.65806 1.65806" actuatorfrcrange="-10.6 10.6" armature="0.0368" damping="15" />
|
||||||
|
<geom name="l_wrist_roll_link_visual_0" class="visual_light" pos="0 0 0" quat="1 0 0 0" mesh="l_wrist_roll_link" />
|
||||||
|
<geom name="collision_cylinder_l_arm" class="collision" size="0.04755 0.1076" pos="0 0 -0.1" type="capsule" contype="8" conaffinity="7" friction="0.8" margin="0" />
|
||||||
|
<body name="l_wrist_yaw_link" pos="0.025 0 -0.2">
|
||||||
|
<inertial pos="-9.66662e-05 0.000233736 -0.000463806" quat="-0.00178423 0.710542 -0.000426355 0.703652" mass="0.0189001" diaginertia="1.89727e-06 1.24254e-06 1.0322e-06" />
|
||||||
|
<joint name="l_wrist_yaw" range="-0.698 0.698" actuatorfrcrange="-34.2 34.2" armature="0.00329371" damping="3" axis="1 0 0" />
|
||||||
|
<geom name="l_wrist_yaw_link_visual_0" class="visual_dark" quat="1 0 0 0" mesh="l_wrist_yaw_link" />
|
||||||
|
<body name="l_wrist_pitch_link" quat="0.707105 0 0 -0.707108">
|
||||||
|
<inertial pos="0.0071177 -0.038442 -0.0669519" quat="0.614861 0.00892233 0.0323416 0.787921" mass="0.806883" diaginertia="0.00459474 0.00452816 0.00206219" />
|
||||||
|
<joint name="l_wrist_pitch" range="-0.75 1.588" actuatorfrcrange="-34.2 34.2" armature="0.00288074" damping="3" axis="1 0 0" />
|
||||||
|
<geom name="l_wrist_pitch_link_visual_0" class="visual_dark" quat="1 0 0 0" mesh="l_wrist_pitch_link" />
|
||||||
|
<geom name="wrist_adapter_mesh" class="visual_dark" pos="0 -0.0297676 -0.0277946" quat="1 0 0 0" mesh="wrist_adapter" />
|
||||||
|
<geom name="wrist_mesh" class="visual_dark" pos="0 -0.0343657 -0.0392954" quat="0.130526 0.991445 0 0" mesh="wristmesh" />
|
||||||
|
<geom name="palm_mesh" class="visual_dark" pos="0.0240477 -0.0463856 -0.0695448" quat="0.00516808 0.0439309 0.130372 0.990478" mesh="FB_palm_ref" />
|
||||||
|
<geom name="index_mesh_1" class="visual_dark" pos="0.0279216 -0.0502244 -0.134299" quat="0.0355504 -0.725304 0.0429902 0.686165" mesh="idx-F1" />
|
||||||
|
<frame pos="0.0296624 -0.053984 -0.172686" quat="-0.873305 0.487175 0 0">
|
||||||
|
<geom name="index_mesh_2" class="visual_dark" quat="0.00654576 -0.722842 0.0735774 0.687054" mesh="idx-F2" />
|
||||||
|
</frame>
|
||||||
|
<geom name="middle_mesh_1" class="visual_dark" pos="0.00841718 -0.0488804 -0.137964" quat="0.0114639 -0.705931 0.0210022 0.707876" mesh="idx-F1" />
|
||||||
|
<frame pos="0.00814998 -0.0526507 -0.176389" quat="-0.873305 0.487175 0 0">
|
||||||
|
<geom name="middle_mesh_2" class="visual_dark" quat="-0.018436 -0.704415 0.0507911 0.707729" mesh="idx-F2" />
|
||||||
|
</frame>
|
||||||
|
<geom name="ring_mesh_1" class="visual_dark" pos="-0.0117529 -0.049354 -0.135394" quat="-0.0126044 -0.685391 -0.0036555 0.728057" mesh="idx-F1" />
|
||||||
|
<frame pos="-0.0139914 -0.0531239 -0.173755" quat="-0.873305 0.487175 0 0">
|
||||||
|
<geom name="ring_mesh_2" class="visual_dark" quat="-0.0433349 -0.684934 0.025288 0.726875" mesh="idx-F2" />
|
||||||
|
</frame>
|
||||||
|
<geom name="pinky_mesh_1" class="visual_dark" pos="-0.0308633 -0.0509308 -0.128792" quat="-0.0350419 -0.683018 -0.0274385 0.729045" mesh="idx-F1" />
|
||||||
|
<frame pos="-0.0330569 -0.0546993 -0.167156" quat="-0.873305 0.487175 0 0">
|
||||||
|
<geom name="pinky_mesh_2" class="visual_dark" quat="-0.0657942 -0.683567 0.00142601 0.726915" mesh="idx-F2" />
|
||||||
|
</frame>
|
||||||
|
<geom name="thumb_mesh_1" class="visual_dark" pos="0.0240477 -0.0463856 -0.0695448" quat="-0.986553 0.125649 -0.0560269 -0.0882391" mesh="thumb-F1" />
|
||||||
|
<geom name="thumb_mesh_2" class="visual_dark" pos="0.0499644 -0.0457352 -0.0874305" quat="0.500891 -0.859176 -0.0358978 0.0981657" mesh="thumb-F2-left" />
|
||||||
|
<geom name="collision_l_hand_plate" class="collision" size="0.041 0.02 0.083" pos="0.00749988 -0.025 -0.112" type="box" contype="8" conaffinity="7" friction="0.8" margin="0" />
|
||||||
|
</body>
|
||||||
|
</body>
|
||||||
|
</body>
|
||||||
|
</body>
|
||||||
|
</body>
|
||||||
|
</body>
|
||||||
|
</body>
|
||||||
|
<body name="r_shoulder_aa_link" pos="-0.05 -0.2 0.32">
|
||||||
|
<inertial pos="0.000169922 0.0025177 -0.0190065" quat="0.710165 -0.0144759 0.023056 0.703508" mass="0.0980048" diaginertia="4.61576e-05 3.97046e-05 1.43504e-05" />
|
||||||
|
<joint name="r_shoulder_aa" range="-1.6057 0.122173" actuatorfrcrange="-78 78" armature="0.098338" damping="26" frictionloss="2" axis="1 0 0" />
|
||||||
|
<geom name="r_shoulder_aa_link_visual_0" class="visual_dark" quat="1 0 0 0" mesh="r_shoulder_aa_link" />
|
||||||
|
<body name="r_shoulder_ie_link">
|
||||||
|
<inertial pos="-0.00800045 -0.0154894 -0.0231814" quat="0.583857 0.0885889 -0.445504 0.672897" mass="0.451079" diaginertia="0.000700361 0.00062725 0.000277886" />
|
||||||
|
<joint name="r_shoulder_ie" range="-0.471239 0.471239" actuatorfrcrange="-67 67" armature="0.0823191" damping="35" frictionloss="1.48" />
|
||||||
|
<geom name="r_shoulder_ie_link_visual_0" class="visual_dark" quat="1 0 0 0" mesh="r_shoulder_ie_link" />
|
||||||
|
<body name="r_shoulder_fe_link" pos="0.0104822 -0.03912 0" quat="0.991445 0 0 0.130526">
|
||||||
|
<inertial pos="0.00420186 -0.00125575 -0.142983" quat="0.7032 -0.00225527 0.011754 0.710892" mass="3.50359" diaginertia="0.0282519 0.0230724 0.00763457" />
|
||||||
|
<joint name="r_shoulder_fe" range="-2.18166 0.610865" actuatorfrcrange="-114 114" armature="0.112768" damping="18" frictionloss="1.94" axis="0 1 0" />
|
||||||
|
<geom name="r_shoulder_fe_link_visual_0" class="visual_light" pos="0 0 0" quat="1 0 0 0" mesh="r_shoulder_fe_link" />
|
||||||
|
<geom name="collision_capsule_body_r_arm_1" class="collision" size="0.055 0.14" pos="-0.005 -0.01 -0.16" type="capsule" contype="8" conaffinity="7" friction="0.8" margin="0" />
|
||||||
|
<geom name="collision_capsule_body_r_arm_2" class="collision" size="0.055 0.055" pos="0.05 -0.005 -0.125" type="capsule" contype="8" conaffinity="7" friction="0.8" margin="0" />
|
||||||
|
<geom name="collision_capsule_body_r_arm_3" class="collision" size="0.055 0.02" pos="-0.06 -0.0025 -0.13" type="capsule" contype="8" conaffinity="7" friction="0.8" margin="0" />
|
||||||
|
<body name="r_elbow_fe_link" pos="0.025 0 -0.315">
|
||||||
|
<inertial pos="-0.0407591 0.000134025 -0.0277185" quat="0.458533 0.527215 0.568785 0.433907" mass="0.947653" diaginertia="0.00105948 0.000943838 0.000761313" />
|
||||||
|
<joint name="r_elbow_fe" range="-2.61799 0.174533" actuatorfrcrange="-114 114" armature="0.102645" damping="17" frictionloss="2.55" axis="0 1 0" />
|
||||||
|
<geom name="r_elbow_fe_link_visual_0" class="visual_dark" pos="0 0 0" quat="1 0 0 0" mesh="r_elbow_fe_link" />
|
||||||
|
<body name="r_wrist_roll_link" pos="-0.04 0 -0.06" quat="0.707105 0 0 -0.707108">
|
||||||
|
<inertial pos="0.00887138 -0.000263913 -0.0718159" quat="0.698707 -0.0449538 -0.0486448 0.712336" mass="0.695137" diaginertia="0.00294733 0.00284457 0.000724756" />
|
||||||
|
<joint name="r_wrist_roll" range="-1.65806 1.65806" actuatorfrcrange="-10.6 10.6" armature="0.0368" damping="15" />
|
||||||
|
<geom name="r_wrist_roll_link_visual_0" class="visual_light" pos="0 0 0" quat="1 0 0 0" mesh="r_wrist_roll_link" />
|
||||||
|
<geom name="collision_cylinder_r_arm" class="collision" size="0.04755 0.1076" pos="0 0 -0.1" type="capsule" contype="8" conaffinity="7" friction="0.8" margin="0" />
|
||||||
|
<body name="r_wrist_yaw_link" pos="0.025 0 -0.2" quat="1.32679e-06 0 0 -1">
|
||||||
|
<inertial pos="9.66662e-05 0.000233736 -0.000463806" quat="-0.00044002 0.703652 -0.00179716 0.710542" mass="0.0189001" diaginertia="1.89727e-06 1.24254e-06 1.0322e-06" />
|
||||||
|
<joint name="r_wrist_yaw" range="-0.698 0.698" actuatorfrcrange="-34.2 34.2" armature="0.0032937" damping="3" axis="1 0 0" />
|
||||||
|
<geom name="r_wrist_yaw_link_visual_0" class="visual_dark" quat="1 0 0 0" mesh="r_wrist_yaw_link" />
|
||||||
|
<body name="r_wrist_pitch_link" quat="0.707105 0 0 -0.707108">
|
||||||
|
<inertial pos="0.0181202 0.0388729 -0.0688824" quat="0.630263 -0.0221958 -0.0501406 0.774443" mass="0.806683" diaginertia="0.00526208 0.00452156 0.0026899" />
|
||||||
|
<joint name="r_wrist_pitch" range="-1.588 0.75" actuatorfrcrange="-34.2 34.2" armature="0.00288075" damping="3" axis="1 0 0" />
|
||||||
|
<geom name="r_wrist_pitch_link_visual_0" class="visual_dark" quat="1 0 0 0" mesh="r_wrist_pitch_link" />
|
||||||
|
<geom name="r_wrist_pitch_link_visual_1" class="visual_dark" pos="0 0.0297676 -0.0277946" quat="1.32679e-06 0 0 1" mesh="wrist_adapter" />
|
||||||
|
<geom name="r_wrist_pitch_link_visual_2" class="visual_dark" pos="1.22016e-08 0.0343657 -0.0392954" quat="1.73181e-07 1.31544e-06 0.991445 0.130526" mesh="wristmesh" />
|
||||||
|
<geom name="r_wrist_pitch_link_visual_3" class="visual_dark" pos="0.0240477 0.0463855 -0.0695448" quat="0.990478 0.130372 0.0439307 0.00516677" mesh="FB_palm_ref_MIR" />
|
||||||
|
<geom name="r_wrist_pitch_link_visual_4" class="visual_dark" pos="0.0279216 0.0502243 -0.134299" quat="0.725304 -0.0355495 0.686165 0.0429892" mesh="idx-F1" />
|
||||||
|
<frame pos="0.0296625 0.053984 -0.172686" quat="-0.873305 -0.487175 0 0">
|
||||||
|
<geom name="r_wrist_pitch_link_visual_5" class="visual_dark" quat="0.722842 -0.00654484 0.687054 0.0735764" mesh="idx-F2" />
|
||||||
|
</frame>
|
||||||
|
<geom name="r_wrist_pitch_link_visual_6" class="visual_dark" pos="0.00841723 0.0488804 -0.137964" quat="0.705931 -0.0114629 0.707876 0.0210013" mesh="idx-F1" />
|
||||||
|
<frame pos="0.00815005 0.0526507 -0.176389" quat="-0.873305 -0.487175 0 0">
|
||||||
|
<geom name="r_wrist_pitch_link_visual_7" class="visual_dark" quat="0.704415 0.018437 0.707729 0.0507901" mesh="idx-F2" />
|
||||||
|
</frame>
|
||||||
|
<geom name="r_wrist_pitch_link_visual_8" class="visual_dark" pos="-0.0117529 0.0493541 -0.135394" quat="0.685391 0.0126053 0.728057 -0.00365641" mesh="idx-F1" />
|
||||||
|
<frame pos="-0.0139913 0.053124 -0.173755" quat="-0.873305 -0.487175 0 0">
|
||||||
|
<geom name="r_wrist_pitch_link_visual_9" class="visual_dark" quat="0.684934 0.0433359 0.726875 0.0252871" mesh="idx-F2" />
|
||||||
|
</frame>
|
||||||
|
<geom name="r_wrist_pitch_link_visual_10" class="visual_dark" pos="-0.0308632 0.0509308 -0.128792" quat="0.683018 0.0350429 0.729045 -0.0274394" mesh="idx-F1" />
|
||||||
|
<frame pos="-0.0330568 0.0546993 -0.167156" quat="-0.873305 -0.487175 0 0">
|
||||||
|
<geom name="r_wrist_pitch_link_visual_11" class="visual_dark" quat="0.683567 0.0657951 0.726915 0.00142511" mesh="idx-F2" />
|
||||||
|
</frame>
|
||||||
|
<geom name="r_wrist_pitch_link_visual_12" class="visual_dark" pos="0.0240477 0.0463855 -0.0695448" quat="-0.125649 0.986553 -0.0882404 -0.0560268" mesh="thumb-F1-MIR" />
|
||||||
|
<geom name="r_wrist_pitch_link_visual_13" class="visual_dark" pos="0.0499644 0.0457351 -0.0874305" quat="-0.859175 0.500891 -0.0981665 0.0358989" mesh="thumb-F2-right" />
|
||||||
|
<geom name="collision_r_hand_plate" class="collision" size="0.041 0.02 0.083" pos="0.00749988 0.025 -0.112" type="box" contype="8" conaffinity="7" friction="0.8" margin="0" />
|
||||||
|
</body>
|
||||||
|
</body>
|
||||||
|
</body>
|
||||||
|
</body>
|
||||||
|
</body>
|
||||||
|
</body>
|
||||||
|
</body>
|
||||||
|
</body>
|
||||||
|
</body>
|
||||||
|
</body>
|
||||||
|
<body name="l_hip_ie_link" pos="-0.02 0.11 -0.16875" quat="0.957662 0.126078 -0.256605 0.0337826">
|
||||||
|
<inertial pos="-0.0275726 0.000155527 0.0265849" quat="-0.0182885 0.43376 -0.029543 0.900358" mass="1.49972" diaginertia="0.00446385 0.00343018 0.00205254" />
|
||||||
|
<joint name="l_hip_ie" range="-0.567232 1.09083" actuatorfrcrange="-120 120" armature="0.231424" damping="171" frictionloss="7.95" />
|
||||||
|
<geom name="l_hip_ie_link_visual_0" class="visual_dark" quat="1 0 0 0" mesh="l_hip_ie_link" />
|
||||||
|
<body name="l_hip_aa_link">
|
||||||
|
<inertial pos="0.000193883 0.00068757 0.00240456" quat="0.488822 0.400587 -0.484645 0.604733" mass="0.429858" diaginertia="0.000370659 0.000322451 0.000129015" />
|
||||||
|
<joint name="l_hip_aa" range="-0.218166 0.741765" actuatorfrcrange="-494 494" armature="0.399395" damping="153" frictionloss="7" axis="1 0 0" />
|
||||||
|
<geom name="l_hip_aa_link_visual_0" class="visual_dark" quat="1 0 0 0" mesh="l_hip_aa_link" />
|
||||||
|
<body name="l_hip_fe_link" quat="0.957662 -0.126079 0.256605 -0.0337828">
|
||||||
|
<inertial pos="0.0065559 0.00346415 -0.207233" quat="0.864334 0.00804176 0.0489557 0.500466" mass="10.7833" diaginertia="0.124113 0.120556 0.0499696" />
|
||||||
|
<joint name="l_hip_fe" range="-1.85005 0.476475" actuatorfrcrange="-342 342" armature="0.187096" damping="92" frictionloss="21.06" axis="0 1 0" />
|
||||||
|
<geom name="l_hip_fe_link_visual_0" class="visual_light" pos="0 0 0" quat="1 0 0 0" mesh="l_hip_fe_link" />
|
||||||
|
<geom name="collision_capsule_body_l_thigh" class="collision" size="0.105 0.1" pos="0 0.005 -0.215" type="capsule" contype="2" conaffinity="13" friction="0.8" margin="0" />
|
||||||
|
<body name="l_knee_fe_link" pos="-0.05 0 -0.425">
|
||||||
|
<inertial pos="0.043534 0.00505054 -0.152417" quat="0.917057 0.00954505 0.0113608 0.398479" mass="4.57515" diaginertia="0.0639569 0.0630895 0.0108036" />
|
||||||
|
<joint name="l_knee_fe" range="0 2.61799" actuatorfrcrange="-336 336" armature="0.292264" damping="46" frictionloss="7.7" axis="0 1 0" />
|
||||||
|
<geom name="l_knee_fe_link_visual_0" class="visual_light" pos="0 0 0" quat="1 0 0 0" mesh="l_knee_fe_link" />
|
||||||
|
<geom name="collision_capsule_body_l_shin" class="collision" size="0.071 0.15" pos="0.0476 0.0061 -0.19" quat="0.998048 0 0.0624593 0" type="capsule" contype="2" conaffinity="13" friction="0.8" margin="0" />
|
||||||
|
<body name="l_ankle_ie_link" pos="0.05 0 -0.425" quat="0.987672 0.0864102 -0.130029 0.0113761">
|
||||||
|
<inertial pos="0.00995038 9.93144e-05 0.000832075" quat="0.692933 0.691803 0.145013 -0.14221" mass="0.12478" diaginertia="4.80038e-05 4.18024e-05 1.66067e-05" />
|
||||||
|
<joint name="l_ankle_ie" range="-0.654498 0.305433" actuatorfrcrange="-120 120" armature="0.121874" damping="11" frictionloss="0.89" axis="1 0 0" />
|
||||||
|
<geom name="l_ankle_ie_link_visual_0" class="visual_dark" quat="1 0 0 0" mesh="l_ankle_ie_link" />
|
||||||
|
<body name="l_foot_link" quat="0.965926 0 0.258819 0">
|
||||||
|
<inertial pos="0.056607 -0.00200339 -0.0304112" quat="0.432893 0.587516 0.510475 0.454802" mass="1.1808" diaginertia="0.0088235 0.00838261 0.00210633" />
|
||||||
|
<joint name="l_ankle_pd" range="-1.5708 0.436332" actuatorfrcrange="-150 150" armature="0.205456" damping="21" frictionloss="1.87" axis="0 1 0" />
|
||||||
|
<geom name="l_foot_link_visual_0" class="visual_dark" pos="0 0 0" quat="1 0 0 0" mesh="l_foot_link" />
|
||||||
|
<geom name="collision_l_sole" class="collision" size="0.1 0.0425 0.009" pos="0.0646931 -0.00550529 -0.03843" quat="0.987443 -0.0797175 -0.132426 -0.0326442" type="box" contype="2" conaffinity="13" condim="3" priority="1" friction="0.8" margin="0" />
|
||||||
|
<frame pos="0.0614891 -0.00342931 -0.0265273" quat="0.987443 -0.0797175 -0.132426 -0.0326442">
|
||||||
|
<site name="l_foot_fr" pos="0.1 0.0425 -0.0215" />
|
||||||
|
<site name="l_foot_br" pos="-0.1 0.0425 -0.0215" />
|
||||||
|
<site name="l_foot_fl" pos="0.1 -0.0425 -0.0215" />
|
||||||
|
<site name="l_foot_bl" pos="-0.1 -0.0425 -0.0215" />
|
||||||
|
</frame>
|
||||||
|
<site name="l_foot" size="0.01" pos="0.067 -0.007 -0.047" />
|
||||||
|
</body>
|
||||||
|
</body>
|
||||||
|
</body>
|
||||||
|
</body>
|
||||||
|
</body>
|
||||||
|
</body>
|
||||||
|
<body name="r_hip_ie_link" pos="-0.02 -0.11 -0.16875" quat="0.957662 -0.126078 -0.256605 -0.0337826">
|
||||||
|
<inertial pos="-0.0275542 -0.000156081 0.0265869" quat="0.0347714 0.433956 0.0469856 0.899036" mass="1.49972" diaginertia="0.00446281 0.00343307 0.00204473" />
|
||||||
|
<joint name="r_hip_ie" range="-1.09083 0.567232" actuatorfrcrange="-120 120" armature="0.231424" damping="171" frictionloss="7.95" />
|
||||||
|
<geom name="r_hip_ie_link_visual_0" class="visual_dark" quat="1 0 0 0" mesh="r_hip_ie_link" />
|
||||||
|
<body name="r_hip_aa_link">
|
||||||
|
<inertial pos="0.000193891 -0.000687548 0.00240456" quat="0.469753 0.583843 -0.513458 0.418115" mass="0.429858" diaginertia="0.000369398 0.000323696 0.000129031" />
|
||||||
|
<joint name="r_hip_aa" range="-0.741765 0.218166" actuatorfrcrange="-494 494" armature="0.399396" damping="153" frictionloss="7" axis="1 0 0" />
|
||||||
|
<geom name="r_hip_aa_link_visual_0" class="visual_dark" quat="1 0 0 0" mesh="r_hip_aa_link" />
|
||||||
|
<body name="r_hip_fe_link" quat="0.957662 0.126079 0.256605 0.0337828">
|
||||||
|
<inertial pos="0.00662296 -0.00380822 -0.207131" quat="0.493002 0.049361 0.00782621 0.868591" mass="10.7924" diaginertia="0.124314 0.120603 0.0499318" />
|
||||||
|
<joint name="r_hip_fe" range="-1.85005 0.476475" actuatorfrcrange="-342 342" armature="0.187096" damping="92" frictionloss="21.06" axis="0 1 0" />
|
||||||
|
<geom name="r_hip_fe_link_visual_0" class="visual_light" pos="0 0 0" quat="1 0 0 0" mesh="r_hip_fe_link" />
|
||||||
|
<geom name="collision_capsule_body_r_thigh" class="collision" size="0.105 0.1" pos="0 -0.005 -0.215" type="capsule" contype="4" conaffinity="11" friction="0.8" margin="0" />
|
||||||
|
<body name="r_knee_fe_link" pos="-0.05 0 -0.425">
|
||||||
|
<inertial pos="0.0432854 -0.00516245 -0.152442" quat="0.399848 0.0111994 0.00899692 0.916469" mass="4.57434" diaginertia="0.063915 0.0630953 0.0107961" />
|
||||||
|
<joint name="r_knee_fe" range="0 2.61799" actuatorfrcrange="-336 336" armature="0.292264" damping="46" frictionloss="7.7" axis="0 1 0" />
|
||||||
|
<geom name="r_knee_fe_link_visual_0" class="visual_light" pos="0 0 0" quat="1 0 0 0" mesh="r_knee_fe_link" />
|
||||||
|
<geom name="collision_capsule_body_r_shin" class="collision" size="0.071 0.15" pos="0.0476 0.0061 -0.19" quat="0.998048 0 0.0624593 0" type="capsule" contype="4" conaffinity="11" friction="0.8" margin="0" />
|
||||||
|
<body name="r_ankle_ie_link" pos="0.05 0 -0.425" quat="0.987672 -0.0864102 -0.130029 -0.0113761">
|
||||||
|
<inertial pos="0.00995037 -9.921e-05 0.000832071" quat="0.69181 0.692928 0.142207 -0.145006" mass="0.12478" diaginertia="4.80035e-05 4.18021e-05 1.66065e-05" />
|
||||||
|
<joint name="r_ankle_ie" range="-0.305433 0.654498" actuatorfrcrange="-120 120" armature="0.121874" damping="11" frictionloss="0.89" axis="1 0 0" />
|
||||||
|
<geom name="r_ankle_ie_link_visual_0" class="visual_dark" quat="1 0 0 0" mesh="r_ankle_ie_link" />
|
||||||
|
<body name="r_foot_link" quat="0.965926 0 0.258819 0">
|
||||||
|
<inertial pos="0.056607 0.00200339 -0.0304112" quat="0.414902 0.606299 0.487904 0.471389" mass="1.1808" diaginertia="0.00883289 0.00837251 0.00210704" />
|
||||||
|
<joint name="r_ankle_pd" range="-1.5708 0.436332" actuatorfrcrange="-150 150" armature="0.205456" damping="21" frictionloss="1.87" axis="0 1 0" />
|
||||||
|
<geom name="r_foot_link_visual_0" class="visual_dark" pos="0 0 0" quat="1 0 0 0" mesh="r_foot_link" />
|
||||||
|
<geom name="collision_r_sole" class="collision" size="0.1 0.0425 0.009" pos="0.0646931 0.00550529 -0.03843" quat="0.987443 0.0797175 -0.132426 0.0326442" type="box" contype="4" conaffinity="11" condim="3" priority="1" friction="0.8" margin="0" />
|
||||||
|
<frame pos="0.0614891 0.00342931 -0.0265273" quat="0.987443 0.0797175 -0.132426 0.0326442">
|
||||||
|
<site name="r_foot_fr" pos="0.1 0.0425 -0.0215" />
|
||||||
|
<site name="r_foot_br" pos="-0.1 0.0425 -0.0215" />
|
||||||
|
<site name="r_foot_fl" pos="0.1 -0.0425 -0.0215" />
|
||||||
|
<site name="r_foot_bl" pos="-0.1 -0.0425 -0.0215" />
|
||||||
|
</frame>
|
||||||
|
<site name="r_foot" size="0.01" pos="0.067 0.007 -0.047" />
|
||||||
|
</body>
|
||||||
|
</body>
|
||||||
|
</body>
|
||||||
|
</body>
|
||||||
|
</body>
|
||||||
|
</body>
|
||||||
|
</body>
|
||||||
|
<body name="world_link" />
|
||||||
|
</worldbody>
|
||||||
|
<actuator>
|
||||||
|
<general name="torso_yaw" joint="torso_yaw" ctrlrange="-0.829031 0.829031" forcerange="-120 120" biastype="affine" gainprm="500" biasprm="0 -500" />
|
||||||
|
<general name="torso_roll" joint="torso_roll" ctrlrange="-0.20944 0.20944" forcerange="-414 414" biastype="affine" gainprm="2052" biasprm="0 -2052" />
|
||||||
|
<general name="torso_pitch" joint="torso_pitch" ctrlrange="-0.305433 1.35263" forcerange="-315 315" biastype="affine" gainprm="1525" biasprm="0 -1525" />
|
||||||
|
<general name="neck_yaw" joint="neck_yaw" ctrlrange="-1.65806 1.65806" forcerange="-10.6 10.6" biastype="affine" gainprm="28" biasprm="0 -28" />
|
||||||
|
<general name="neck_roll" joint="neck_roll" ctrlrange="-0.785398 0.785398" forcerange="-34.2 34.2" biastype="affine" gainprm="9" biasprm="0 -9" />
|
||||||
|
<general name="neck_pitch" joint="neck_pitch" ctrlrange="-0.261799 0.523599" forcerange="-34.2 34.2" biastype="affine" gainprm="8" biasprm="0 -8" />
|
||||||
|
<general name="l_shoulder_aa" joint="l_shoulder_aa" ctrlrange="-0.122173 1.6057" forcerange="-78 78" biastype="affine" gainprm="395" biasprm="0 -395" />
|
||||||
|
<general name="l_shoulder_ie" joint="l_shoulder_ie" ctrlrange="-0.471239 0.471239" forcerange="-67 67" biastype="affine" gainprm="436" biasprm="0 -436" />
|
||||||
|
<general name="l_shoulder_fe" joint="l_shoulder_fe" ctrlrange="-2.18166 0.610865" forcerange="-114 114" biastype="affine" gainprm="214" biasprm="0 -214" />
|
||||||
|
<general name="l_elbow_fe" joint="l_elbow_fe" ctrlrange="-2.61799 0.174533" forcerange="-114 114" biastype="affine" gainprm="200" biasprm="0 -200" />
|
||||||
|
<general name="l_wrist_roll" joint="l_wrist_roll" ctrlrange="-1.65806 1.65806" forcerange="-10.6 10.6" biastype="affine" gainprm="47" biasprm="0 -47" />
|
||||||
|
<general name="l_wrist_yaw" joint="l_wrist_yaw" ctrlrange="-0.785398 0.785398" forcerange="-34.2 34.2" biastype="affine" gainprm="20" biasprm="0 -20" />
|
||||||
|
<general name="l_wrist_pitch" joint="l_wrist_pitch" ctrlrange="-0.837758 1.67552" forcerange="-34.2 34.2" biastype="affine" gainprm="18" biasprm="0 -18" />
|
||||||
|
<general name="r_shoulder_aa" joint="r_shoulder_aa" ctrlrange="-1.6057 0.122173" forcerange="-78 78" biastype="affine" gainprm="395" biasprm="0 -395" />
|
||||||
|
<general name="r_shoulder_ie" joint="r_shoulder_ie" ctrlrange="-0.471239 0.471239" forcerange="-67 67" biastype="affine" gainprm="436" biasprm="0 -436" />
|
||||||
|
<general name="r_shoulder_fe" joint="r_shoulder_fe" ctrlrange="-2.18166 0.610865" forcerange="-114 114" biastype="affine" gainprm="214" biasprm="0 -214" />
|
||||||
|
<general name="r_elbow_fe" joint="r_elbow_fe" ctrlrange="-2.61799 0.174533" forcerange="-114 114" biastype="affine" gainprm="200" biasprm="0 -200" />
|
||||||
|
<general name="r_wrist_roll" joint="r_wrist_roll" ctrlrange="-1.65806 1.65806" forcerange="-10.6 10.6" biastype="affine" gainprm="47" biasprm="0 -47" />
|
||||||
|
<general name="r_wrist_yaw" joint="r_wrist_yaw" ctrlrange="-0.785398 0.785398" forcerange="-34.2 34.2" biastype="affine" gainprm="20" biasprm="0 -20" />
|
||||||
|
<general name="r_wrist_pitch" joint="r_wrist_pitch" ctrlrange="-1.67552 0.837758" forcerange="-34.2 34.2" biastype="affine" gainprm="18" biasprm="0 -18" />
|
||||||
|
<general name="l_hip_ie" joint="l_hip_ie" ctrlrange="-0.567232 1.09083" forcerange="-120 120" biastype="affine" gainprm="595" biasprm="0 -595" />
|
||||||
|
<general name="l_hip_aa" joint="l_hip_aa" ctrlrange="-0.218166 0.741765" forcerange="-494 494" biastype="affine" gainprm="1880" biasprm="0 -1880" />
|
||||||
|
<general name="l_hip_fe" joint="l_hip_fe" ctrlrange="-1.85005 0.476475" forcerange="-342 342" biastype="affine" gainprm="1047" biasprm="0 -1047" />
|
||||||
|
<general name="l_knee_fe" joint="l_knee_fe" ctrlrange="0 2.61799" forcerange="-336 336" biastype="affine" gainprm="606" biasprm="0 -606" />
|
||||||
|
<general name="l_ankle_ie" joint="l_ankle_ie" ctrlrange="-0.654498 0.305433" forcerange="-120 120" biastype="affine" gainprm="420" biasprm="0 -420" />
|
||||||
|
<general name="l_ankle_pd" joint="l_ankle_pd" ctrlrange="-1.5708 0.436332" forcerange="-150 150" biastype="affine" gainprm="882" biasprm="0 -882" />
|
||||||
|
<general name="r_hip_ie" joint="r_hip_ie" ctrlrange="-1.09083 0.567232" forcerange="-120 120" biastype="affine" gainprm="595" biasprm="0 -595" />
|
||||||
|
<general name="r_hip_aa" joint="r_hip_aa" ctrlrange="-0.741765 0.218166" forcerange="-494 494" biastype="affine" gainprm="1880" biasprm="0 -1880" />
|
||||||
|
<general name="r_hip_fe" joint="r_hip_fe" ctrlrange="-1.85005 0.476475" forcerange="-342 342" biastype="affine" gainprm="1047" biasprm="0 -1047" />
|
||||||
|
<general name="r_knee_fe" joint="r_knee_fe" ctrlrange="0 2.61799" forcerange="-336 336" biastype="affine" gainprm="606" biasprm="0 -606" />
|
||||||
|
<general name="r_ankle_ie" joint="r_ankle_ie" ctrlrange="-0.305433 0.654498" forcerange="-120 120" biastype="affine" gainprm="420" biasprm="0 -420" />
|
||||||
|
<general name="r_ankle_pd" joint="r_ankle_pd" ctrlrange="-1.5708 0.436332" forcerange="-150 150" biastype="affine" gainprm="882" biasprm="0 -882" />
|
||||||
|
</actuator>
|
||||||
|
<sensor>
|
||||||
|
<velocimeter site="base_imu" name="imu_lin_vel" />
|
||||||
|
<gyro site="base_imu" name="imu_ang_vel" />
|
||||||
|
<subtreeangmom body="base_link" name="root_angmom" />
|
||||||
|
</sensor>
|
||||||
|
<option timestep="0.005" integrator="implicitfast" solver="Newton" cone="pyramidal" iterations="20" ls_iterations="20" ccd_iterations="50" />
|
||||||
|
</mujoco>
|
||||||
Binary file not shown.
@@ -0,0 +1,699 @@
|
|||||||
|
{
|
||||||
|
"schema": 1,
|
||||||
|
"id": "apollo",
|
||||||
|
"name": "Apptronik Apollo",
|
||||||
|
"family": "apollo",
|
||||||
|
"adapter": "generic",
|
||||||
|
"dimensions": {
|
||||||
|
"height": 1.73
|
||||||
|
},
|
||||||
|
"model": "model.xml",
|
||||||
|
"assets": [
|
||||||
|
{
|
||||||
|
"path": "assets/neck_mount_fix_link.stl",
|
||||||
|
"vfs": "assets/neck_mount_fix_link.stl"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/neck_yaw_link.stl",
|
||||||
|
"vfs": "assets/neck_yaw_link.stl"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/afh_2_1_link.stl",
|
||||||
|
"vfs": "assets/afh_2_1_link.stl"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/torso_link.stl",
|
||||||
|
"vfs": "assets/torso_link.stl"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/battery_mount_fix.stl",
|
||||||
|
"vfs": "assets/battery_mount_fix.stl"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/torso_pitch_link.stl",
|
||||||
|
"vfs": "assets/torso_pitch_link.stl"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/torso_roll_link.stl",
|
||||||
|
"vfs": "assets/torso_roll_link.stl"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/pelvis_link.stl",
|
||||||
|
"vfs": "assets/pelvis_link.stl"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/l_shoulder_aa_link.stl",
|
||||||
|
"vfs": "assets/l_shoulder_aa_link.stl"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/l_shoulder_ie_link.stl",
|
||||||
|
"vfs": "assets/l_shoulder_ie_link.stl"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/l_shoulder_fe_link.stl",
|
||||||
|
"vfs": "assets/l_shoulder_fe_link.stl"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/l_elbow_fe_link.stl",
|
||||||
|
"vfs": "assets/l_elbow_fe_link.stl"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/l_wrist_roll_link.stl",
|
||||||
|
"vfs": "assets/l_wrist_roll_link.stl"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/l_wrist_yaw_link.stl",
|
||||||
|
"vfs": "assets/l_wrist_yaw_link.stl"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/l_wrist_pitch_link.stl",
|
||||||
|
"vfs": "assets/l_wrist_pitch_link.stl"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/ability_hand/wrist_adapter.STL",
|
||||||
|
"vfs": "assets/ability_hand/wrist_adapter.STL"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/ability_hand/wristmesh.STL",
|
||||||
|
"vfs": "assets/ability_hand/wristmesh.STL"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/ability_hand/FB_palm_ref.STL",
|
||||||
|
"vfs": "assets/ability_hand/FB_palm_ref.STL"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/ability_hand/idx-F1.STL",
|
||||||
|
"vfs": "assets/ability_hand/idx-F1.STL"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/ability_hand/idx-F2.STL",
|
||||||
|
"vfs": "assets/ability_hand/idx-F2.STL"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/ability_hand/thumb-F1.STL",
|
||||||
|
"vfs": "assets/ability_hand/thumb-F1.STL"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/ability_hand/thumb-F2-left.STL",
|
||||||
|
"vfs": "assets/ability_hand/thumb-F2-left.STL"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/r_shoulder_aa_link.stl",
|
||||||
|
"vfs": "assets/r_shoulder_aa_link.stl"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/r_shoulder_ie_link.stl",
|
||||||
|
"vfs": "assets/r_shoulder_ie_link.stl"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/r_shoulder_fe_link.stl",
|
||||||
|
"vfs": "assets/r_shoulder_fe_link.stl"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/r_elbow_fe_link.stl",
|
||||||
|
"vfs": "assets/r_elbow_fe_link.stl"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/r_wrist_roll_link.stl",
|
||||||
|
"vfs": "assets/r_wrist_roll_link.stl"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/r_wrist_yaw_link.stl",
|
||||||
|
"vfs": "assets/r_wrist_yaw_link.stl"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/r_wrist_pitch_link.stl",
|
||||||
|
"vfs": "assets/r_wrist_pitch_link.stl"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/ability_hand/FB_palm_ref_MIR.STL",
|
||||||
|
"vfs": "assets/ability_hand/FB_palm_ref_MIR.STL"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/ability_hand/thumb-F1-MIR.STL",
|
||||||
|
"vfs": "assets/ability_hand/thumb-F1-MIR.STL"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/ability_hand/thumb-F2-right.STL",
|
||||||
|
"vfs": "assets/ability_hand/thumb-F2-right.STL"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/l_hip_ie_link.stl",
|
||||||
|
"vfs": "assets/l_hip_ie_link.stl"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/l_hip_aa_link.stl",
|
||||||
|
"vfs": "assets/l_hip_aa_link.stl"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/l_hip_fe_link.stl",
|
||||||
|
"vfs": "assets/l_hip_fe_link.stl"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/l_knee_fe_link.stl",
|
||||||
|
"vfs": "assets/l_knee_fe_link.stl"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/l_ankle_ie_link.stl",
|
||||||
|
"vfs": "assets/l_ankle_ie_link.stl"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/l_foot_link.stl",
|
||||||
|
"vfs": "assets/l_foot_link.stl"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/r_hip_ie_link.stl",
|
||||||
|
"vfs": "assets/r_hip_ie_link.stl"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/r_hip_aa_link.stl",
|
||||||
|
"vfs": "assets/r_hip_aa_link.stl"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/r_hip_fe_link.stl",
|
||||||
|
"vfs": "assets/r_hip_fe_link.stl"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/r_knee_fe_link.stl",
|
||||||
|
"vfs": "assets/r_knee_fe_link.stl"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/r_ankle_ie_link.stl",
|
||||||
|
"vfs": "assets/r_ankle_ie_link.stl"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "assets/r_foot_link.stl",
|
||||||
|
"vfs": "assets/r_foot_link.stl"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"base": {
|
||||||
|
"type": "floating",
|
||||||
|
"root_body": "base_link",
|
||||||
|
"freejoint": "floating_base",
|
||||||
|
"spawn": {
|
||||||
|
"pos": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1.1008384999999998
|
||||||
|
],
|
||||||
|
"yaw": 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"sim": {
|
||||||
|
"timestep": 0.005,
|
||||||
|
"decimation": 4
|
||||||
|
},
|
||||||
|
"joints": {
|
||||||
|
"groups": {
|
||||||
|
"policy": [
|
||||||
|
"torso_yaw",
|
||||||
|
"torso_roll",
|
||||||
|
"torso_pitch",
|
||||||
|
"neck_yaw",
|
||||||
|
"neck_roll",
|
||||||
|
"neck_pitch",
|
||||||
|
"l_shoulder_aa",
|
||||||
|
"l_shoulder_ie",
|
||||||
|
"l_shoulder_fe",
|
||||||
|
"l_elbow_fe",
|
||||||
|
"l_wrist_roll",
|
||||||
|
"l_wrist_yaw",
|
||||||
|
"l_wrist_pitch",
|
||||||
|
"r_shoulder_aa",
|
||||||
|
"r_shoulder_ie",
|
||||||
|
"r_shoulder_fe",
|
||||||
|
"r_elbow_fe",
|
||||||
|
"r_wrist_roll",
|
||||||
|
"r_wrist_yaw",
|
||||||
|
"r_wrist_pitch",
|
||||||
|
"l_hip_ie",
|
||||||
|
"l_hip_aa",
|
||||||
|
"l_hip_fe",
|
||||||
|
"l_knee_fe",
|
||||||
|
"l_ankle_ie",
|
||||||
|
"l_ankle_pd",
|
||||||
|
"r_hip_ie",
|
||||||
|
"r_hip_aa",
|
||||||
|
"r_hip_fe",
|
||||||
|
"r_knee_fe",
|
||||||
|
"r_ankle_ie",
|
||||||
|
"r_ankle_pd"
|
||||||
|
],
|
||||||
|
"torso_yaw": [
|
||||||
|
"torso_yaw"
|
||||||
|
],
|
||||||
|
"torso_roll": [
|
||||||
|
"torso_roll"
|
||||||
|
],
|
||||||
|
"torso_pitch": [
|
||||||
|
"torso_pitch"
|
||||||
|
],
|
||||||
|
"neck_yaw": [
|
||||||
|
"neck_yaw"
|
||||||
|
],
|
||||||
|
"neck_roll": [
|
||||||
|
"neck_roll"
|
||||||
|
],
|
||||||
|
"neck_pitch": [
|
||||||
|
"neck_pitch"
|
||||||
|
],
|
||||||
|
"l_shoulder_aa": [
|
||||||
|
"l_shoulder_aa"
|
||||||
|
],
|
||||||
|
"l_shoulder_ie": [
|
||||||
|
"l_shoulder_ie"
|
||||||
|
],
|
||||||
|
"l_shoulder_fe": [
|
||||||
|
"l_shoulder_fe"
|
||||||
|
],
|
||||||
|
"l_elbow_fe": [
|
||||||
|
"l_elbow_fe"
|
||||||
|
],
|
||||||
|
"l_wrist_roll": [
|
||||||
|
"l_wrist_roll"
|
||||||
|
],
|
||||||
|
"l_wrist_yaw": [
|
||||||
|
"l_wrist_yaw"
|
||||||
|
],
|
||||||
|
"l_wrist_pitch": [
|
||||||
|
"l_wrist_pitch"
|
||||||
|
],
|
||||||
|
"r_shoulder_aa": [
|
||||||
|
"r_shoulder_aa"
|
||||||
|
],
|
||||||
|
"r_shoulder_ie": [
|
||||||
|
"r_shoulder_ie"
|
||||||
|
],
|
||||||
|
"r_shoulder_fe": [
|
||||||
|
"r_shoulder_fe"
|
||||||
|
],
|
||||||
|
"r_elbow_fe": [
|
||||||
|
"r_elbow_fe"
|
||||||
|
],
|
||||||
|
"r_wrist_roll": [
|
||||||
|
"r_wrist_roll"
|
||||||
|
],
|
||||||
|
"r_wrist_yaw": [
|
||||||
|
"r_wrist_yaw"
|
||||||
|
],
|
||||||
|
"r_wrist_pitch": [
|
||||||
|
"r_wrist_pitch"
|
||||||
|
],
|
||||||
|
"l_hip_ie": [
|
||||||
|
"l_hip_ie"
|
||||||
|
],
|
||||||
|
"l_hip_aa": [
|
||||||
|
"l_hip_aa"
|
||||||
|
],
|
||||||
|
"l_hip_fe": [
|
||||||
|
"l_hip_fe"
|
||||||
|
],
|
||||||
|
"l_knee_fe": [
|
||||||
|
"l_knee_fe"
|
||||||
|
],
|
||||||
|
"l_ankle_ie": [
|
||||||
|
"l_ankle_ie"
|
||||||
|
],
|
||||||
|
"l_ankle_pd": [
|
||||||
|
"l_ankle_pd"
|
||||||
|
],
|
||||||
|
"r_hip_ie": [
|
||||||
|
"r_hip_ie"
|
||||||
|
],
|
||||||
|
"r_hip_aa": [
|
||||||
|
"r_hip_aa"
|
||||||
|
],
|
||||||
|
"r_hip_fe": [
|
||||||
|
"r_hip_fe"
|
||||||
|
],
|
||||||
|
"r_knee_fe": [
|
||||||
|
"r_knee_fe"
|
||||||
|
],
|
||||||
|
"r_ankle_ie": [
|
||||||
|
"r_ankle_ie"
|
||||||
|
],
|
||||||
|
"r_ankle_pd": [
|
||||||
|
"r_ankle_pd"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"defaults": {
|
||||||
|
"torso_yaw": 0.0,
|
||||||
|
"torso_roll": 0.0,
|
||||||
|
"torso_pitch": 0.0,
|
||||||
|
"neck_yaw": 0.0,
|
||||||
|
"neck_roll": 0.0,
|
||||||
|
"neck_pitch": 0.0,
|
||||||
|
"l_shoulder_aa": 0.15,
|
||||||
|
"l_shoulder_ie": 0.0,
|
||||||
|
"l_shoulder_fe": 0.05,
|
||||||
|
"l_elbow_fe": -0.25,
|
||||||
|
"l_wrist_roll": 0.0,
|
||||||
|
"l_wrist_yaw": 0.0,
|
||||||
|
"l_wrist_pitch": 0.0,
|
||||||
|
"r_shoulder_aa": -0.15,
|
||||||
|
"r_shoulder_ie": 0.0,
|
||||||
|
"r_shoulder_fe": 0.05,
|
||||||
|
"r_elbow_fe": -0.25,
|
||||||
|
"r_wrist_roll": 0.0,
|
||||||
|
"r_wrist_yaw": 0.0,
|
||||||
|
"r_wrist_pitch": 0.0,
|
||||||
|
"l_hip_ie": 0.01516856,
|
||||||
|
"l_hip_aa": 0.04179601,
|
||||||
|
"l_hip_fe": -0.15749093,
|
||||||
|
"l_knee_fe": 0.35,
|
||||||
|
"l_ankle_ie": -0.03606629,
|
||||||
|
"l_ankle_pd": -0.18624892,
|
||||||
|
"r_hip_ie": -0.01516856,
|
||||||
|
"r_hip_aa": -0.04179601,
|
||||||
|
"r_hip_fe": -0.15749093,
|
||||||
|
"r_knee_fe": 0.35,
|
||||||
|
"r_ankle_ie": 0.03606629,
|
||||||
|
"r_ankle_pd": -0.18624892
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"observations": {
|
||||||
|
"obs": {
|
||||||
|
"terms": [
|
||||||
|
{
|
||||||
|
"type": "linear_velocity",
|
||||||
|
"sensor": "imu_lin_vel"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "gyro",
|
||||||
|
"sensor": "imu_ang_vel"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "projected_gravity",
|
||||||
|
"body": "base_link"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "joint_pos_rel",
|
||||||
|
"group": "policy"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "joint_vel",
|
||||||
|
"group": "policy"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "last_action",
|
||||||
|
"group": "policy"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "command",
|
||||||
|
"size": 3
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"actions": [
|
||||||
|
{
|
||||||
|
"type": "joint_position",
|
||||||
|
"group": "torso_yaw",
|
||||||
|
"scale": 0.08,
|
||||||
|
"offset": "default"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "joint_position",
|
||||||
|
"group": "torso_roll",
|
||||||
|
"scale": 0.08,
|
||||||
|
"offset": "default"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "joint_position",
|
||||||
|
"group": "torso_pitch",
|
||||||
|
"scale": 0.08,
|
||||||
|
"offset": "default"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "joint_position",
|
||||||
|
"group": "neck_yaw",
|
||||||
|
"scale": 0.0,
|
||||||
|
"offset": "default"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "joint_position",
|
||||||
|
"group": "neck_roll",
|
||||||
|
"scale": 0.0,
|
||||||
|
"offset": "default"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "joint_position",
|
||||||
|
"group": "neck_pitch",
|
||||||
|
"scale": 0.0,
|
||||||
|
"offset": "default"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "joint_position",
|
||||||
|
"group": "l_shoulder_aa",
|
||||||
|
"scale": 0.0,
|
||||||
|
"offset": "default"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "joint_position",
|
||||||
|
"group": "l_shoulder_ie",
|
||||||
|
"scale": 0.0,
|
||||||
|
"offset": "default"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "joint_position",
|
||||||
|
"group": "l_shoulder_fe",
|
||||||
|
"scale": 0.0,
|
||||||
|
"offset": "default"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "joint_position",
|
||||||
|
"group": "l_elbow_fe",
|
||||||
|
"scale": 0.0,
|
||||||
|
"offset": "default"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "joint_position",
|
||||||
|
"group": "l_wrist_roll",
|
||||||
|
"scale": 0.0,
|
||||||
|
"offset": "default"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "joint_position",
|
||||||
|
"group": "l_wrist_yaw",
|
||||||
|
"scale": 0.0,
|
||||||
|
"offset": "default"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "joint_position",
|
||||||
|
"group": "l_wrist_pitch",
|
||||||
|
"scale": 0.0,
|
||||||
|
"offset": "default"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "joint_position",
|
||||||
|
"group": "r_shoulder_aa",
|
||||||
|
"scale": 0.0,
|
||||||
|
"offset": "default"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "joint_position",
|
||||||
|
"group": "r_shoulder_ie",
|
||||||
|
"scale": 0.0,
|
||||||
|
"offset": "default"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "joint_position",
|
||||||
|
"group": "r_shoulder_fe",
|
||||||
|
"scale": 0.0,
|
||||||
|
"offset": "default"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "joint_position",
|
||||||
|
"group": "r_elbow_fe",
|
||||||
|
"scale": 0.0,
|
||||||
|
"offset": "default"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "joint_position",
|
||||||
|
"group": "r_wrist_roll",
|
||||||
|
"scale": 0.0,
|
||||||
|
"offset": "default"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "joint_position",
|
||||||
|
"group": "r_wrist_yaw",
|
||||||
|
"scale": 0.0,
|
||||||
|
"offset": "default"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "joint_position",
|
||||||
|
"group": "r_wrist_pitch",
|
||||||
|
"scale": 0.0,
|
||||||
|
"offset": "default"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "joint_position",
|
||||||
|
"group": "l_hip_ie",
|
||||||
|
"scale": 0.2,
|
||||||
|
"offset": "default"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "joint_position",
|
||||||
|
"group": "l_hip_aa",
|
||||||
|
"scale": 0.2,
|
||||||
|
"offset": "default"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "joint_position",
|
||||||
|
"group": "l_hip_fe",
|
||||||
|
"scale": 0.3,
|
||||||
|
"offset": "default"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "joint_position",
|
||||||
|
"group": "l_knee_fe",
|
||||||
|
"scale": 0.4,
|
||||||
|
"offset": "default"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "joint_position",
|
||||||
|
"group": "l_ankle_ie",
|
||||||
|
"scale": 0.15,
|
||||||
|
"offset": "default"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "joint_position",
|
||||||
|
"group": "l_ankle_pd",
|
||||||
|
"scale": 0.2,
|
||||||
|
"offset": "default"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "joint_position",
|
||||||
|
"group": "r_hip_ie",
|
||||||
|
"scale": 0.2,
|
||||||
|
"offset": "default"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "joint_position",
|
||||||
|
"group": "r_hip_aa",
|
||||||
|
"scale": 0.2,
|
||||||
|
"offset": "default"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "joint_position",
|
||||||
|
"group": "r_hip_fe",
|
||||||
|
"scale": 0.3,
|
||||||
|
"offset": "default"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "joint_position",
|
||||||
|
"group": "r_knee_fe",
|
||||||
|
"scale": 0.4,
|
||||||
|
"offset": "default"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "joint_position",
|
||||||
|
"group": "r_ankle_ie",
|
||||||
|
"scale": 0.15,
|
||||||
|
"offset": "default"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "joint_position",
|
||||||
|
"group": "r_ankle_pd",
|
||||||
|
"scale": 0.2,
|
||||||
|
"offset": "default"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"actuation": {
|
||||||
|
"type": "native_position"
|
||||||
|
},
|
||||||
|
"commands": {
|
||||||
|
"size": 3,
|
||||||
|
"limits": [
|
||||||
|
0.5,
|
||||||
|
-0.3,
|
||||||
|
0.4
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"skills": [
|
||||||
|
{
|
||||||
|
"id": "walk",
|
||||||
|
"kind": "primary",
|
||||||
|
"owns": "policy",
|
||||||
|
"controller": {
|
||||||
|
"type": "onnx",
|
||||||
|
"policy": "policies/walk.onnx"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"input": {
|
||||||
|
"bindings": [
|
||||||
|
{
|
||||||
|
"action": "move_forward",
|
||||||
|
"codes": [
|
||||||
|
"KeyW",
|
||||||
|
"ArrowUp"
|
||||||
|
],
|
||||||
|
"label": "Forward"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "move_backward",
|
||||||
|
"codes": [
|
||||||
|
"KeyS",
|
||||||
|
"ArrowDown"
|
||||||
|
],
|
||||||
|
"label": "Backward"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "turn_left",
|
||||||
|
"codes": [
|
||||||
|
"KeyA",
|
||||||
|
"ArrowLeft"
|
||||||
|
],
|
||||||
|
"label": "Turn left"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "turn_right",
|
||||||
|
"codes": [
|
||||||
|
"KeyD",
|
||||||
|
"ArrowRight"
|
||||||
|
],
|
||||||
|
"label": "Turn right"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "reset",
|
||||||
|
"codes": [
|
||||||
|
"Space"
|
||||||
|
],
|
||||||
|
"label": "Reset"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "pause",
|
||||||
|
"codes": [
|
||||||
|
"Escape"
|
||||||
|
],
|
||||||
|
"label": "Pause / continue"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "chaseToggle",
|
||||||
|
"codes": [
|
||||||
|
"KeyC"
|
||||||
|
],
|
||||||
|
"label": "Restore chase camera"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"render": {
|
||||||
|
"source": "mjcf_visual",
|
||||||
|
"groups": [
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"camera": {
|
||||||
|
"distance": 3.5
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"presentation": {
|
||||||
|
"theme": "comic"
|
||||||
|
},
|
||||||
|
"termination": {
|
||||||
|
"tilt_z": -0.5,
|
||||||
|
"min_height": 0.98,
|
||||||
|
"on_fall": "hold"
|
||||||
|
},
|
||||||
|
"license": "See LICENSES/apollo.txt and LICENSES/mjlab.txt; policy is locally trained."
|
||||||
|
}
|
||||||
@@ -0,0 +1,303 @@
|
|||||||
|
{
|
||||||
|
"checkpoint": "/home/cen/Embodied_Workspace/Mujoco_Projects/mjlab/logs/rsl_rl/apollo_flat_upright_v3/2026-11-02_17-39-21_apollo_upright_v3/model_9999.pt",
|
||||||
|
"checkpoint_sha256": "608895433d8ff3edfcd06d1ff583d7de1346415897182ec673a32af8af38dcba",
|
||||||
|
"model_source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/apptronik_apollo.xml",
|
||||||
|
"files": [
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/neck_mount_fix_link.stl",
|
||||||
|
"file": "assets/neck_mount_fix_link.stl",
|
||||||
|
"bytes": 2267984,
|
||||||
|
"sha256": "d6f64c42a5bfed7abb0dc48414e58164ad0042a71f5f5fe27382049e48608d7a"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/neck_yaw_link.stl",
|
||||||
|
"file": "assets/neck_yaw_link.stl",
|
||||||
|
"bytes": 3512084,
|
||||||
|
"sha256": "86160c43db315955e9e24c323602a74bad026bdd83df55fecb3413c333b2e453"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/afh_2_1_link.stl",
|
||||||
|
"file": "assets/afh_2_1_link.stl",
|
||||||
|
"bytes": 2711384,
|
||||||
|
"sha256": "76604d5c5db8472bf24322c33fe03b32c0f2dff45985edefb96c11e1c9b0e801"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/torso_link.stl",
|
||||||
|
"file": "assets/torso_link.stl",
|
||||||
|
"bytes": 7500084,
|
||||||
|
"sha256": "0301f1d9c925df169ba12a79cb2dab532156aae3821750cb5820349ac60a92f6"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/battery_mount_fix.stl",
|
||||||
|
"file": "assets/battery_mount_fix.stl",
|
||||||
|
"bytes": 300084,
|
||||||
|
"sha256": "9785105c0b606b5f229b70ba95bd64b239ddb90578f1dc9ccd439f4c182b5c33"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/torso_pitch_link.stl",
|
||||||
|
"file": "assets/torso_pitch_link.stl",
|
||||||
|
"bytes": 705334,
|
||||||
|
"sha256": "dc5174d8a748a0c372641dca94172646693edd1d6ead8fb1259a26cf53a08f93"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/torso_roll_link.stl",
|
||||||
|
"file": "assets/torso_roll_link.stl",
|
||||||
|
"bytes": 1819384,
|
||||||
|
"sha256": "db0bfaecf809e3f877cbdfadcf7e3ec162b4f5f362f61d3ea62d26ab3e1983a6"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/pelvis_link.stl",
|
||||||
|
"file": "assets/pelvis_link.stl",
|
||||||
|
"bytes": 3500084,
|
||||||
|
"sha256": "f344c0928d39626394edff076e9eca00274cbf69830f6ff1b3ff6d019baa1a65"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/l_shoulder_aa_link.stl",
|
||||||
|
"file": "assets/l_shoulder_aa_link.stl",
|
||||||
|
"bytes": 276084,
|
||||||
|
"sha256": "96dea690d6288d5e81b651d4da7214ccf860aed74329d261aaef760533c12742"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/l_shoulder_ie_link.stl",
|
||||||
|
"file": "assets/l_shoulder_ie_link.stl",
|
||||||
|
"bytes": 3142984,
|
||||||
|
"sha256": "1932049068158367e09a6ee70a0a6d908c6e2adc6dcf471cb451205c320c4a2d"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/l_shoulder_fe_link.stl",
|
||||||
|
"file": "assets/l_shoulder_fe_link.stl",
|
||||||
|
"bytes": 2053634,
|
||||||
|
"sha256": "cd6b89ece6320388b792e910ddac222d6e4244d310efe4aa642788dc00232fb4"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/l_elbow_fe_link.stl",
|
||||||
|
"file": "assets/l_elbow_fe_link.stl",
|
||||||
|
"bytes": 1290984,
|
||||||
|
"sha256": "ac17ac98b6564a75886311fe88482b9cdbcb632556c80bdc3fd338dca26d43dd"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/l_wrist_roll_link.stl",
|
||||||
|
"file": "assets/l_wrist_roll_link.stl",
|
||||||
|
"bytes": 2500084,
|
||||||
|
"sha256": "e752b5aca75ebd5430e45ee37c9eb57f4cf9d6def6370c29234c811d40a028c0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/l_wrist_yaw_link.stl",
|
||||||
|
"file": "assets/l_wrist_yaw_link.stl",
|
||||||
|
"bytes": 370384,
|
||||||
|
"sha256": "06b118e59ec0e6308a842f7fd3c572ed657c7d3cb93b17fb1de72ea56b3f27eb"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/l_wrist_pitch_link.stl",
|
||||||
|
"file": "assets/l_wrist_pitch_link.stl",
|
||||||
|
"bytes": 1587934,
|
||||||
|
"sha256": "6ae61d22369ae6ed0f7122df902c9ebabc482891739460cbb953317de24b90ab"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/ability_hand/wrist_adapter.STL",
|
||||||
|
"file": "assets/ability_hand/wrist_adapter.STL",
|
||||||
|
"bytes": 3853984,
|
||||||
|
"sha256": "b1d1c627d239acf058bb5df4b270e8f6ab7728c5b01f5fb7f0d269994f55b1a8"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/ability_hand/wristmesh.STL",
|
||||||
|
"file": "assets/ability_hand/wristmesh.STL",
|
||||||
|
"bytes": 2143184,
|
||||||
|
"sha256": "4d67306f775a5da7d6e8c9c2faddb12f1497ea289a6c7dc1584c213b42da43ee"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/ability_hand/FB_palm_ref.STL",
|
||||||
|
"file": "assets/ability_hand/FB_palm_ref.STL",
|
||||||
|
"bytes": 581984,
|
||||||
|
"sha256": "d9917a43ca1ce6fb2cbf7b651e0ed6b0c322acf75b8485806cc5d5a365b06db0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/ability_hand/idx-F1.STL",
|
||||||
|
"file": "assets/ability_hand/idx-F1.STL",
|
||||||
|
"bytes": 44284,
|
||||||
|
"sha256": "f983d18177fecfdcf0141bd8e94e351fad67f62a74fb70819cdc017ae5af6d0e"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/ability_hand/idx-F2.STL",
|
||||||
|
"file": "assets/ability_hand/idx-F2.STL",
|
||||||
|
"bytes": 24384,
|
||||||
|
"sha256": "37d5e938e9e924fbf0262bd044ee04eec28c73cd73ea91ad97b37bf037c12198"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/ability_hand/thumb-F1.STL",
|
||||||
|
"file": "assets/ability_hand/thumb-F1.STL",
|
||||||
|
"bytes": 6084,
|
||||||
|
"sha256": "b20ec97a4682e85abe977fbe0d0108362719573830556f3b75350fe8a084af21"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/ability_hand/thumb-F2-left.STL",
|
||||||
|
"file": "assets/ability_hand/thumb-F2-left.STL",
|
||||||
|
"bytes": 13484,
|
||||||
|
"sha256": "9dcd48a151fe1de3f3eee0615ac679f0eb4182ae0ebee398d372ea102e718c89"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/r_shoulder_aa_link.stl",
|
||||||
|
"file": "assets/r_shoulder_aa_link.stl",
|
||||||
|
"bytes": 290084,
|
||||||
|
"sha256": "d41fd7d6d599cb28cdd8fb135bc1f905f89acf0f768d771d1c0d24fa54921247"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/r_shoulder_ie_link.stl",
|
||||||
|
"file": "assets/r_shoulder_ie_link.stl",
|
||||||
|
"bytes": 2896884,
|
||||||
|
"sha256": "0ccc0413f98ed9a9549a6a6cbc0395c69fa4516381956d37b7717c0cb8e89dbd"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/r_shoulder_fe_link.stl",
|
||||||
|
"file": "assets/r_shoulder_fe_link.stl",
|
||||||
|
"bytes": 2053084,
|
||||||
|
"sha256": "9d702645d36fc09958b9c61cb92cab48c4902b2049f0d7839cea61761c521fd0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/r_elbow_fe_link.stl",
|
||||||
|
"file": "assets/r_elbow_fe_link.stl",
|
||||||
|
"bytes": 1290684,
|
||||||
|
"sha256": "9564899c9031c4d68942c5d6e065d3e8b39634bcaaf0a23b91f0241420d8530f"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/r_wrist_roll_link.stl",
|
||||||
|
"file": "assets/r_wrist_roll_link.stl",
|
||||||
|
"bytes": 2500084,
|
||||||
|
"sha256": "97a2459f5cba8c03a59c9f8a7e9795a91c1b46a5d81d054bbb6cbb629e8cdafd"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/r_wrist_yaw_link.stl",
|
||||||
|
"file": "assets/r_wrist_yaw_link.stl",
|
||||||
|
"bytes": 369534,
|
||||||
|
"sha256": "84ac6e91f41cd993ceba238969e7b09facc1733df603ac7dc439dfb327c60c12"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/r_wrist_pitch_link.stl",
|
||||||
|
"file": "assets/r_wrist_pitch_link.stl",
|
||||||
|
"bytes": 1589534,
|
||||||
|
"sha256": "61a85a23dc80ebbe954fcc669655d36159d4a7cb91a7a815f244f5ff94455f30"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/ability_hand/FB_palm_ref_MIR.STL",
|
||||||
|
"file": "assets/ability_hand/FB_palm_ref_MIR.STL",
|
||||||
|
"bytes": 581984,
|
||||||
|
"sha256": "3d0e9d29efbd8deb94bfab1c84464a2c46a33e839cb5f553115b27d2610193c2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/ability_hand/thumb-F1-MIR.STL",
|
||||||
|
"file": "assets/ability_hand/thumb-F1-MIR.STL",
|
||||||
|
"bytes": 6084,
|
||||||
|
"sha256": "0ff962d2c6f8b0af39607439f4d48a247e4eb925f7a0c20ca00b0d27d8e7c2e0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/ability_hand/thumb-F2-right.STL",
|
||||||
|
"file": "assets/ability_hand/thumb-F2-right.STL",
|
||||||
|
"bytes": 13484,
|
||||||
|
"sha256": "09623bce14d85db7b035ab4333f702505fa13f834845adda1179544d3c456a77"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/l_hip_ie_link.stl",
|
||||||
|
"file": "assets/l_hip_ie_link.stl",
|
||||||
|
"bytes": 2961884,
|
||||||
|
"sha256": "db5e43d77b0308b0aaed54b54f022c90d8d8efc9f809de14d8eee8ddda2d7430"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/l_hip_aa_link.stl",
|
||||||
|
"file": "assets/l_hip_aa_link.stl",
|
||||||
|
"bytes": 538784,
|
||||||
|
"sha256": "9192292ec7093bde26d5ead25685d69e1a75d079f5cd800ae1817e789977c515"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/l_hip_fe_link.stl",
|
||||||
|
"file": "assets/l_hip_fe_link.stl",
|
||||||
|
"bytes": 2499784,
|
||||||
|
"sha256": "3c0729f7988d19a99caecda8afedd690dfc939cf2017680b15af7906186aecf2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/l_knee_fe_link.stl",
|
||||||
|
"file": "assets/l_knee_fe_link.stl",
|
||||||
|
"bytes": 1403484,
|
||||||
|
"sha256": "818d5660fb778eae7d28c05be806f76cbc298bd4fe8a8db7417a93b8ee9b48ed"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/l_ankle_ie_link.stl",
|
||||||
|
"file": "assets/l_ankle_ie_link.stl",
|
||||||
|
"bytes": 679134,
|
||||||
|
"sha256": "1e5526d09d5f418c4c428e5e58497c2807df06742e0e24874ccbcadd11e9bea1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/l_foot_link.stl",
|
||||||
|
"file": "assets/l_foot_link.stl",
|
||||||
|
"bytes": 1841984,
|
||||||
|
"sha256": "6506c651d16a4fcf6f8ce37a056b349bd1abea1c4526866383249addd3609659"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/r_hip_ie_link.stl",
|
||||||
|
"file": "assets/r_hip_ie_link.stl",
|
||||||
|
"bytes": 2961634,
|
||||||
|
"sha256": "3b9cee0dab3e564b12fd6293fe21da1724261dd7347e184d84239d60cfe6551c"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/r_hip_aa_link.stl",
|
||||||
|
"file": "assets/r_hip_aa_link.stl",
|
||||||
|
"bytes": 539884,
|
||||||
|
"sha256": "5cca53bcd1cedff71106dd0d276d6767e1bd7a7ceb6a6a0601b28c7d4361f79c"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/r_hip_fe_link.stl",
|
||||||
|
"file": "assets/r_hip_fe_link.stl",
|
||||||
|
"bytes": 2103184,
|
||||||
|
"sha256": "53bbb28f4688e4a9562d6d54a51c1d7784774117ecb2034f10f6f9ee470e0fa7"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/r_knee_fe_link.stl",
|
||||||
|
"file": "assets/r_knee_fe_link.stl",
|
||||||
|
"bytes": 1386984,
|
||||||
|
"sha256": "19a73643d4dd8ff90894b0a712cf828c7f79a8091218ad2dee8fec419f5f0666"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/r_ankle_ie_link.stl",
|
||||||
|
"file": "assets/r_ankle_ie_link.stl",
|
||||||
|
"bytes": 652134,
|
||||||
|
"sha256": "cb33be19fe5202b6ed638c1816e3ba8e14d8407be9e0045c6e644f1fd54a5056"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/assets/r_foot_link.stl",
|
||||||
|
"file": "assets/r_foot_link.stl",
|
||||||
|
"bytes": 1845934,
|
||||||
|
"sha256": "0ea4a2c27a89f944cd838c6c6c471c1b3a859bc4174c86c41773e6a20079b903"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/Mujoco_Projects/mjlab/logs/rsl_rl/apollo_flat_upright_v3/2026-11-02_17-39-21_apollo_upright_v3/2026-11-02_17-39-21_apollo_upright_v3.onnx",
|
||||||
|
"file": "policies/walk.onnx",
|
||||||
|
"bytes": 900731,
|
||||||
|
"sha256": "0dc72b1965b9a37d43c4224dc5dd81d8df8520b40ed02d6ef7ff44e0e90987b5"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/PlatformProject/apptronik_apollo/LICENSE",
|
||||||
|
"file": "LICENSES/apollo.txt",
|
||||||
|
"bytes": 11344,
|
||||||
|
"sha256": "10b53325854d8aa8172b846f96eb47d5fbba6366161c480292cf4627606ef430"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/home/cen/Embodied_Workspace/Mujoco_Projects/mjlab/LICENSE",
|
||||||
|
"file": "LICENSES/mjlab.txt",
|
||||||
|
"bytes": 11352,
|
||||||
|
"sha256": "8ca04d9dbbccd20f0f1842fb33e13949f9e57064b150dad36af8e7a751ca3321"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"behaviorReferences": [
|
||||||
|
{
|
||||||
|
"file": "src/mjlab/asset_zoo/robots/apptronik_apollo/apollo_constants.py",
|
||||||
|
"sha256": "29b341ce6603f77d15a608b9b2a4a3005c0db5b569006a154f894e8b18b1d8b1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "src/mjlab/tasks/velocity/config/apptronik_apollo/env_cfgs.py",
|
||||||
|
"sha256": "5170f829d2753eed8859e7a6c29b615c30da27a33d3c428a9836518b6f1a87a8"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "src/mjlab/tasks/velocity/velocity_env_cfg.py",
|
||||||
|
"sha256": "8a272a8b3c81c4a0321027e404645c99a4143076522ed3521636bf293dd3137b"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -22,5 +22,17 @@
|
|||||||
"family": "rp1",
|
"family": "rp1",
|
||||||
"name": "RP1",
|
"name": "RP1",
|
||||||
"manifest": "rp1/robot.json"
|
"manifest": "rp1/robot.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "t1",
|
||||||
|
"family": "t1",
|
||||||
|
"name": "Booster T1",
|
||||||
|
"manifest": "t1/robot.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "apollo",
|
||||||
|
"family": "apollo",
|
||||||
|
"name": "Apptronik Apollo",
|
||||||
|
"manifest": "apollo/robot.json"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -30,6 +30,18 @@ Source archives under `robolab/data/motions/rp1_bm/`:
|
|||||||
|
|
||||||
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.
|
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
|
## 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.
|
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.
|
||||||
|
|||||||
@@ -678,7 +678,259 @@
|
|||||||
],
|
],
|
||||||
"camera": {
|
"camera": {
|
||||||
"distance": 2.4
|
"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": {
|
"presentation": {
|
||||||
"theme": "comic"
|
"theme": "comic"
|
||||||
|
|||||||
@@ -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"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
LFS
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,28 @@
|
|||||||
|
BSD 3-Clause License
|
||||||
|
|
||||||
|
Copyright (c) 2025, BoosterRobotics
|
||||||
|
|
||||||
|
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.
|
||||||
@@ -0,0 +1,202 @@
|
|||||||
|
|
||||||
|
Apache License
|
||||||
|
Version 2.0, January 2004
|
||||||
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||||
|
|
||||||
|
1. Definitions.
|
||||||
|
|
||||||
|
"License" shall mean the terms and conditions for use, reproduction,
|
||||||
|
and distribution as defined by Sections 1 through 9 of this document.
|
||||||
|
|
||||||
|
"Licensor" shall mean the copyright owner or entity authorized by
|
||||||
|
the copyright owner that is granting the License.
|
||||||
|
|
||||||
|
"Legal Entity" shall mean the union of the acting entity and all
|
||||||
|
other entities that control, are controlled by, or are under common
|
||||||
|
control with that entity. For the purposes of this definition,
|
||||||
|
"control" means (i) the power, direct or indirect, to cause the
|
||||||
|
direction or management of such entity, whether by contract or
|
||||||
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||||
|
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||||
|
|
||||||
|
"You" (or "Your") shall mean an individual or Legal Entity
|
||||||
|
exercising permissions granted by this License.
|
||||||
|
|
||||||
|
"Source" form shall mean the preferred form for making modifications,
|
||||||
|
including but not limited to software source code, documentation
|
||||||
|
source, and configuration files.
|
||||||
|
|
||||||
|
"Object" form shall mean any form resulting from mechanical
|
||||||
|
transformation or translation of a Source form, including but
|
||||||
|
not limited to compiled object code, generated documentation,
|
||||||
|
and conversions to other media types.
|
||||||
|
|
||||||
|
"Work" shall mean the work of authorship, whether in Source or
|
||||||
|
Object form, made available under the License, as indicated by a
|
||||||
|
copyright notice that is included in or attached to the work
|
||||||
|
(an example is provided in the Appendix below).
|
||||||
|
|
||||||
|
"Derivative Works" shall mean any work, whether in Source or Object
|
||||||
|
form, that is based on (or derived from) the Work and for which the
|
||||||
|
editorial revisions, annotations, elaborations, or other modifications
|
||||||
|
represent, as a whole, an original work of authorship. For the purposes
|
||||||
|
of this License, Derivative Works shall not include works that remain
|
||||||
|
separable from, or merely link (or bind by name) to the interfaces of,
|
||||||
|
the Work and Derivative Works thereof.
|
||||||
|
|
||||||
|
"Contribution" shall mean any work of authorship, including
|
||||||
|
the original version of the Work and any modifications or additions
|
||||||
|
to that Work or Derivative Works thereof, that is intentionally
|
||||||
|
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||||
|
or by an individual or Legal Entity authorized to submit on behalf of
|
||||||
|
the copyright owner. For the purposes of this definition, "submitted"
|
||||||
|
means any form of electronic, verbal, or written communication sent
|
||||||
|
to the Licensor or its representatives, including but not limited to
|
||||||
|
communication on electronic mailing lists, source code control systems,
|
||||||
|
and issue tracking systems that are managed by, or on behalf of, the
|
||||||
|
Licensor for the purpose of discussing and improving the Work, but
|
||||||
|
excluding communication that is conspicuously marked or otherwise
|
||||||
|
designated in writing by the copyright owner as "Not a Contribution."
|
||||||
|
|
||||||
|
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||||
|
on behalf of whom a Contribution has been received by Licensor and
|
||||||
|
subsequently incorporated within the Work.
|
||||||
|
|
||||||
|
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
copyright license to reproduce, prepare Derivative Works of,
|
||||||
|
publicly display, publicly perform, sublicense, and distribute the
|
||||||
|
Work and such Derivative Works in Source or Object form.
|
||||||
|
|
||||||
|
3. Grant of Patent License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
(except as stated in this section) patent license to make, have made,
|
||||||
|
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||||
|
where such license applies only to those patent claims licensable
|
||||||
|
by such Contributor that are necessarily infringed by their
|
||||||
|
Contribution(s) alone or by combination of their Contribution(s)
|
||||||
|
with the Work to which such Contribution(s) was submitted. If You
|
||||||
|
institute patent litigation against any entity (including a
|
||||||
|
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||||
|
or a Contribution incorporated within the Work constitutes direct
|
||||||
|
or contributory patent infringement, then any patent licenses
|
||||||
|
granted to You under this License for that Work shall terminate
|
||||||
|
as of the date such litigation is filed.
|
||||||
|
|
||||||
|
4. Redistribution. You may reproduce and distribute copies of the
|
||||||
|
Work or Derivative Works thereof in any medium, with or without
|
||||||
|
modifications, and in Source or Object form, provided that You
|
||||||
|
meet the following conditions:
|
||||||
|
|
||||||
|
(a) You must give any other recipients of the Work or
|
||||||
|
Derivative Works a copy of this License; and
|
||||||
|
|
||||||
|
(b) You must cause any modified files to carry prominent notices
|
||||||
|
stating that You changed the files; and
|
||||||
|
|
||||||
|
(c) You must retain, in the Source form of any Derivative Works
|
||||||
|
that You distribute, all copyright, patent, trademark, and
|
||||||
|
attribution notices from the Source form of the Work,
|
||||||
|
excluding those notices that do not pertain to any part of
|
||||||
|
the Derivative Works; and
|
||||||
|
|
||||||
|
(d) If the Work includes a "NOTICE" text file as part of its
|
||||||
|
distribution, then any Derivative Works that You distribute must
|
||||||
|
include a readable copy of the attribution notices contained
|
||||||
|
within such NOTICE file, excluding those notices that do not
|
||||||
|
pertain to any part of the Derivative Works, in at least one
|
||||||
|
of the following places: within a NOTICE text file distributed
|
||||||
|
as part of the Derivative Works; within the Source form or
|
||||||
|
documentation, if provided along with the Derivative Works; or,
|
||||||
|
within a display generated by the Derivative Works, if and
|
||||||
|
wherever such third-party notices normally appear. The contents
|
||||||
|
of the NOTICE file are for informational purposes only and
|
||||||
|
do not modify the License. You may add Your own attribution
|
||||||
|
notices within Derivative Works that You distribute, alongside
|
||||||
|
or as an addendum to the NOTICE text from the Work, provided
|
||||||
|
that such additional attribution notices cannot be construed
|
||||||
|
as modifying the License.
|
||||||
|
|
||||||
|
You may add Your own copyright statement to Your modifications and
|
||||||
|
may provide additional or different license terms and conditions
|
||||||
|
for use, reproduction, or distribution of Your modifications, or
|
||||||
|
for any such Derivative Works as a whole, provided Your use,
|
||||||
|
reproduction, and distribution of the Work otherwise complies with
|
||||||
|
the conditions stated in this License.
|
||||||
|
|
||||||
|
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||||
|
any Contribution intentionally submitted for inclusion in the Work
|
||||||
|
by You to the Licensor shall be under the terms and conditions of
|
||||||
|
this License, without any additional terms or conditions.
|
||||||
|
Notwithstanding the above, nothing herein shall supersede or modify
|
||||||
|
the terms of any separate license agreement you may have executed
|
||||||
|
with Licensor regarding such Contributions.
|
||||||
|
|
||||||
|
6. Trademarks. This License does not grant permission to use the trade
|
||||||
|
names, trademarks, service marks, or product names of the Licensor,
|
||||||
|
except as required for reasonable and customary use in describing the
|
||||||
|
origin of the Work and reproducing the content of the NOTICE file.
|
||||||
|
|
||||||
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||||
|
agreed to in writing, Licensor provides the Work (and each
|
||||||
|
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
implied, including, without limitation, any warranties or conditions
|
||||||
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||||
|
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||||
|
appropriateness of using or redistributing the Work and assume any
|
||||||
|
risks associated with Your exercise of permissions under this License.
|
||||||
|
|
||||||
|
8. Limitation of Liability. In no event and under no legal theory,
|
||||||
|
whether in tort (including negligence), contract, or otherwise,
|
||||||
|
unless required by applicable law (such as deliberate and grossly
|
||||||
|
negligent acts) or agreed to in writing, shall any Contributor be
|
||||||
|
liable to You for damages, including any direct, indirect, special,
|
||||||
|
incidental, or consequential damages of any character arising as a
|
||||||
|
result of this License or out of the use or inability to use the
|
||||||
|
Work (including but not limited to damages for loss of goodwill,
|
||||||
|
work stoppage, computer failure or malfunction, or any and all
|
||||||
|
other commercial damages or losses), even if such Contributor
|
||||||
|
has been advised of the possibility of such damages.
|
||||||
|
|
||||||
|
9. Accepting Warranty or Additional Liability. While redistributing
|
||||||
|
the Work or Derivative Works thereof, You may choose to offer,
|
||||||
|
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||||
|
or other liability obligations and/or rights consistent with this
|
||||||
|
License. However, in accepting such obligations, You may act only
|
||||||
|
on Your own behalf and on Your sole responsibility, not on behalf
|
||||||
|
of any other Contributor, and only if You agree to indemnify,
|
||||||
|
defend, and hold each Contributor harmless for any liability
|
||||||
|
incurred by, or claims asserted against, such Contributor by reason
|
||||||
|
of your accepting any such warranty or additional liability.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
APPENDIX: How to apply the Apache License to your work.
|
||||||
|
|
||||||
|
To apply the Apache License to your work, attach the following
|
||||||
|
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||||
|
replaced with your own identifying information. (Don't include
|
||||||
|
the brackets!) The text should be enclosed in the appropriate
|
||||||
|
comment syntax for the file format. We also recommend that a
|
||||||
|
file or class name and description of purpose be included on the
|
||||||
|
same "printed page" as the copyright notice for easier
|
||||||
|
identification within third-party archives.
|
||||||
|
|
||||||
|
Copyright 2025, The mjlab Developers
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user