Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2b0c395508 |
@@ -11,10 +11,18 @@ license: apache-2.0
|
||||
|
||||
# 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.
|
||||
|
||||
## 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.
|
||||
@@ -30,6 +38,8 @@ The application opens directly into simulation, defaults to Microduck, and keeps
|
||||
| Microban | Shared robot-scaled 5.5 × 5.5 m arena, interactive geometries, textured per-body GLB visuals | Walking policy + independent head rotation |
|
||||
| RP1 | Shared robot-scaled 22 × 22 m arena, interactive geometries, user-supplied textured GLB visuals on original 24-DOF physics | Completed walking policy; trained 10 s dance segment (J) and full 4.36 s wave (H) |
|
||||
|
||||
**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).
|
||||
@@ -60,7 +70,7 @@ The football is removed. One browser session randomly generates **5–7 lightwei
|
||||
|
||||
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). Dragging any robot or interactive geometry applies physical forces; dragging empty space orbits the camera, consistently for all three robots. Gamepad / touch are not part of this release's acceptance scope.
|
||||
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
|
||||
|
||||
@@ -75,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.
|
||||
|
||||
## 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
|
||||
|
||||
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([]);
|
||||
});
|
||||
+1
-1
@@ -23,7 +23,7 @@ test("third robot: real WASM/ONNX, keyboard command contract, trained skill bind
|
||||
await boot(page);
|
||||
expect(
|
||||
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.lastAction.length)).toBe(24);
|
||||
await page
|
||||
|
||||
@@ -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",
|
||||
"version": "0.5.0",
|
||||
"version": "0.6.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "microduck-sandbox",
|
||||
"version": "0.5.0",
|
||||
"version": "0.6.0",
|
||||
"dependencies": {
|
||||
"@emotion/react": "^11.14.0",
|
||||
"@emotion/styled": "^11.14.1",
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "microduck-sandbox",
|
||||
"private": true,
|
||||
"version": "0.5.0",
|
||||
"version": "0.6.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"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",
|
||||
"name": "RP1",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -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.
|
||||
@@ -0,0 +1,35 @@
|
||||
# Booster T1 package
|
||||
|
||||
Imported from the local `mjlab` T1 flat-velocity task and `booster_assets/robots/T1/T1_23dof.xml`.
|
||||
|
||||
## Policy snapshot
|
||||
|
||||
- Training run: `2026-11-02_15-03-39_t1_flat`.
|
||||
- Latest checkpoint at import: `model_6700.pt`; corresponding run-name ONNX export is bundled as `policies/walk.onnx`.
|
||||
- Training may continue independently. This package intentionally pins the tested snapshot; it does not hot-reload weights.
|
||||
- File hashes and source paths: `source-manifest.json`.
|
||||
|
||||
## Fidelity
|
||||
|
||||
23 controlled joints; 81 observations in exported policy order: body-frame linear velocity, angular velocity, projected gravity, relative joint positions, joint velocities, previous raw actions, and body-frame velocity command. The ONNX contains the exported observation normalization.
|
||||
|
||||
The MJCF is generated through mjlab's `Entity(get_t1_robot_cfg())`, preserving inertias, armatures, collision masks and native position actuators with per-joint gains and torque limits. Actions use the full-precision training scales (not the rounded ONNX metadata). Simulation timestep is 5 ms with four substeps (50 Hz policy), implicitfast/Newton. Training randomization is disabled; the platform supplies its shared floor, walls and props. Meshes are the source STL visuals; no texture replacement is included.
|
||||
|
||||
W/S command +0.6/-0.4 m/s; A/D command +0.6/-0.6 rad/s. Space resets, Escape pauses, C restores the chase camera. A fall holds targets pending manual reset; no recovery policy is supplied.
|
||||
|
||||
Browser verification: five separate 5-second standing/forward/backward/left/right trials remained upright with finite states. Forward/backward displacement was +2.84/-1.68 m; left/right yaw was +2.97/-2.82 rad. Keyboard press/release, reset and robot switching also passed. This is simulation validation, not hardware qualification.
|
||||
|
||||
## Re-import
|
||||
|
||||
From repository root:
|
||||
|
||||
```sh
|
||||
/path/to/mjlab/.venv/bin/python app/scripts/import-t1.py /path/to/mjlab
|
||||
cd app
|
||||
npm run validate:packages
|
||||
npx playwright test t1.spec.js
|
||||
```
|
||||
|
||||
The importer selects the newest run and its highest numbered checkpoint, and requires a non-stale ONNX export. `BOOSTER_ASSETS_ROOT` can override the asset checkout. Re-run the browser tests after updating weights.
|
||||
|
||||
Licenses from both source repositories are preserved in `LICENSES/`; the policy was trained locally. Confirm asset/model redistribution rights before public deployment.
|
||||
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,213 @@
|
||||
<mujoco model="T1">
|
||||
<compiler angle="radian" meshdir="meshes/" />
|
||||
<asset>
|
||||
<texture type="skybox" colorspace="auto" builtin="gradient" rgb1="0.3 0.5 0.7" rgb2="0 0 0" width="512" height="3072" />
|
||||
<texture type="2d" colorspace="auto" name="texplane" builtin="checker" mark="cross" rgb1="0.2 0.3 0.4" rgb2="0.1 0.15 0.2" markrgb="0.8 0.8 0.8" width="512" height="512" />
|
||||
<material name="matplane" texture="texplane" texuniform="true" reflectance="0.3" />
|
||||
<mesh name="Trunk" file="Trunk.STL" />
|
||||
<mesh name="H1" file="H1.STL" />
|
||||
<mesh name="H2" file="H2.STL" />
|
||||
<mesh name="AL1" file="AL1.STL" />
|
||||
<mesh name="AL2" file="AL2.STL" />
|
||||
<mesh name="AL3" file="AL3.STL" />
|
||||
<mesh name="left_hand_link" file="left_hand_link.STL" />
|
||||
<mesh name="AR1" file="AR1.STL" />
|
||||
<mesh name="AR2" file="AR2.STL" />
|
||||
<mesh name="AR3" file="AR3.STL" />
|
||||
<mesh name="right_hand_link" file="right_hand_link.STL" />
|
||||
<mesh name="Waist" file="Waist.STL" />
|
||||
<mesh name="Hip_Pitch_Left" file="Hip_Pitch_Left.STL" />
|
||||
<mesh name="Hip_Roll_Left" file="Hip_Roll_Left.STL" />
|
||||
<mesh name="Hip_Yaw_Left" file="Hip_Yaw_Left.STL" />
|
||||
<mesh name="Shank_Left" file="Shank_Left.STL" />
|
||||
<mesh name="Ankle_Cross_Left" file="Ankle_Cross_Left.STL" />
|
||||
<mesh name="left_foot_link" file="left_foot_link.STL" />
|
||||
<mesh name="Hip_Pitch_Right" file="Hip_Pitch_Right.STL" />
|
||||
<mesh name="Hip_Roll_Right" file="Hip_Roll_Right.STL" />
|
||||
<mesh name="Hip_Yaw_Right" file="Hip_Yaw_Right.STL" />
|
||||
<mesh name="Shank_Right" file="Shank_Right.STL" />
|
||||
<mesh name="Ankle_Cross_Right" file="Ankle_Cross_Right.STL" />
|
||||
<mesh name="right_foot_link" file="right_foot_link.STL" />
|
||||
<mesh name="Logo" file="Logo.STL" />
|
||||
</asset>
|
||||
<worldbody>
|
||||
<body name="trunk" pos="0 0 0.7">
|
||||
<inertial pos="0.055138 -1.42184e-06 0.105043" quat="0.999959 1.39867e-05 -0.00902028 -1.39205e-05" mass="11.7016" diaginertia="0.0915734 0.0768118 0.0556067" />
|
||||
<joint name="world_joint" type="free" />
|
||||
<geom name="trunk_visual_0" quat="1 0 0 0" type="mesh" contype="0" conaffinity="0" group="1" rgba="0.76 0.76 0.76 1" density="0" mesh="Trunk" />
|
||||
<geom name="trunk_collision_1" size="0.085 0.09 0.145" pos="0.06 0 0.12" type="box" contype="0" condim="1" group="3" friction="0.8" rgba="0.76 0.76 0.76 0" />
|
||||
<geom name="trunk_visual_2" type="mesh" contype="0" conaffinity="0" group="1" rgba="0.1 0.1 0.1 1" density="0" mesh="Logo" />
|
||||
<site name="imu" size="0.01" />
|
||||
<body name="aahead_yaw_link" pos="0.0625 0 0.243">
|
||||
<inertial pos="-0.000508 -0.001403 0.057432" quat="0.763881 -0.0132172 0.00173419 0.645219" mass="0.44391" diaginertia="0.000241549 0.00022351 0.000149941" />
|
||||
<joint name="aahead_yaw_joint" range="-1.309 1.309" armature="0.0018" />
|
||||
<geom name="aahead_yaw_link_visual_0" quat="1 0 0 0" type="mesh" contype="0" conaffinity="0" group="1" rgba="0.4 0.4 0.4 1" density="0" mesh="H1" />
|
||||
<geom name="aahead_yaw_link_collision_1" size="0.025 0.035" pos="0 0 0.06" quat="0.707105 0.707108 0 0" type="cylinder" contype="0" condim="1" group="3" friction="0.8" rgba="0.4 0.4 0.4 0" />
|
||||
<body name="aahead_pitch_link" pos="0 0 0.06185">
|
||||
<inertial pos="0.007802 0.001262 0.098631" quat="0.988453 0.106172 -0.0745686 -0.0782786" mass="0.631019" diaginertia="0.00203553 0.00192467 0.00172381" />
|
||||
<joint name="aahead_pitch_joint" range="-0.35 0.96" armature="0.0018" axis="0 1 0" />
|
||||
<geom name="aahead_pitch_link_visual_0" type="mesh" contype="0" conaffinity="0" group="1" rgba="0.4 0.4 0.4 1" density="0" mesh="H2" />
|
||||
<geom name="aahead_pitch_link_collision_1" size="0.08" pos="0.01 0 0.11" contype="0" condim="1" group="3" friction="0.8" rgba="0.4 0.4 0.4 0.5" />
|
||||
<body name="head_realsense_rgb_link" pos="0.063961 -0.0115 0.108406" quat="0.463904 -0.53366 0.53366 -0.463904" />
|
||||
</body>
|
||||
</body>
|
||||
<body name="left_shoulder_pitch_link" pos="0.0575 0.1063 0.219" quat="1 0 0.000440565 0">
|
||||
<inertial pos="-0.000677 0.044974 0" quat="0.50423 0.495734 -0.50423 0.495734" mass="0.53" diaginertia="0.001367 0.00129329 0.000292711" />
|
||||
<joint name="left_shoulder_pitch_joint" range="-3.276 1.196" armature="0.0282528" axis="0 1 0" />
|
||||
<geom name="left_shoulder_pitch_link_visual_0" pos="0 0 0" quat="1 0 0 0" type="mesh" contype="0" conaffinity="0" group="1" rgba="0.76 0.76 0.76 1" density="0" mesh="AL1" />
|
||||
<geom name="left_shoulder_pitch_link_collision_1" size="0.03 0.035" pos="0 0.047 0" quat="0.707105 0 0.707108 0" type="cylinder" contype="0" condim="1" group="3" friction="0.8" rgba="0.76 0.76 0.76 0" />
|
||||
<body name="left_shoulder_roll_link" pos="0 0.047 0">
|
||||
<inertial pos="0.003862 0.037976 0" quat="0.487991 0.511727 -0.487991 0.511727" mass="0.16" diaginertia="0.000401 0.00034538 0.00017662" />
|
||||
<joint name="left_shoulder_roll_joint" range="-1.623 1.736" armature="0.0282528" axis="1 0 0" />
|
||||
<geom name="left_shoulder_roll_link_visual_0" pos="0 0 0" quat="1 0 0 0" type="mesh" contype="0" conaffinity="0" group="1" rgba="0.4 0.4 0.4 1" density="0" mesh="AL2" />
|
||||
<body name="left_elbow_pitch_link" pos="0.00025 0.0605 0">
|
||||
<inertial pos="0 0.085353 -9.9e-05" quat="0.70641 0.707803 0 0" mass="1.02" diaginertia="0.012869 0.012798 0.000620953" />
|
||||
<joint name="left_elbow_pitch_joint" range="-2.235 2.235" armature="0.0282528" axis="0 1 0" />
|
||||
<geom name="left_elbow_pitch_link_visual_0" pos="0 0 0" quat="1 0 0 0" type="mesh" contype="0" conaffinity="0" group="1" rgba="0.4 0.4 0.4 1" density="0" mesh="AL3" />
|
||||
<geom name="left_elbow_pitch_link_collision_1" size="0.03 0.095" pos="0 0.07 0" quat="0.707105 0.707108 0 0" type="cylinder" contype="0" condim="1" group="3" friction="0.8" rgba="0.4 0.4 0.4 0" />
|
||||
<body name="left_elbow_yaw_link" pos="0 0.1471 0">
|
||||
<inertial pos="-0.000107344 0.11022 0.00058741" quat="0.707869 0.706344 -5.3547e-05 -0.000214933" mass="0.329214" diaginertia="0.00819152 0.00816355 0.000224963" />
|
||||
<joint name="left_elbow_yaw_joint" range="-2.077 1.658" armature="0.0282528" />
|
||||
<geom name="left_elbow_yaw_link_visual_0" pos="0 0 0" quat="1 0 0 0" type="mesh" contype="0" conaffinity="0" group="1" rgba="0.4 0.4 0.4 1" density="0" mesh="left_hand_link" />
|
||||
<geom name="left_elbow_yaw_link_collision_1" size="0.029 0.065" pos="0 0.12 0" quat="0.707105 0.707108 0 0" type="cylinder" contype="0" condim="1" group="3" friction="0.8" rgba="0.4 0.4 0.4 0" />
|
||||
<geom name="left_elbow_yaw_link_collision_2" size="0.031" pos="0 0.216 0" contype="0" condim="1" group="3" friction="0.8" />
|
||||
</body>
|
||||
</body>
|
||||
</body>
|
||||
</body>
|
||||
<body name="right_shoulder_pitch_link" pos="0.0575 -0.1063 0.219" quat="1 0 0.000440565 0">
|
||||
<inertial pos="-0.000677 -0.044974 0" quat="0.50423 0.495734 -0.50423 0.495734" mass="0.53" diaginertia="0.001367 0.00129329 0.000292711" />
|
||||
<joint name="right_shoulder_pitch_joint" range="-3.276 1.196" armature="0.0282528" axis="0 1 0" />
|
||||
<geom name="right_shoulder_pitch_link_visual_0" pos="0 0 0" quat="1 0 0 0" type="mesh" contype="0" conaffinity="0" group="1" rgba="0.76 0.76 0.76 1" density="0" mesh="AR1" />
|
||||
<geom name="right_shoulder_pitch_link_collision_1" size="0.03 0.035" pos="0 -0.047 0" quat="0.707105 0 0.707108 0" type="cylinder" contype="0" condim="1" group="3" friction="0.8" rgba="0.76 0.76 0.76 0" />
|
||||
<body name="right_shoulder_roll_link" pos="0 -0.047 0">
|
||||
<inertial pos="0.003862 -0.037976 0" quat="0.511727 0.487991 -0.511727 0.487991" mass="0.16" diaginertia="0.000401 0.00034538 0.00017662" />
|
||||
<joint name="right_shoulder_roll_joint" range="-1.736 1.623" armature="0.0282528" axis="1 0 0" />
|
||||
<geom name="right_shoulder_roll_link_visual_0" pos="0 0 0" quat="1 0 0 0" type="mesh" contype="0" conaffinity="0" group="1" rgba="0.4 0.4 0.4 1" density="0" mesh="AR2" />
|
||||
<body name="right_elbow_pitch_link" pos="0.00025 -0.0605 0">
|
||||
<inertial pos="0 -0.085353 -9.9e-05" quat="0.707803 0.70641 0 0" mass="1.02" diaginertia="0.012869 0.012798 0.000620953" />
|
||||
<joint name="right_elbow_pitch_joint" range="-2.235 2.235" armature="0.0282528" axis="0 1 0" />
|
||||
<geom name="right_elbow_pitch_link_visual_0" quat="1 0 0 0" type="mesh" contype="0" conaffinity="0" group="1" rgba="0.4 0.4 0.4 1" density="0" mesh="AR3" />
|
||||
<geom name="right_elbow_pitch_link_collision_1" size="0.03 0.095" pos="0 -0.07 0" quat="0.707105 0.707108 0 0" type="cylinder" contype="0" condim="1" group="3" friction="0.8" rgba="0.4 0.4 0.4 0" />
|
||||
<body name="right_elbow_yaw_link" pos="0 -0.1471 0">
|
||||
<inertial pos="-0.000107344 -0.11022 0.00058741" quat="0.706344 0.707869 0.000214933 5.3547e-05" mass="0.329214" diaginertia="0.00819152 0.00816355 0.000224963" />
|
||||
<joint name="right_elbow_yaw_joint" range="-1.658 2.077" armature="0.0282528" />
|
||||
<geom name="right_elbow_yaw_link_visual_0" pos="0 0 0" quat="1 0 0 0" type="mesh" contype="0" conaffinity="0" group="1" rgba="0.4 0.4 0.4 1" density="0" mesh="right_hand_link" />
|
||||
<geom name="right_elbow_yaw_link_collision_1" size="0.029 0.065" pos="0 -0.12 0" quat="0.707105 0.707108 0 0" type="cylinder" contype="0" condim="1" group="3" friction="0.8" rgba="0.4 0.4 0.4 0" />
|
||||
<geom name="right_elbow_yaw_link_collision_2" size="0.031" pos="0 -0.216 0" contype="0" condim="1" group="3" friction="0.8" />
|
||||
</body>
|
||||
</body>
|
||||
</body>
|
||||
</body>
|
||||
<body name="waist_yaw_link" pos="0.0625 0 -0.1155">
|
||||
<inertial pos="0.002284 3e-06 0.007301" quat="0.983649 0.000360386 -0.180076 0.00269791" mass="2.581" diaginertia="0.00536742 0.005299 0.00474258" />
|
||||
<joint name="waist_yaw_joint" range="-1.012 1.012" armature="0.0478125" />
|
||||
<geom name="waist_yaw_link_visual_0" quat="1 0 0 0" type="mesh" contype="0" conaffinity="0" group="1" rgba="0.4 0.4 0.4 1" density="0" mesh="Waist" />
|
||||
<geom name="waist_yaw_link_collision_1" size="0.06 0.05" quat="0.707105 0.707108 0 0" type="cylinder" contype="0" condim="1" group="3" friction="0.8" rgba="0.4 0.4 0.4 0" />
|
||||
<body name="left_hip_pitch_link" pos="0 0.106 0">
|
||||
<inertial pos="0.000534 -0.007296 -0.018083" quat="0.975141 0.2211 0.0145808 0.0017406" mass="1.021" diaginertia="0.00180547 0.00145926 0.00125327" />
|
||||
<joint name="left_hip_pitch_joint" range="-2.967 2.191" armature="0.0523908" axis="0 1 0" />
|
||||
<geom name="left_hip_pitch_link_visual_0" quat="1 0 0 0" type="mesh" contype="0" conaffinity="0" group="1" rgba="0.76 0.76 0.76 1" density="0" mesh="Hip_Pitch_Left" />
|
||||
<geom name="left_hip_pitch_link_collision_1" size="0.045 0.0425" pos="-0.002 0 -0.02" quat="0.707105 0 0.707108 0" type="cylinder" contype="2" conaffinity="5" condim="1" group="3" friction="0.8" rgba="0.76 0.76 0.76 0" />
|
||||
<body name="left_hip_roll_link" pos="0 0 -0.02">
|
||||
<inertial pos="0.001101 2.4e-05 -0.05375" quat="0.707081 -0.00599604 -0.00599604 0.707081" mass="0.385" diaginertia="0.001743 0.00151729 0.000514712" />
|
||||
<joint name="left_hip_roll_joint" range="-0.363 1.536" armature="0.0478125" axis="1 0 0" />
|
||||
<geom name="left_hip_roll_link_visual_0" pos="0 0 0" quat="1 0 0 0" type="mesh" contype="0" conaffinity="0" group="1" rgba="0.4 0.4 0.4 1" density="0" mesh="Hip_Roll_Left" />
|
||||
<geom name="left_hip_roll_link_collision_1" size="0.045 0.04" pos="0 0 -0.11" type="cylinder" contype="2" conaffinity="5" condim="1" group="3" friction="0.8" rgba="0.4 0.4 0.4 0" />
|
||||
<body name="left_hip_yaw_link" pos="0 0 -0.081854">
|
||||
<inertial pos="-0.007233 0.000206 -0.089184" quat="0.696808 -0.033953 -0.0315708 0.715758" mass="2.166" diaginertia="0.0257334 0.0253024 0.00259215" />
|
||||
<joint name="left_hip_yaw_joint" range="-1.076 1.062" armature="0.0478125" />
|
||||
<geom name="left_hip_yaw_link_visual_0" pos="0 0 0" quat="1 0 0 0" type="mesh" contype="0" conaffinity="0" group="1" rgba="0.4 0.4 0.4 1" density="0" mesh="Hip_Yaw_Left" />
|
||||
<geom name="left_hip_yaw_link_collision_1" size="0.055 0.045" pos="-0.015 0 -0.135" quat="0.707105 0.707108 0 0" type="cylinder" contype="2" conaffinity="5" condim="1" group="3" friction="0.8" rgba="0.4 0.4 0.4 0" />
|
||||
<body name="left_knee_pitch_link" pos="-0.014 0 -0.134">
|
||||
<inertial pos="-0.006012 0.000259 -0.124318" quat="0.997573 0.00144024 -0.023949 0.0653706" mass="1.82" diaginertia="0.0346951 0.0345375 0.00185844" />
|
||||
<joint name="left_knee_pitch_joint" range="0 2.145" armature="0.0636012" axis="0 1 0" />
|
||||
<geom name="left_knee_pitch_link_visual_0" pos="0 0 0" quat="1 0 0 0" type="mesh" contype="0" conaffinity="0" group="1" rgba="0.4 0.4 0.4 1" density="0" mesh="Shank_Left" />
|
||||
<geom name="left_knee_pitch_link_collision_1" size="0.05 0.04 0.07" pos="0 0 -0.15" type="box" contype="2" conaffinity="5" condim="1" group="3" friction="0.8" rgba="0.4 0.4 0.4 0" />
|
||||
<body name="left_ankle_pitch_link" pos="0 0 -0.28">
|
||||
<inertial pos="-0.003722 0 -0.007981" quat="0.443136 0.551027 0.551027 0.443136" mass="0.073" diaginertia="2.9e-05 2.56589e-05 1.13411e-05" />
|
||||
<joint name="left_ankle_pitch_joint" range="-0.87 0.35" armature="0.0679104" axis="0 1 0" />
|
||||
<geom name="left_ankle_pitch_link_visual_0" quat="1 0 0 0" type="mesh" contype="0" conaffinity="0" group="1" rgba="0.4 0.4 0.4 1" density="0" mesh="Ankle_Cross_Left" />
|
||||
<body name="left_ankle_roll_link" pos="0 0.00025 -0.012">
|
||||
<inertial pos="-0.000249 0 -0.00914" quat="0 0.651138 0 0.75896" mass="0.685" diaginertia="0.00269361 0.002385 0.00171539" />
|
||||
<joint name="left_ankle_roll_joint" range="-0.44 0.44" armature="0.0203731" axis="1 0 0" />
|
||||
<geom name="left_ankle_roll_link_visual_0" quat="1 0 0 0" type="mesh" contype="0" conaffinity="0" group="1" rgba="0.4 0.4 0.4 1" density="0" mesh="left_foot_link" />
|
||||
<geom name="left_ankle_roll_link_collision_1" size="0.112434 0.05 0.02183" pos="0.0101079 0 -0.0214208" type="box" contype="2" conaffinity="5" group="3" priority="1" friction="0.8" rgba="0.4 0.4 0.4 0" />
|
||||
<site name="left_foot" size="0.01" pos="0.0101079 0 -0.0432508" />
|
||||
</body>
|
||||
</body>
|
||||
</body>
|
||||
</body>
|
||||
</body>
|
||||
</body>
|
||||
<body name="right_hip_pitch_link" pos="0 -0.106 0">
|
||||
<inertial pos="0.000534 0.007514 -0.018082" quat="0.973446 -0.228403 0.0147148 -0.00419349" mass="1.021" diaginertia="0.00180552 0.0014632 0.00124928" />
|
||||
<joint name="right_hip_pitch_joint" range="-2.967 2.191" armature="0.0523908" axis="0 1 0" />
|
||||
<geom name="right_hip_pitch_link_visual_0" quat="1 0 0 0" type="mesh" contype="0" conaffinity="0" group="1" rgba="0.76 0.76 0.76 1" density="0" mesh="Hip_Pitch_Right" />
|
||||
<geom name="right_hip_pitch_link_collision_1" size="0.045 0.0425" pos="-0.002 0 -0.02" quat="0.707105 0 0.707108 0" type="cylinder" contype="4" conaffinity="3" condim="1" group="3" friction="0.8" rgba="0.76 0.76 0.76 0" />
|
||||
<body name="right_hip_roll_link" pos="0 0 -0.02">
|
||||
<inertial pos="0.001099 2.4e-05 -0.053748" quat="0.707081 -0.00599604 -0.00599604 0.707081" mass="0.385" diaginertia="0.001743 0.00151729 0.000514712" />
|
||||
<joint name="right_hip_roll_joint" range="-1.536 0.363" armature="0.0478125" axis="1 0 0" />
|
||||
<geom name="right_hip_roll_link_visual_0" pos="0 0 0" quat="1 0 0 0" type="mesh" contype="0" conaffinity="0" group="1" rgba="0.4 0.4 0.4 1" density="0" mesh="Hip_Roll_Right" />
|
||||
<geom name="right_hip_roll_link_collision_1" size="0.045 0.04" pos="0 0 -0.11" type="cylinder" contype="4" conaffinity="3" condim="1" group="3" friction="0.8" rgba="0.4 0.4 0.4 0" />
|
||||
<body name="right_hip_yaw_link" pos="0 0 -0.081854">
|
||||
<inertial pos="-0.007191 -0.000149 -0.08922" quat="0.714468 -0.0315638 -0.0336391 0.698146" mass="2.17" diaginertia="0.0257623 0.0253298 0.00259389" />
|
||||
<joint name="right_hip_yaw_joint" range="-1.076 1.062" armature="0.0478125" />
|
||||
<geom name="right_hip_yaw_link_visual_0" pos="0 0 0" quat="1 0 0 0" type="mesh" contype="0" conaffinity="0" group="1" rgba="0.4 0.4 0.4 1" density="0" mesh="Hip_Yaw_Right" />
|
||||
<geom name="right_hip_yaw_link_collision_1" size="0.055 0.045" pos="-0.015 0 -0.135" quat="0.707105 0.707108 0 0" type="cylinder" contype="4" conaffinity="3" condim="1" group="3" friction="0.8" rgba="0.4 0.4 0.4 0" />
|
||||
<body name="right_knee_pitch_link" pos="-0.014 0 -0.134">
|
||||
<inertial pos="-0.005741 -0.000541 -0.122602" quat="0.99926 -0.000580963 -0.023461 -0.0304754" mass="1.82" diaginertia="0.0351717 0.0349574 0.00196589" />
|
||||
<joint name="right_knee_pitch_joint" range="0 2.145" armature="0.0636012" axis="0 1 0" />
|
||||
<geom name="right_knee_pitch_link_visual_0" pos="0 0 0" quat="1 0 0 0" type="mesh" contype="0" conaffinity="0" group="1" rgba="0.4 0.4 0.4 1" density="0" mesh="Shank_Right" />
|
||||
<geom name="right_knee_pitch_link_collision_1" size="0.05 0.04 0.07" pos="0 0 -0.15" type="box" contype="4" conaffinity="3" condim="1" group="3" friction="0.8" rgba="0.4 0.4 0.4 0" />
|
||||
<body name="right_ankle_pitch_link" pos="0 0 -0.28">
|
||||
<inertial pos="-0.003722 0 -0.007981" quat="0.443136 0.551027 0.551027 0.443136" mass="0.073" diaginertia="2.9e-05 2.56589e-05 1.13411e-05" />
|
||||
<joint name="right_ankle_pitch_joint" range="-0.87 0.35" armature="0.0679104" axis="0 1 0" />
|
||||
<geom name="right_ankle_pitch_link_visual_0" quat="1 0 0 0" type="mesh" contype="0" conaffinity="0" group="1" rgba="0.4 0.4 0.4 1" density="0" mesh="Ankle_Cross_Right" />
|
||||
<body name="right_ankle_roll_link" pos="0 -0.00025 -0.012">
|
||||
<inertial pos="-0.000248 0 -0.00914" quat="0 0.651138 0 0.75896" mass="0.685" diaginertia="0.00269361 0.002385 0.00171539" />
|
||||
<joint name="right_ankle_roll_joint" range="-0.44 0.44" armature="0.0203731" axis="1 0 0" />
|
||||
<geom name="right_ankle_roll_link_visual_0" quat="1 0 0 0" type="mesh" contype="0" conaffinity="0" group="1" rgba="0.4 0.4 0.4 1" density="0" mesh="right_foot_link" />
|
||||
<geom name="right_ankle_roll_link_collision_1" size="0.112434 0.05 0.02183" pos="0.0101079 0 -0.0214208" type="box" contype="4" conaffinity="3" group="3" priority="1" friction="0.8" rgba="0.4 0.4 0.4 0" />
|
||||
<site name="right_foot" size="0.01" pos="0.0101079 0 -0.0432508" />
|
||||
</body>
|
||||
</body>
|
||||
</body>
|
||||
</body>
|
||||
</body>
|
||||
</body>
|
||||
</body>
|
||||
</body>
|
||||
</worldbody>
|
||||
<actuator>
|
||||
<general name="aahead_yaw_joint" joint="aahead_yaw_joint" ctrlrange="-2.709 2.709" ctrllimited="false" forcelimited="true" forcerange="-7 7" biastype="affine" gainprm="5" biasprm="0 -5 -0.5" />
|
||||
<general name="aahead_pitch_joint" joint="aahead_pitch_joint" ctrlrange="-1.75 2.36" ctrllimited="false" forcelimited="true" forcerange="-7 7" biastype="affine" gainprm="5" biasprm="0 -5 -0.5" />
|
||||
<general name="left_shoulder_pitch_joint" joint="left_shoulder_pitch_joint" ctrlrange="-4.2335 2.1535" ctrllimited="false" forcelimited="true" forcerange="-38.3 38.3" biastype="affine" gainprm="40" biasprm="0 -40 -2" />
|
||||
<general name="left_shoulder_roll_joint" joint="left_shoulder_roll_joint" ctrlrange="-2.5805 2.6935" ctrllimited="false" forcelimited="true" forcerange="-38.3 38.3" biastype="affine" gainprm="40" biasprm="0 -40 -2" />
|
||||
<general name="left_elbow_pitch_joint" joint="left_elbow_pitch_joint" ctrlrange="-3.1925 3.1925" ctrllimited="false" forcelimited="true" forcerange="-38.3 38.3" biastype="affine" gainprm="40" biasprm="0 -40 -2" />
|
||||
<general name="left_elbow_yaw_joint" joint="left_elbow_yaw_joint" ctrlrange="-3.0345 2.6155" ctrllimited="false" forcelimited="true" forcerange="-38.3 38.3" biastype="affine" gainprm="40" biasprm="0 -40 -2" />
|
||||
<general name="right_shoulder_pitch_joint" joint="right_shoulder_pitch_joint" ctrlrange="-4.2335 2.1535" ctrllimited="false" forcelimited="true" forcerange="-38.3 38.3" biastype="affine" gainprm="40" biasprm="0 -40 -2" />
|
||||
<general name="right_shoulder_roll_joint" joint="right_shoulder_roll_joint" ctrlrange="-2.6935 2.5805" ctrllimited="false" forcelimited="true" forcerange="-38.3 38.3" biastype="affine" gainprm="40" biasprm="0 -40 -2" />
|
||||
<general name="right_elbow_pitch_joint" joint="right_elbow_pitch_joint" ctrlrange="-3.1925 3.1925" ctrllimited="false" forcelimited="true" forcerange="-38.3 38.3" biastype="affine" gainprm="40" biasprm="0 -40 -2" />
|
||||
<general name="right_elbow_yaw_joint" joint="right_elbow_yaw_joint" ctrlrange="-2.6155 3.0345" ctrllimited="false" forcelimited="true" forcerange="-38.3 38.3" biastype="affine" gainprm="40" biasprm="0 -40 -2" />
|
||||
<general name="waist_yaw_joint" joint="waist_yaw_joint" ctrlrange="-1.692 1.692" ctrllimited="false" forcelimited="true" forcerange="-68 68" biastype="affine" gainprm="100" biasprm="0 -100 -3" />
|
||||
<general name="left_hip_pitch_joint" joint="left_hip_pitch_joint" ctrlrange="-3.461 2.685" ctrllimited="false" forcelimited="true" forcerange="-98.8 98.8" biastype="affine" gainprm="200" biasprm="0 -200 -5" />
|
||||
<general name="left_hip_roll_joint" joint="left_hip_roll_joint" ctrlrange="-0.816333 1.98933" ctrllimited="false" forcelimited="true" forcerange="-68 68" biastype="affine" gainprm="150" biasprm="0 -150 -4" />
|
||||
<general name="left_hip_yaw_joint" joint="left_hip_yaw_joint" ctrlrange="-1.756 1.742" ctrllimited="false" forcelimited="true" forcerange="-68 68" biastype="affine" gainprm="100" biasprm="0 -100 -3" />
|
||||
<general name="left_knee_pitch_joint" joint="left_knee_pitch_joint" ctrlrange="-0.6525 2.7975" ctrllimited="false" forcelimited="true" forcerange="-130.5 130.5" biastype="affine" gainprm="200" biasprm="0 -200 -5" />
|
||||
<general name="left_ankle_pitch_joint" joint="left_ankle_pitch_joint" ctrlrange="-2.332 1.812" ctrllimited="false" forcelimited="true" forcerange="-73.1 73.1" biastype="affine" gainprm="50" biasprm="0 -50 -2" />
|
||||
<general name="left_ankle_roll_joint" joint="left_ankle_roll_joint" ctrlrange="-1.3 1.3" ctrllimited="false" forcelimited="true" forcerange="-17.2 17.2" biastype="affine" gainprm="20" biasprm="0 -20 -1" />
|
||||
<general name="right_hip_pitch_joint" joint="right_hip_pitch_joint" ctrlrange="-3.461 2.685" ctrllimited="false" forcelimited="true" forcerange="-98.8 98.8" biastype="affine" gainprm="200" biasprm="0 -200 -5" />
|
||||
<general name="right_hip_roll_joint" joint="right_hip_roll_joint" ctrlrange="-1.98933 0.816333" ctrllimited="false" forcelimited="true" forcerange="-68 68" biastype="affine" gainprm="150" biasprm="0 -150 -4" />
|
||||
<general name="right_hip_yaw_joint" joint="right_hip_yaw_joint" ctrlrange="-1.756 1.742" ctrllimited="false" forcelimited="true" forcerange="-68 68" biastype="affine" gainprm="100" biasprm="0 -100 -3" />
|
||||
<general name="right_knee_pitch_joint" joint="right_knee_pitch_joint" ctrlrange="-0.6525 2.7975" ctrllimited="false" forcelimited="true" forcerange="-130.5 130.5" biastype="affine" gainprm="200" biasprm="0 -200 -5" />
|
||||
<general name="right_ankle_pitch_joint" joint="right_ankle_pitch_joint" ctrlrange="-2.332 1.812" ctrllimited="false" forcelimited="true" forcerange="-73.1 73.1" biastype="affine" gainprm="50" biasprm="0 -50 -2" />
|
||||
<general name="right_ankle_roll_joint" joint="right_ankle_roll_joint" ctrlrange="-1.3 1.3" ctrllimited="false" forcelimited="true" forcerange="-17.2 17.2" biastype="affine" gainprm="20" biasprm="0 -20 -1" />
|
||||
</actuator>
|
||||
<sensor>
|
||||
<velocimeter site="imu" name="imu_lin_vel" />
|
||||
<gyro site="imu" name="imu_ang_vel" />
|
||||
<subtreeangmom body="trunk" name="root_angmom" />
|
||||
</sensor>
|
||||
<option timestep="0.005" integrator="implicitfast" solver="Newton" cone="pyramidal" iterations="10" ls_iterations="20" ccd_iterations="50" />
|
||||
</mujoco>
|
||||
Binary file not shown.
@@ -0,0 +1,524 @@
|
||||
{
|
||||
"schema": 1,
|
||||
"id": "t1",
|
||||
"name": "Booster T1",
|
||||
"family": "t1",
|
||||
"adapter": "generic",
|
||||
"dimensions": {
|
||||
"height": 1.18
|
||||
},
|
||||
"model": "model.xml",
|
||||
"assets": [
|
||||
{
|
||||
"path": "meshes/Trunk.STL",
|
||||
"vfs": "meshes/Trunk.STL"
|
||||
},
|
||||
{
|
||||
"path": "meshes/H1.STL",
|
||||
"vfs": "meshes/H1.STL"
|
||||
},
|
||||
{
|
||||
"path": "meshes/H2.STL",
|
||||
"vfs": "meshes/H2.STL"
|
||||
},
|
||||
{
|
||||
"path": "meshes/AL1.STL",
|
||||
"vfs": "meshes/AL1.STL"
|
||||
},
|
||||
{
|
||||
"path": "meshes/AL2.STL",
|
||||
"vfs": "meshes/AL2.STL"
|
||||
},
|
||||
{
|
||||
"path": "meshes/AL3.STL",
|
||||
"vfs": "meshes/AL3.STL"
|
||||
},
|
||||
{
|
||||
"path": "meshes/left_hand_link.STL",
|
||||
"vfs": "meshes/left_hand_link.STL"
|
||||
},
|
||||
{
|
||||
"path": "meshes/AR1.STL",
|
||||
"vfs": "meshes/AR1.STL"
|
||||
},
|
||||
{
|
||||
"path": "meshes/AR2.STL",
|
||||
"vfs": "meshes/AR2.STL"
|
||||
},
|
||||
{
|
||||
"path": "meshes/AR3.STL",
|
||||
"vfs": "meshes/AR3.STL"
|
||||
},
|
||||
{
|
||||
"path": "meshes/right_hand_link.STL",
|
||||
"vfs": "meshes/right_hand_link.STL"
|
||||
},
|
||||
{
|
||||
"path": "meshes/Waist.STL",
|
||||
"vfs": "meshes/Waist.STL"
|
||||
},
|
||||
{
|
||||
"path": "meshes/Hip_Pitch_Left.STL",
|
||||
"vfs": "meshes/Hip_Pitch_Left.STL"
|
||||
},
|
||||
{
|
||||
"path": "meshes/Hip_Roll_Left.STL",
|
||||
"vfs": "meshes/Hip_Roll_Left.STL"
|
||||
},
|
||||
{
|
||||
"path": "meshes/Hip_Yaw_Left.STL",
|
||||
"vfs": "meshes/Hip_Yaw_Left.STL"
|
||||
},
|
||||
{
|
||||
"path": "meshes/Shank_Left.STL",
|
||||
"vfs": "meshes/Shank_Left.STL"
|
||||
},
|
||||
{
|
||||
"path": "meshes/Ankle_Cross_Left.STL",
|
||||
"vfs": "meshes/Ankle_Cross_Left.STL"
|
||||
},
|
||||
{
|
||||
"path": "meshes/left_foot_link.STL",
|
||||
"vfs": "meshes/left_foot_link.STL"
|
||||
},
|
||||
{
|
||||
"path": "meshes/Hip_Pitch_Right.STL",
|
||||
"vfs": "meshes/Hip_Pitch_Right.STL"
|
||||
},
|
||||
{
|
||||
"path": "meshes/Hip_Roll_Right.STL",
|
||||
"vfs": "meshes/Hip_Roll_Right.STL"
|
||||
},
|
||||
{
|
||||
"path": "meshes/Hip_Yaw_Right.STL",
|
||||
"vfs": "meshes/Hip_Yaw_Right.STL"
|
||||
},
|
||||
{
|
||||
"path": "meshes/Shank_Right.STL",
|
||||
"vfs": "meshes/Shank_Right.STL"
|
||||
},
|
||||
{
|
||||
"path": "meshes/Ankle_Cross_Right.STL",
|
||||
"vfs": "meshes/Ankle_Cross_Right.STL"
|
||||
},
|
||||
{
|
||||
"path": "meshes/right_foot_link.STL",
|
||||
"vfs": "meshes/right_foot_link.STL"
|
||||
},
|
||||
{
|
||||
"path": "meshes/Logo.STL",
|
||||
"vfs": "meshes/Logo.STL"
|
||||
}
|
||||
],
|
||||
"base": {
|
||||
"type": "floating",
|
||||
"root_body": "trunk",
|
||||
"freejoint": "world_joint",
|
||||
"spawn": {
|
||||
"pos": [
|
||||
0,
|
||||
0,
|
||||
0.6811
|
||||
],
|
||||
"yaw": 0
|
||||
}
|
||||
},
|
||||
"sim": {
|
||||
"timestep": 0.005,
|
||||
"decimation": 4
|
||||
},
|
||||
"joints": {
|
||||
"groups": {
|
||||
"policy": [
|
||||
"aahead_yaw_joint",
|
||||
"aahead_pitch_joint",
|
||||
"left_shoulder_pitch_joint",
|
||||
"left_shoulder_roll_joint",
|
||||
"left_elbow_pitch_joint",
|
||||
"left_elbow_yaw_joint",
|
||||
"right_shoulder_pitch_joint",
|
||||
"right_shoulder_roll_joint",
|
||||
"right_elbow_pitch_joint",
|
||||
"right_elbow_yaw_joint",
|
||||
"waist_yaw_joint",
|
||||
"left_hip_pitch_joint",
|
||||
"left_hip_roll_joint",
|
||||
"left_hip_yaw_joint",
|
||||
"left_knee_pitch_joint",
|
||||
"left_ankle_pitch_joint",
|
||||
"left_ankle_roll_joint",
|
||||
"right_hip_pitch_joint",
|
||||
"right_hip_roll_joint",
|
||||
"right_hip_yaw_joint",
|
||||
"right_knee_pitch_joint",
|
||||
"right_ankle_pitch_joint",
|
||||
"right_ankle_roll_joint"
|
||||
],
|
||||
"aahead_yaw_joint": [
|
||||
"aahead_yaw_joint"
|
||||
],
|
||||
"aahead_pitch_joint": [
|
||||
"aahead_pitch_joint"
|
||||
],
|
||||
"left_shoulder_pitch_joint": [
|
||||
"left_shoulder_pitch_joint"
|
||||
],
|
||||
"left_shoulder_roll_joint": [
|
||||
"left_shoulder_roll_joint"
|
||||
],
|
||||
"left_elbow_pitch_joint": [
|
||||
"left_elbow_pitch_joint"
|
||||
],
|
||||
"left_elbow_yaw_joint": [
|
||||
"left_elbow_yaw_joint"
|
||||
],
|
||||
"right_shoulder_pitch_joint": [
|
||||
"right_shoulder_pitch_joint"
|
||||
],
|
||||
"right_shoulder_roll_joint": [
|
||||
"right_shoulder_roll_joint"
|
||||
],
|
||||
"right_elbow_pitch_joint": [
|
||||
"right_elbow_pitch_joint"
|
||||
],
|
||||
"right_elbow_yaw_joint": [
|
||||
"right_elbow_yaw_joint"
|
||||
],
|
||||
"waist_yaw_joint": [
|
||||
"waist_yaw_joint"
|
||||
],
|
||||
"left_hip_pitch_joint": [
|
||||
"left_hip_pitch_joint"
|
||||
],
|
||||
"left_hip_roll_joint": [
|
||||
"left_hip_roll_joint"
|
||||
],
|
||||
"left_hip_yaw_joint": [
|
||||
"left_hip_yaw_joint"
|
||||
],
|
||||
"left_knee_pitch_joint": [
|
||||
"left_knee_pitch_joint"
|
||||
],
|
||||
"left_ankle_pitch_joint": [
|
||||
"left_ankle_pitch_joint"
|
||||
],
|
||||
"left_ankle_roll_joint": [
|
||||
"left_ankle_roll_joint"
|
||||
],
|
||||
"right_hip_pitch_joint": [
|
||||
"right_hip_pitch_joint"
|
||||
],
|
||||
"right_hip_roll_joint": [
|
||||
"right_hip_roll_joint"
|
||||
],
|
||||
"right_hip_yaw_joint": [
|
||||
"right_hip_yaw_joint"
|
||||
],
|
||||
"right_knee_pitch_joint": [
|
||||
"right_knee_pitch_joint"
|
||||
],
|
||||
"right_ankle_pitch_joint": [
|
||||
"right_ankle_pitch_joint"
|
||||
],
|
||||
"right_ankle_roll_joint": [
|
||||
"right_ankle_roll_joint"
|
||||
]
|
||||
},
|
||||
"defaults": {
|
||||
"aahead_yaw_joint": 0.0,
|
||||
"aahead_pitch_joint": 0.0,
|
||||
"left_shoulder_pitch_joint": 0.2,
|
||||
"left_shoulder_roll_joint": -1.3,
|
||||
"left_elbow_pitch_joint": 0.0,
|
||||
"left_elbow_yaw_joint": -0.4,
|
||||
"right_shoulder_pitch_joint": 0.2,
|
||||
"right_shoulder_roll_joint": 1.3,
|
||||
"right_elbow_pitch_joint": 0.0,
|
||||
"right_elbow_yaw_joint": 0.4,
|
||||
"waist_yaw_joint": 0.0,
|
||||
"left_hip_pitch_joint": -0.2,
|
||||
"left_hip_roll_joint": 0.0,
|
||||
"left_hip_yaw_joint": 0.0,
|
||||
"left_knee_pitch_joint": 0.4,
|
||||
"left_ankle_pitch_joint": -0.2,
|
||||
"left_ankle_roll_joint": 0.0,
|
||||
"right_hip_pitch_joint": -0.2,
|
||||
"right_hip_roll_joint": 0.0,
|
||||
"right_hip_yaw_joint": 0.0,
|
||||
"right_knee_pitch_joint": 0.4,
|
||||
"right_ankle_pitch_joint": -0.2,
|
||||
"right_ankle_roll_joint": 0.0
|
||||
}
|
||||
},
|
||||
"observations": {
|
||||
"obs": {
|
||||
"terms": [
|
||||
{
|
||||
"type": "linear_velocity",
|
||||
"sensor": "imu_lin_vel"
|
||||
},
|
||||
{
|
||||
"type": "gyro",
|
||||
"sensor": "imu_ang_vel"
|
||||
},
|
||||
{
|
||||
"type": "projected_gravity",
|
||||
"body": "trunk"
|
||||
},
|
||||
{
|
||||
"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": "aahead_yaw_joint",
|
||||
"scale": 0.35,
|
||||
"offset": "default"
|
||||
},
|
||||
{
|
||||
"type": "joint_position",
|
||||
"group": "aahead_pitch_joint",
|
||||
"scale": 0.35,
|
||||
"offset": "default"
|
||||
},
|
||||
{
|
||||
"type": "joint_position",
|
||||
"group": "left_shoulder_pitch_joint",
|
||||
"scale": 0.23937499999999998,
|
||||
"offset": "default"
|
||||
},
|
||||
{
|
||||
"type": "joint_position",
|
||||
"group": "left_shoulder_roll_joint",
|
||||
"scale": 0.23937499999999998,
|
||||
"offset": "default"
|
||||
},
|
||||
{
|
||||
"type": "joint_position",
|
||||
"group": "left_elbow_pitch_joint",
|
||||
"scale": 0.23937499999999998,
|
||||
"offset": "default"
|
||||
},
|
||||
{
|
||||
"type": "joint_position",
|
||||
"group": "left_elbow_yaw_joint",
|
||||
"scale": 0.23937499999999998,
|
||||
"offset": "default"
|
||||
},
|
||||
{
|
||||
"type": "joint_position",
|
||||
"group": "right_shoulder_pitch_joint",
|
||||
"scale": 0.23937499999999998,
|
||||
"offset": "default"
|
||||
},
|
||||
{
|
||||
"type": "joint_position",
|
||||
"group": "right_shoulder_roll_joint",
|
||||
"scale": 0.23937499999999998,
|
||||
"offset": "default"
|
||||
},
|
||||
{
|
||||
"type": "joint_position",
|
||||
"group": "right_elbow_pitch_joint",
|
||||
"scale": 0.23937499999999998,
|
||||
"offset": "default"
|
||||
},
|
||||
{
|
||||
"type": "joint_position",
|
||||
"group": "right_elbow_yaw_joint",
|
||||
"scale": 0.23937499999999998,
|
||||
"offset": "default"
|
||||
},
|
||||
{
|
||||
"type": "joint_position",
|
||||
"group": "waist_yaw_joint",
|
||||
"scale": 0.17,
|
||||
"offset": "default"
|
||||
},
|
||||
{
|
||||
"type": "joint_position",
|
||||
"group": "left_hip_pitch_joint",
|
||||
"scale": 0.1235,
|
||||
"offset": "default"
|
||||
},
|
||||
{
|
||||
"type": "joint_position",
|
||||
"group": "left_hip_roll_joint",
|
||||
"scale": 0.11333333333333333,
|
||||
"offset": "default"
|
||||
},
|
||||
{
|
||||
"type": "joint_position",
|
||||
"group": "left_hip_yaw_joint",
|
||||
"scale": 0.17,
|
||||
"offset": "default"
|
||||
},
|
||||
{
|
||||
"type": "joint_position",
|
||||
"group": "left_knee_pitch_joint",
|
||||
"scale": 0.163125,
|
||||
"offset": "default"
|
||||
},
|
||||
{
|
||||
"type": "joint_position",
|
||||
"group": "left_ankle_pitch_joint",
|
||||
"scale": 0.3655,
|
||||
"offset": "default"
|
||||
},
|
||||
{
|
||||
"type": "joint_position",
|
||||
"group": "left_ankle_roll_joint",
|
||||
"scale": 0.215,
|
||||
"offset": "default"
|
||||
},
|
||||
{
|
||||
"type": "joint_position",
|
||||
"group": "right_hip_pitch_joint",
|
||||
"scale": 0.1235,
|
||||
"offset": "default"
|
||||
},
|
||||
{
|
||||
"type": "joint_position",
|
||||
"group": "right_hip_roll_joint",
|
||||
"scale": 0.11333333333333333,
|
||||
"offset": "default"
|
||||
},
|
||||
{
|
||||
"type": "joint_position",
|
||||
"group": "right_hip_yaw_joint",
|
||||
"scale": 0.17,
|
||||
"offset": "default"
|
||||
},
|
||||
{
|
||||
"type": "joint_position",
|
||||
"group": "right_knee_pitch_joint",
|
||||
"scale": 0.163125,
|
||||
"offset": "default"
|
||||
},
|
||||
{
|
||||
"type": "joint_position",
|
||||
"group": "right_ankle_pitch_joint",
|
||||
"scale": 0.3655,
|
||||
"offset": "default"
|
||||
},
|
||||
{
|
||||
"type": "joint_position",
|
||||
"group": "right_ankle_roll_joint",
|
||||
"scale": 0.215,
|
||||
"offset": "default"
|
||||
}
|
||||
],
|
||||
"actuation": {
|
||||
"type": "native_position"
|
||||
},
|
||||
"commands": {
|
||||
"size": 3,
|
||||
"limits": [
|
||||
0.6,
|
||||
-0.4,
|
||||
0.6
|
||||
]
|
||||
},
|
||||
"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": 2.5
|
||||
}
|
||||
},
|
||||
"presentation": {
|
||||
"theme": "comic"
|
||||
},
|
||||
"termination": {
|
||||
"tilt_z": -0.5,
|
||||
"min_height": 0.42,
|
||||
"on_fall": "hold"
|
||||
},
|
||||
"license": "See LICENSES/booster-assets.txt and LICENSES/mjlab.txt; policy is locally trained."
|
||||
}
|
||||
@@ -0,0 +1,189 @@
|
||||
{
|
||||
"checkpoint": "/home/cen/Embodied_Workspace/Mujoco_Projects/mjlab/logs/rsl_rl/t1_flat_velocity/2026-11-02_15-03-39_t1_flat/model_6700.pt",
|
||||
"checkpoint_sha256": "2cde298d0008f676dfebb6748c18531ea589e10bd7bb11dfe0b81dee9441f825",
|
||||
"model_source": "/home/cen/Embodied_Workspace/PlatformProject/booster_assets/robots/T1/T1_23dof.xml",
|
||||
"files": [
|
||||
{
|
||||
"source": "/home/cen/Embodied_Workspace/PlatformProject/booster_assets/robots/T1/meshes/Trunk.STL",
|
||||
"file": "meshes/Trunk.STL",
|
||||
"bytes": 329384,
|
||||
"sha256": "39d9610b23ef8ac7ea4343231a499f9c485903bede62df9729a2cd1254fede8f"
|
||||
},
|
||||
{
|
||||
"source": "/home/cen/Embodied_Workspace/PlatformProject/booster_assets/robots/T1/meshes/H1.STL",
|
||||
"file": "meshes/H1.STL",
|
||||
"bytes": 129084,
|
||||
"sha256": "527a2e426db4e3d476a195754764b7f9565a950b809a34e47618f177b139c3f2"
|
||||
},
|
||||
{
|
||||
"source": "/home/cen/Embodied_Workspace/PlatformProject/booster_assets/robots/T1/meshes/H2.STL",
|
||||
"file": "meshes/H2.STL",
|
||||
"bytes": 237184,
|
||||
"sha256": "9cbf4fe83a721c809de65b1f0d0a379314f4523f7e2f8af7f0edc27c2ce385aa"
|
||||
},
|
||||
{
|
||||
"source": "/home/cen/Embodied_Workspace/PlatformProject/booster_assets/robots/T1/meshes/AL1.STL",
|
||||
"file": "meshes/AL1.STL",
|
||||
"bytes": 373884,
|
||||
"sha256": "43f5d268152b3c169d34731545ddfa2a510a7e16f209a2a80f8ba9ae0e1a40aa"
|
||||
},
|
||||
{
|
||||
"source": "/home/cen/Embodied_Workspace/PlatformProject/booster_assets/robots/T1/meshes/AL2.STL",
|
||||
"file": "meshes/AL2.STL",
|
||||
"bytes": 317584,
|
||||
"sha256": "4bca60adb29c73f701350abd23e8a8d660dc61e87c5163a80157650dd3ad88c3"
|
||||
},
|
||||
{
|
||||
"source": "/home/cen/Embodied_Workspace/PlatformProject/booster_assets/robots/T1/meshes/AL3.STL",
|
||||
"file": "meshes/AL3.STL",
|
||||
"bytes": 751184,
|
||||
"sha256": "bfdf5611dfe90f8e02b07b037c36a244f4ce7184b45113371ef46e624fb30854"
|
||||
},
|
||||
{
|
||||
"source": "/home/cen/Embodied_Workspace/PlatformProject/booster_assets/robots/T1/meshes/left_hand_link.STL",
|
||||
"file": "meshes/left_hand_link.STL",
|
||||
"bytes": 435884,
|
||||
"sha256": "34df992aed438446481cfa20e78327810cd5cc5ecbb4a6f32ba2bf625462f53d"
|
||||
},
|
||||
{
|
||||
"source": "/home/cen/Embodied_Workspace/PlatformProject/booster_assets/robots/T1/meshes/AR1.STL",
|
||||
"file": "meshes/AR1.STL",
|
||||
"bytes": 374984,
|
||||
"sha256": "6dbbd3dab4486600747be9d0e7f8523d67bf00d24d0dc9c23db1766c4d808fcf"
|
||||
},
|
||||
{
|
||||
"source": "/home/cen/Embodied_Workspace/PlatformProject/booster_assets/robots/T1/meshes/AR2.STL",
|
||||
"file": "meshes/AR2.STL",
|
||||
"bytes": 317584,
|
||||
"sha256": "0499136785fe1bc0289d9e503e1e0ea48f5a63420a2e45b0fcd9e6b3bcf8f999"
|
||||
},
|
||||
{
|
||||
"source": "/home/cen/Embodied_Workspace/PlatformProject/booster_assets/robots/T1/meshes/AR3.STL",
|
||||
"file": "meshes/AR3.STL",
|
||||
"bytes": 751184,
|
||||
"sha256": "92330bd8286fe420fb76949ee4c5d5bdec2e6bb30426acdc4d6fae9257464631"
|
||||
},
|
||||
{
|
||||
"source": "/home/cen/Embodied_Workspace/PlatformProject/booster_assets/robots/T1/meshes/right_hand_link.STL",
|
||||
"file": "meshes/right_hand_link.STL",
|
||||
"bytes": 435284,
|
||||
"sha256": "c5a73e493e17db7611a81785f80c01167f51018271b4042f72fa8d2351d8b0eb"
|
||||
},
|
||||
{
|
||||
"source": "/home/cen/Embodied_Workspace/PlatformProject/booster_assets/robots/T1/meshes/Waist.STL",
|
||||
"file": "meshes/Waist.STL",
|
||||
"bytes": 388684,
|
||||
"sha256": "2fe0a9ccfc284beca402e554db38e83022592192afa00f02db13cb374ffe9fbc"
|
||||
},
|
||||
{
|
||||
"source": "/home/cen/Embodied_Workspace/PlatformProject/booster_assets/robots/T1/meshes/Hip_Pitch_Left.STL",
|
||||
"file": "meshes/Hip_Pitch_Left.STL",
|
||||
"bytes": 64584,
|
||||
"sha256": "7bcb8be569aeb5379cb75a0827d682bc1d73a52a7f515d3aeffece43842c33c9"
|
||||
},
|
||||
{
|
||||
"source": "/home/cen/Embodied_Workspace/PlatformProject/booster_assets/robots/T1/meshes/Hip_Roll_Left.STL",
|
||||
"file": "meshes/Hip_Roll_Left.STL",
|
||||
"bytes": 57784,
|
||||
"sha256": "72dbd65bdb4e87444c8e538474f631d63bf8c0960922517456b8cf2be9e1d0f0"
|
||||
},
|
||||
{
|
||||
"source": "/home/cen/Embodied_Workspace/PlatformProject/booster_assets/robots/T1/meshes/Hip_Yaw_Left.STL",
|
||||
"file": "meshes/Hip_Yaw_Left.STL",
|
||||
"bytes": 144484,
|
||||
"sha256": "8d7de83ab4034639db3d1be1e6f43ae16e004dc2f1c2bec170b615686d187918"
|
||||
},
|
||||
{
|
||||
"source": "/home/cen/Embodied_Workspace/PlatformProject/booster_assets/robots/T1/meshes/Shank_Left.STL",
|
||||
"file": "meshes/Shank_Left.STL",
|
||||
"bytes": 492684,
|
||||
"sha256": "6ae8dd7f88cb70a4a3cb3972cad4035a76f1604fd73ea66e285da553b3703c40"
|
||||
},
|
||||
{
|
||||
"source": "/home/cen/Embodied_Workspace/PlatformProject/booster_assets/robots/T1/meshes/Ankle_Cross_Left.STL",
|
||||
"file": "meshes/Ankle_Cross_Left.STL",
|
||||
"bytes": 59084,
|
||||
"sha256": "e6ec38741838475834c147f2ad18196c0254741e602c2b676f888fd12b5d7981"
|
||||
},
|
||||
{
|
||||
"source": "/home/cen/Embodied_Workspace/PlatformProject/booster_assets/robots/T1/meshes/left_foot_link.STL",
|
||||
"file": "meshes/left_foot_link.STL",
|
||||
"bytes": 979684,
|
||||
"sha256": "2de026f2269fc55f80d4a8abd2e33dfd152adf9eb2c240d7d7e1dc40c13b55aa"
|
||||
},
|
||||
{
|
||||
"source": "/home/cen/Embodied_Workspace/PlatformProject/booster_assets/robots/T1/meshes/Hip_Pitch_Right.STL",
|
||||
"file": "meshes/Hip_Pitch_Right.STL",
|
||||
"bytes": 64184,
|
||||
"sha256": "054d579c3c6ccc1f97aaf1461d802dec748ce1bf26c6fdd289283a2d0dbb2032"
|
||||
},
|
||||
{
|
||||
"source": "/home/cen/Embodied_Workspace/PlatformProject/booster_assets/robots/T1/meshes/Hip_Roll_Right.STL",
|
||||
"file": "meshes/Hip_Roll_Right.STL",
|
||||
"bytes": 57784,
|
||||
"sha256": "d715a7649ea4bf20d7ee17b3a57bae31732e467b9da1053fee2242c90f50980f"
|
||||
},
|
||||
{
|
||||
"source": "/home/cen/Embodied_Workspace/PlatformProject/booster_assets/robots/T1/meshes/Hip_Yaw_Right.STL",
|
||||
"file": "meshes/Hip_Yaw_Right.STL",
|
||||
"bytes": 144484,
|
||||
"sha256": "1a7d98e021884e313c55780a3c7c24ef2aa322807d8f9f8b18b2a63c7e2b9bf6"
|
||||
},
|
||||
{
|
||||
"source": "/home/cen/Embodied_Workspace/PlatformProject/booster_assets/robots/T1/meshes/Shank_Right.STL",
|
||||
"file": "meshes/Shank_Right.STL",
|
||||
"bytes": 493284,
|
||||
"sha256": "dc66a8a0e2e31e413884a053e427d9b5007bef4508986587916a638a8a448599"
|
||||
},
|
||||
{
|
||||
"source": "/home/cen/Embodied_Workspace/PlatformProject/booster_assets/robots/T1/meshes/Ankle_Cross_Right.STL",
|
||||
"file": "meshes/Ankle_Cross_Right.STL",
|
||||
"bytes": 59084,
|
||||
"sha256": "b15d91f0f2470fc4d5634db906a3d7efaf1f700302e6671824494da8faf50308"
|
||||
},
|
||||
{
|
||||
"source": "/home/cen/Embodied_Workspace/PlatformProject/booster_assets/robots/T1/meshes/right_foot_link.STL",
|
||||
"file": "meshes/right_foot_link.STL",
|
||||
"bytes": 979684,
|
||||
"sha256": "313a9ff2f95da5727dce2b98c50b60226bf0a3affc72050ee251ea503e4b370a"
|
||||
},
|
||||
{
|
||||
"source": "/home/cen/Embodied_Workspace/PlatformProject/booster_assets/robots/T1/meshes/Logo.STL",
|
||||
"file": "meshes/Logo.STL",
|
||||
"bytes": 216984,
|
||||
"sha256": "221b00d090fdc9e684892805db75265c9688b152b3ccf641084f950f220596c8"
|
||||
},
|
||||
{
|
||||
"source": "/home/cen/Embodied_Workspace/Mujoco_Projects/mjlab/logs/rsl_rl/t1_flat_velocity/2026-11-02_15-03-39_t1_flat/2026-11-02_15-03-39_t1_flat.onnx",
|
||||
"file": "policies/walk.onnx",
|
||||
"bytes": 840431,
|
||||
"sha256": "58fe3675123badcca4c49ccd214791e4b8dbf63570072ef4b9eda44273bd6703"
|
||||
},
|
||||
{
|
||||
"source": "/home/cen/Embodied_Workspace/PlatformProject/booster_assets/LICENSE",
|
||||
"file": "LICENSES/booster-assets.txt",
|
||||
"bytes": 1502,
|
||||
"sha256": "056db8cc7dcb21feae042d97185d4689c21bb1ba7fe59cefdc7ef5917c0ea77f"
|
||||
},
|
||||
{
|
||||
"source": "/home/cen/Embodied_Workspace/Mujoco_Projects/mjlab/LICENSE",
|
||||
"file": "LICENSES/mjlab.txt",
|
||||
"bytes": 11352,
|
||||
"sha256": "8ca04d9dbbccd20f0f1842fb33e13949f9e57064b150dad36af8e7a751ca3321"
|
||||
}
|
||||
],
|
||||
"behaviorReferences": [
|
||||
{
|
||||
"file": "src/mjlab/asset_zoo/robots/booster_t1/t1_constants.py",
|
||||
"sha256": "46d1f81ba54f5d1018978c3f54aba9cc23693d3cdc4cb967de68200bd766d407"
|
||||
},
|
||||
{
|
||||
"file": "src/mjlab/tasks/velocity/config/booster_t1/env_cfgs.py",
|
||||
"sha256": "eb2d8707af01380de8f718585b92912861f9e2172dc06fcfbaddd0e51baa1aa3"
|
||||
},
|
||||
{
|
||||
"file": "src/mjlab/tasks/velocity/velocity_env_cfg.py",
|
||||
"sha256": "8a272a8b3c81c4a0321027e404645c99a4143076522ed3521636bf293dd3137b"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,168 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Import Apollo with mjlab's environment: uv run python /path/to/import-apollo.py ."""
|
||||
import argparse
|
||||
import hashlib
|
||||
import json
|
||||
from pathlib import Path
|
||||
import sys
|
||||
import xml.etree.ElementTree as ET
|
||||
|
||||
import mujoco
|
||||
import numpy as np
|
||||
import onnx
|
||||
import torch
|
||||
|
||||
parser = argparse.ArgumentParser(description=__doc__)
|
||||
parser.add_argument("source", type=Path, help="mjlab checkout")
|
||||
parser.add_argument("--checkpoint-file", type=Path, help="Exact checkpoint to import")
|
||||
args = parser.parse_args()
|
||||
source = args.source.resolve()
|
||||
sys.path.insert(0, str(source / "src"))
|
||||
from mjlab.entity import Entity
|
||||
from mjlab.asset_zoo.robots.apptronik_apollo.apollo_constants import (
|
||||
APOLLO_ROOT_HEIGHT, get_apollo_robot_cfg, get_apollo_xml,
|
||||
)
|
||||
|
||||
if args.checkpoint_file:
|
||||
checkpoint = args.checkpoint_file.resolve()
|
||||
else:
|
||||
checkpoints = list((source / "logs/rsl_rl/apollo_flat_upright_v3").glob("*/model_*.pt"))
|
||||
checkpoint = max(checkpoints, key=lambda p: (p.stat().st_mtime_ns, int(p.stem.split("_")[-1])))
|
||||
if not checkpoint.is_file():
|
||||
raise FileNotFoundError(checkpoint)
|
||||
policy = checkpoint.parent / f"{checkpoint.parent.name}.onnx"
|
||||
if not policy.exists() or policy.stat().st_mtime_ns < checkpoint.stat().st_mtime_ns:
|
||||
raise RuntimeError(f"Export the latest checkpoint first: {checkpoint}")
|
||||
policy_bytes = policy.read_bytes()
|
||||
export = onnx.load_model_from_string(policy_bytes)
|
||||
# Verify the export contains this checkpoint's actor, not just a newer file.
|
||||
state = torch.load(checkpoint, map_location="cpu", weights_only=False)["actor_state_dict"]
|
||||
checked = set()
|
||||
for initializer in export.graph.initializer:
|
||||
if initializer.name in state:
|
||||
np.testing.assert_array_equal(
|
||||
onnx.numpy_helper.to_array(initializer), state[initializer.name].numpy(),
|
||||
err_msg=f"ONNX does not match {checkpoint}: {initializer.name}",
|
||||
)
|
||||
checked.add(initializer.name)
|
||||
if not ({k for k in state if k.startswith("mlp.")} | {"obs_normalizer._mean"}) <= checked:
|
||||
raise RuntimeError("ONNX is missing actor weights or normalization mean")
|
||||
# The exporter folds normalization std + epsilon into the Div initializer.
|
||||
initializers = {p.name: onnx.numpy_helper.to_array(p) for p in export.graph.initializer}
|
||||
divisions = [n for n in export.graph.node if n.op_type == "Div"]
|
||||
if len(divisions) != 1 or divisions[0].input[1] not in initializers:
|
||||
raise RuntimeError("Unexpected ONNX normalization graph")
|
||||
np.testing.assert_array_equal(
|
||||
initializers[divisions[0].input[1]],
|
||||
(state["obs_normalizer._std"] + 0.01).numpy(),
|
||||
err_msg="ONNX normalization does not match checkpoint",
|
||||
)
|
||||
onnx.checker.check_model(export)
|
||||
metadata = {p.key: p.value for p in export.metadata_props}
|
||||
names = metadata["joint_names"].split(",")
|
||||
scales = list(map(float, metadata["action_scale"].split(",")))
|
||||
if len(names) != 32 or len(scales) != 32 or metadata["observation_names"] != "base_lin_vel,base_ang_vel,projected_gravity,joint_pos,joint_vel,actions,command":
|
||||
raise RuntimeError("Unexpected Apollo policy contract")
|
||||
target = Path(__file__).resolve().parents[1] / "public/robots/apollo"
|
||||
target.mkdir(parents=True, exist_ok=True)
|
||||
records = []
|
||||
|
||||
|
||||
def copy(src, dst, data=None):
|
||||
data = src.read_bytes() if data is None else data
|
||||
dest = target / dst
|
||||
dest.parent.mkdir(parents=True, exist_ok=True)
|
||||
dest.write_bytes(data)
|
||||
records.append({"source": str(src), "file": dst, "bytes": len(data),
|
||||
"sha256": hashlib.sha256(data).hexdigest()})
|
||||
|
||||
|
||||
# Apply training-time collision editors and retain original position actuators.
|
||||
entity = Entity(get_apollo_robot_cfg())
|
||||
model = entity.spec.compile()
|
||||
# Metadata rounds defaults to 3 decimals; use the actual training stand keyframe.
|
||||
defaults = {}
|
||||
for name in names:
|
||||
jid = mujoco.mj_name2id(model, mujoco.mjtObj.mjOBJ_JOINT, name)
|
||||
defaults[name] = float(model.key_qpos[0, model.jnt_qposadr[jid]])
|
||||
np.testing.assert_allclose(
|
||||
list(defaults.values()), list(map(float, metadata["default_joint_pos"].split(","))),
|
||||
atol=0.000501, rtol=0, err_msg="Training pose does not match ONNX metadata",
|
||||
)
|
||||
root = ET.fromstring(entity.spec.to_xml())
|
||||
for tag in ("keyframe", "size", "option"):
|
||||
for element in root.findall(tag):
|
||||
root.remove(element)
|
||||
ET.SubElement(root, "option", timestep="0.005", integrator="implicitfast",
|
||||
solver="Newton", cone="pyramidal", iterations="20", ls_iterations="20",
|
||||
ccd_iterations="50")
|
||||
# Newer native MuJoCo writes input="pos"; WASM's general actuator uses
|
||||
# position transmission by default and does not accept that newer keyword.
|
||||
for actuator in root.findall("./actuator/general"):
|
||||
if actuator.attrib.get("input") != "pos":
|
||||
raise RuntimeError("Unexpected non-position Apollo actuator")
|
||||
del actuator.attrib["input"]
|
||||
assets = []
|
||||
xml = get_apollo_xml()
|
||||
for mesh in root.findall("./asset/mesh"):
|
||||
filename = mesh.attrib["file"]
|
||||
dst = f"assets/{filename}"
|
||||
copy(xml.parent / "assets" / filename, dst)
|
||||
assets.append({"path": dst, "vfs": dst})
|
||||
root.insert(0, ET.Comment(" Modified for browser simulation by import-apollo.py; see SOURCE.md. "))
|
||||
ET.indent(root)
|
||||
ET.ElementTree(root).write(target / "model.xml", encoding="unicode")
|
||||
copy(policy, "policies/walk.onnx", policy_bytes)
|
||||
copy(xml.parent / "LICENSE", "LICENSES/apollo.txt")
|
||||
copy(source / "LICENSE", "LICENSES/mjlab.txt")
|
||||
groups = {"policy": names, **{name: [name] for name in names}}
|
||||
config = {
|
||||
"schema": 1, "id": "apollo", "name": "Apptronik Apollo", "family": "apollo", "adapter": "generic",
|
||||
"dimensions": {"height": 1.73}, "model": "model.xml", "assets": assets,
|
||||
"base": {"type": "floating", "root_body": "base_link", "freejoint": model.joint(0).name,
|
||||
"spawn": {"pos": [0, 0, APOLLO_ROOT_HEIGHT], "yaw": 0}},
|
||||
"sim": {"timestep": 0.005, "decimation": 4},
|
||||
"joints": {"groups": groups, "defaults": defaults},
|
||||
"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": name, "scale": scale, "offset": "default"}
|
||||
for name, scale in zip(names, scales, strict=True)],
|
||||
"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": action, "codes": codes, "label": label}
|
||||
for action, codes, label in [
|
||||
("move_forward", ["KeyW", "ArrowUp"], "Forward"),
|
||||
("move_backward", ["KeyS", "ArrowDown"], "Backward"),
|
||||
("turn_left", ["KeyA", "ArrowLeft"], "Turn left"),
|
||||
("turn_right", ["KeyD", "ArrowRight"], "Turn right"),
|
||||
("reset", ["Space"], "Reset"),
|
||||
("pause", ["Escape"], "Pause / continue"),
|
||||
("chaseToggle", ["KeyC"], "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.",
|
||||
}
|
||||
(target / "robot.json").write_text(json.dumps(config, indent=2) + "\n")
|
||||
(target / "source-manifest.json").write_text(json.dumps({
|
||||
"checkpoint": str(checkpoint),
|
||||
"checkpoint_sha256": hashlib.sha256(checkpoint.read_bytes()).hexdigest(),
|
||||
"model_source": str(xml), "files": records,
|
||||
"behaviorReferences": [
|
||||
{"file": str(p.relative_to(source)), "sha256": hashlib.sha256(p.read_bytes()).hexdigest()}
|
||||
for p in [source / "src/mjlab/asset_zoo/robots/apptronik_apollo/apollo_constants.py",
|
||||
source / "src/mjlab/tasks/velocity/config/apptronik_apollo/env_cfgs.py",
|
||||
source / "src/mjlab/tasks/velocity/velocity_env_cfg.py"]],
|
||||
}, indent=2) + "\n")
|
||||
print(f"Imported {checkpoint} into {target}")
|
||||
@@ -0,0 +1,124 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Offline import using mjlab's Python environment.
|
||||
Usage: /path/to/mjlab/.venv/bin/python app/scripts/import-t1.py /path/to/mjlab
|
||||
Requires BOOSTER_ASSETS_ROOT if booster_assets is not at mjlab's default path.
|
||||
"""
|
||||
import hashlib
|
||||
import json
|
||||
from pathlib import Path
|
||||
import re
|
||||
import sys
|
||||
import xml.etree.ElementTree as ET
|
||||
|
||||
import onnx
|
||||
|
||||
source = Path(sys.argv[1]).resolve()
|
||||
sys.path.insert(0, str(source / 'src'))
|
||||
from mjlab.entity import Entity
|
||||
from mjlab.asset_zoo.robots.booster_t1.t1_constants import (
|
||||
get_t1_robot_cfg, get_t1_xml, T1_ACTION_SCALE,
|
||||
)
|
||||
|
||||
# Select the newest training run, then its highest numbered checkpoint.
|
||||
runs = sorted(p for p in (source / 'logs/rsl_rl/t1_flat_velocity').iterdir()
|
||||
if p.is_dir() and list(p.glob('model_*.pt')))
|
||||
run = runs[-1]
|
||||
checkpoint = max(run.glob('model_*.pt'), key=lambda p: int(p.stem.split('_')[-1]))
|
||||
policy = run / f'{run.name}.onnx'
|
||||
if not policy.exists() or policy.stat().st_mtime < checkpoint.stat().st_mtime:
|
||||
raise RuntimeError(f'Export the latest checkpoint first: {checkpoint}')
|
||||
# Snapshot the export before model compilation: training may still be running.
|
||||
policy_bytes = policy.read_bytes()
|
||||
metadata = {p.key: p.value for p in onnx.load_model_from_string(policy_bytes).metadata_props}
|
||||
names = metadata['joint_names'].split(',')
|
||||
if len(names) != 23 or metadata['observation_names'] != 'base_lin_vel,base_ang_vel,projected_gravity,joint_pos,joint_vel,actions,command':
|
||||
raise RuntimeError('Unexpected T1 policy contract')
|
||||
defaults = dict(zip(names, map(float, metadata['default_joint_pos'].split(',')), strict=True))
|
||||
target = Path(__file__).resolve().parents[1] / 'public/robots/t1'
|
||||
target.mkdir(parents=True, exist_ok=True)
|
||||
records = []
|
||||
|
||||
def copy(src, dst, data=None):
|
||||
data = src.read_bytes() if data is None else data
|
||||
dest = target / dst
|
||||
dest.parent.mkdir(parents=True, exist_ok=True)
|
||||
dest.write_bytes(data)
|
||||
records.append({'source': str(src), 'file': dst, 'bytes': len(data),
|
||||
'sha256': hashlib.sha256(data).hexdigest()})
|
||||
|
||||
# Entity applies the same actuator and collision editors used during training.
|
||||
entity = Entity(get_t1_robot_cfg())
|
||||
entity.spec.compile()
|
||||
root = ET.fromstring(entity.spec.to_xml())
|
||||
for tag in ('keyframe', 'size'):
|
||||
for element in root.findall(tag):
|
||||
root.remove(element)
|
||||
ET.SubElement(root, 'option', timestep='0.005', integrator='implicitfast',
|
||||
solver='Newton', cone='pyramidal', iterations='10', ls_iterations='20',
|
||||
ccd_iterations='50')
|
||||
assets = []
|
||||
xml = get_t1_xml()
|
||||
for mesh in root.findall('./asset/mesh'):
|
||||
filename = mesh.attrib['file']
|
||||
dst = f'meshes/{filename}'
|
||||
copy(xml.parent / 'meshes' / filename, dst)
|
||||
assets.append({'path': dst, 'vfs': dst})
|
||||
ET.indent(root)
|
||||
ET.ElementTree(root).write(target / 'model.xml', encoding='unicode')
|
||||
copy(policy, 'policies/walk.onnx', policy_bytes)
|
||||
copy(xml.parents[2] / 'LICENSE', 'LICENSES/booster-assets.txt')
|
||||
copy(source / 'LICENSE', 'LICENSES/mjlab.txt')
|
||||
groups = {'policy': names}
|
||||
actions = []
|
||||
for name in names:
|
||||
groups[name] = [name]
|
||||
scale, = [value for pattern, value in T1_ACTION_SCALE.items() if re.fullmatch(pattern, name)]
|
||||
actions.append({'type': 'joint_position', 'group': name, 'scale': scale, 'offset': 'default'})
|
||||
config = {
|
||||
'schema': 1, 'id': 't1', 'name': 'Booster T1', 'family': 't1', 'adapter': 'generic',
|
||||
'dimensions': {'height': 1.18}, 'model': 'model.xml', 'assets': assets,
|
||||
'base': {'type': 'floating', 'root_body': 'trunk', 'freejoint': 'world_joint',
|
||||
'spawn': {'pos': [0, 0, 0.6811], 'yaw': 0}},
|
||||
'sim': {'timestep': 0.005, 'decimation': 4},
|
||||
'joints': {'groups': groups, 'defaults': defaults},
|
||||
'observations': {'obs': {'terms': [
|
||||
{'type': 'linear_velocity', 'sensor': 'imu_lin_vel'},
|
||||
{'type': 'gyro', 'sensor': 'imu_ang_vel'},
|
||||
{'type': 'projected_gravity', 'body': 'trunk'},
|
||||
{'type': 'joint_pos_rel', 'group': 'policy'},
|
||||
{'type': 'joint_vel', 'group': 'policy'},
|
||||
{'type': 'last_action', 'group': 'policy'},
|
||||
{'type': 'command', 'size': 3},
|
||||
]}},
|
||||
'actions': actions, 'actuation': {'type': 'native_position'},
|
||||
'commands': {'size': 3, 'limits': [0.6, -0.4, 0.6]},
|
||||
'skills': [{'id': 'walk', 'kind': 'primary', 'owns': 'policy',
|
||||
'controller': {'type': 'onnx', 'policy': 'policies/walk.onnx'}}],
|
||||
'input': {'bindings': [
|
||||
{'action': action, 'codes': codes, 'label': label}
|
||||
for action, codes, label in [
|
||||
('move_forward', ['KeyW', 'ArrowUp'], 'Forward'),
|
||||
('move_backward', ['KeyS', 'ArrowDown'], 'Backward'),
|
||||
('turn_left', ['KeyA', 'ArrowLeft'], 'Turn left'),
|
||||
('turn_right', ['KeyD', 'ArrowRight'], 'Turn right'),
|
||||
('reset', ['Space'], 'Reset'),
|
||||
('pause', ['Escape'], 'Pause / continue'),
|
||||
('chaseToggle', ['KeyC'], 'Restore chase camera'),
|
||||
]]},
|
||||
'render': {'source': 'mjcf_visual', 'groups': [1], 'camera': {'distance': 2.5}},
|
||||
'presentation': {'theme': 'comic'},
|
||||
'termination': {'tilt_z': -0.5, 'min_height': 0.42, 'on_fall': 'hold'},
|
||||
'license': 'See LICENSES/booster-assets.txt and LICENSES/mjlab.txt; policy is locally trained.',
|
||||
}
|
||||
(target / 'robot.json').write_text(json.dumps(config, indent=2) + '\n')
|
||||
(target / 'source-manifest.json').write_text(json.dumps({
|
||||
'checkpoint': str(checkpoint),
|
||||
'checkpoint_sha256': hashlib.sha256(checkpoint.read_bytes()).hexdigest(),
|
||||
'model_source': str(xml), 'files': records,
|
||||
'behaviorReferences': [
|
||||
{'file': str(p.relative_to(source)), 'sha256': hashlib.sha256(p.read_bytes()).hexdigest()}
|
||||
for p in [source / 'src/mjlab/asset_zoo/robots/booster_t1/t1_constants.py',
|
||||
source / 'src/mjlab/tasks/velocity/config/booster_t1/env_cfgs.py',
|
||||
source / 'src/mjlab/tasks/velocity/velocity_env_cfg.py']],
|
||||
}, indent=2) + '\n')
|
||||
print(f'Imported {checkpoint.name} / {policy.name} into {target}')
|
||||
@@ -147,8 +147,8 @@ export function validatePackage(config) {
|
||||
!term.group
|
||||
)
|
||||
throw new Error(`${term.type}: group required`);
|
||||
if (term.type === "gyro" && !term.sensor)
|
||||
throw new Error("gyro: sensor required");
|
||||
if (["gyro", "linear_velocity"].includes(term.type) && !term.sensor)
|
||||
throw new Error(`${term.type}: sensor required`);
|
||||
if (term.type === "projected_gravity" && !term.body)
|
||||
throw new Error("projected_gravity: body required");
|
||||
if (
|
||||
|
||||
@@ -182,6 +182,7 @@
|
||||
"type": {
|
||||
"enum": [
|
||||
"gyro",
|
||||
"linear_velocity",
|
||||
"projected_gravity",
|
||||
"joint_pos_rel",
|
||||
"joint_vel",
|
||||
|
||||
@@ -15,7 +15,7 @@ export class ObservationPipeline {
|
||||
const implementation = registry.get(term.type),
|
||||
size = implementation.size(term, ctx, names);
|
||||
let sensor, body;
|
||||
if (term.type === "gyro") {
|
||||
if (["gyro", "linear_velocity"].includes(term.type)) {
|
||||
const id = ctx.sim.mujoco.mj_name2id(
|
||||
ctx.sim.model,
|
||||
ctx.sim.mujoco.mjtObj.mjOBJ_SENSOR.value,
|
||||
@@ -31,7 +31,7 @@ export class ObservationPipeline {
|
||||
};
|
||||
if (sensor.dim !== 3)
|
||||
throw new Error(
|
||||
`observations.${name}: gyro ${term.sensor} must have dimension 3`,
|
||||
`observations.${name}: ${term.type} ${term.sensor} must have dimension 3`,
|
||||
);
|
||||
}
|
||||
if (term.type === "projected_gravity") {
|
||||
|
||||
@@ -33,6 +33,8 @@ observationTerms.register("gyro", {
|
||||
out[offset + i] = c.sim.data.sensordata[op.sensorAdr + i];
|
||||
},
|
||||
});
|
||||
// Both sensors expose three body-frame components from MuJoCo sensordata.
|
||||
observationTerms.register("linear_velocity", observationTerms.get("gyro"));
|
||||
observationTerms.register("projected_gravity", {
|
||||
size: () => 3,
|
||||
write: (out, offset, c, op) => {
|
||||
|
||||
@@ -22,6 +22,10 @@ export function composeScene(xml, config, world, interactiveProps = []) {
|
||||
for (const [key, value] of Object.entries({
|
||||
name: "platform_floor",
|
||||
type: "plane",
|
||||
// World collisions must not inherit a robot's visual-only geom defaults.
|
||||
contype: "1",
|
||||
conaffinity: "1",
|
||||
group: "0",
|
||||
size: "0 0 0.05",
|
||||
rgba: world.floor.rgba.join(" "),
|
||||
friction: world.floor.friction.join(" "),
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
import test from "node:test";
|
||||
import assert from "node:assert/strict";
|
||||
import { readFile } from "node:fs/promises";
|
||||
import { createHash } from "node:crypto";
|
||||
import { readOnnxMetadata } from "../src/platform/loader/metadata.js";
|
||||
|
||||
const root = new URL("../public/robots/apollo/", import.meta.url);
|
||||
|
||||
test("Apollo v0.6 pins upright v3 model_9999 and matches its pose/action contract", async () => {
|
||||
const config = JSON.parse(await readFile(new URL("robot.json", root)));
|
||||
const manifest = JSON.parse(
|
||||
await readFile(new URL("source-manifest.json", root)),
|
||||
);
|
||||
const policy = await readFile(new URL("policies/walk.onnx", root));
|
||||
const meta = readOnnxMetadata(policy);
|
||||
assert.ok(
|
||||
manifest.checkpoint.endsWith(
|
||||
"/apollo_flat_upright_v3/2026-11-02_17-39-21_apollo_upright_v3/model_9999.pt",
|
||||
),
|
||||
);
|
||||
assert.equal(
|
||||
createHash("sha256").update(policy).digest("hex"),
|
||||
manifest.files.find((f) => f.file === "policies/walk.onnx").sha256,
|
||||
);
|
||||
assert.deepEqual(config.joints.groups.policy, meta.joint_names.split(","));
|
||||
assert.equal(config.joints.groups.policy.length, 32);
|
||||
assert.deepEqual(
|
||||
config.actions.map((a) => a.scale),
|
||||
meta.action_scale.split(",").map(Number),
|
||||
);
|
||||
meta.default_joint_pos
|
||||
.split(",")
|
||||
.map(Number)
|
||||
.forEach((value, i) => {
|
||||
assert.ok(
|
||||
Math.abs(
|
||||
config.joints.defaults[config.joints.groups.policy[i]] - value,
|
||||
) <= 0.000501,
|
||||
);
|
||||
});
|
||||
assert.equal(config.joints.defaults.l_knee_fe, 0.35);
|
||||
assert.equal(config.joints.defaults.r_knee_fe, 0.35);
|
||||
assert.ok(Math.abs(config.base.spawn.pos[2] - 1.1008385) < 1e-7);
|
||||
assert.equal(config.termination.min_height, 0.98);
|
||||
assert.deepEqual(config.sim, { timestep: 0.005, decimation: 4 });
|
||||
});
|
||||
@@ -93,6 +93,28 @@ test("observation order/frame/defaults/history use policy order, not model order
|
||||
/missing/,
|
||||
);
|
||||
});
|
||||
test("body-frame linear velocity reads the named sensor and validates its dimension", () => {
|
||||
const ctx = context();
|
||||
const specs = {
|
||||
obs: { terms: [{ type: "linear_velocity", sensor: "velocity" }] },
|
||||
};
|
||||
ctx.sim.model.sensor_adr[0] = 3;
|
||||
ctx.sim.data.sensordata = new Float64Array([99, 98, 97, 1, -2, 3]);
|
||||
assert.deepEqual(
|
||||
Array.from(new ObservationPipeline(specs, ctx).write().obs),
|
||||
[1, -2, 3],
|
||||
);
|
||||
ctx.sim.model.sensor_dim[0] = 1;
|
||||
assert.throws(() => new ObservationPipeline(specs, ctx), /dimension 3/);
|
||||
assert.throws(
|
||||
() =>
|
||||
new ObservationPipeline(
|
||||
{ obs: { terms: [{ type: "linear_velocity", sensor: "missing" }] } },
|
||||
ctx,
|
||||
),
|
||||
/missing sensor/,
|
||||
);
|
||||
});
|
||||
test("actions resolve named defaults and native ctrl order; invalid output is atomic", () => {
|
||||
const ctx = context(),
|
||||
p = new ActionPipeline([{ group: "policy", scale: 2 }], ctx);
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
# v0.6 release verification
|
||||
|
||||
## Scope
|
||||
|
||||
Adds Booster T1 and Apptronik Apollo to the existing browser platform. Apollo is pinned to the requested 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`
|
||||
|
||||
Its matching ONNX export is packaged with calibrated upright-v3 joint defaults and root spawn height, a 0.98 m fall threshold, original native position actuators and source STL visuals. Import validates network parameters, normalization mean/std and stand-pose metadata. Source and checkpoint SHA-256 values are recorded in `app/public/robots/apollo/source-manifest.json`.
|
||||
|
||||
The release includes the previously uncommitted T1 integration, shared linear-velocity observation support, the World floor collision override, package manifests, assets, import scripts and regression tests. Version is `0.6.0`; Git release tag is `v0.6`.
|
||||
|
||||
## Checks passed
|
||||
|
||||
From `app/`:
|
||||
|
||||
```sh
|
||||
npm test # 68 passed
|
||||
npm run validate:packages # all six packages, resource paths and source hashes
|
||||
npm run build # production build
|
||||
npm run format:check # all matched files
|
||||
npx playwright test apollo.spec.js t1.spec.js rp1.spec.js \
|
||||
microban-walking.spec.js robot-switching.spec.js microduck-regression.spec.js
|
||||
# 19 passed; targeted suite, not the entire browser suite
|
||||
```
|
||||
|
||||
The failed-switch browser case intentionally injects a policy HTTP 404 and confirms rollback/retry; that logged error is expected.
|
||||
|
||||
## Apollo results
|
||||
|
||||
Real MuJoCo WASM and ONNX inference, 108 observations and 32 actions. WASD commands and release-to-zero, reset and inter-robot switching passed. Five independent 5-second trials with props parked:
|
||||
|
||||
| Trial | Final x (m) | Final root z (m) | Final yaw (rad) | Fallen |
|
||||
|---|---:|---:|---:|---|
|
||||
| Stand | 0.020 | 1.086 | -0.025 | No |
|
||||
| Forward | 2.258 | 1.083 | -0.029 | No |
|
||||
| Backward | -1.174 | 1.086 | -0.096 | No |
|
||||
| Left | 0.131 | 1.086 | 1.158 | No |
|
||||
| Right | 0.064 | 1.086 | -1.725 | No |
|
||||
|
||||
Tests require finite simulation state, no falls, final height above 1.04 m, correct translation/turn direction, and active floor collision bits even with Apollo's visual-only geom defaults. These checks do not establish long-duration robustness, perfect command tracking, or hardware compatibility.
|
||||
Reference in New Issue
Block a user