@hackbuild/humanoid 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Moheeb Zara
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,139 @@
1
- # Temporary Holding Version
1
+ # @hackbuild/humanoid
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Run a physics humanoid in the page: MuJoCo simulates a robot from its MJCF files, and you set its joint targets, shove it and draw it.
4
+
5
+ [![npm](https://img.shields.io/npm/v/@hackbuild/humanoid)](https://www.npmjs.com/package/@hackbuild/humanoid) [![licence MIT](https://img.shields.io/badge/licence-MIT-blue)](../../LICENSE) ![gzip 5.7 kB measured](https://img.shields.io/badge/gzip-5.7%20kB-blue) ![types included](https://img.shields.io/badge/types-included-blue)
6
+
7
+ ## What it does
8
+
9
+ - Loads MuJoCo, Google DeepMind's WebAssembly build (`@mujoco/mujoco`, single threaded, so the page needs no cross-origin isolation), at run time: from a factory your bundler imports, or from a URL. It is never bundled.
10
+ - Reads a robot from the URL of its MJCF or from a dropped folder, with every file the MJCF names (includes, meshes, textures), keyed the way MuJoCo's virtual file system asks for them; files that do not arrive are listed.
11
+ - Steps the robot at the model's own timestep however the page's frames fall, resets it to a keyframe, writes joint targets to its position actuators, holds its current pose, shoves it, and reads any body's world pose.
12
+ - Draws it in three.js from the `./three` subpath: one mesh per visible geom, MuJoCo's meshes shared, turned from MuJoCo's z up into y up with the robot facing +Z.
13
+ - Names the Unitree G1 (29 joints) from MuJoCo Menagerie, pinned to one commit, as a ready robot; its files load from GitHub at run time.
14
+
15
+ ## Install
16
+
17
+ ```sh
18
+ npm install @hackbuild/humanoid
19
+ ```
20
+
21
+ It has no dependencies. MuJoCo and three.js are optional peers: install `@mujoco/mujoco` to import its factory, or let `loadMujoco` load it from `https://cdn.jsdelivr.net/npm/@mujoco/mujoco@4.0.1/mujoco.js`, with `mujoco.wasm` read beside it. `onLicence` receives the line to show. The G1's files come from GitHub when you load it.
22
+
23
+ | download | size |
24
+ |---|---|
25
+ | mujoco.wasm | 11.2 MB, 2.8 MB gzip (measured) |
26
+ | the G1's meshes | 19.7 MB (vendor) |
27
+
28
+ ## Quick start
29
+
30
+ ```ts
31
+ import * as THREE from "three";
32
+ import { G1, Humanoid, fetchModel, loadMujoco } from "@hackbuild/humanoid";
33
+ import { HumanoidView } from "@hackbuild/humanoid/three";
34
+
35
+ const renderer = new THREE.WebGLRenderer({ antialias: true });
36
+ renderer.setSize(innerWidth, innerHeight);
37
+ document.body.append(renderer.domElement);
38
+ const scene = new THREE.Scene().add(new THREE.HemisphereLight(0xffffff, 0x887766, 2));
39
+ const camera = new THREE.PerspectiveCamera(35, innerWidth / innerHeight, 0.05, 50).translateZ(2.6).translateY(0.8);
40
+
41
+ // mujoco loads from jsdelivr and the g1's files from github, at run time
42
+ const mj = await loadMujoco({ onLicence: (line) => console.info(line) });
43
+ const robot = Humanoid.open(mj, await fetchModel(G1.url));
44
+ robot.reset(G1.keyframe); // upright, arms down
45
+ const view = new HumanoidView(robot);
46
+ scene.add(view.root);
47
+ // bend the knees through the position actuators, eased over 0.8 s
48
+ robot.moveTo({ left_knee_joint: 0.6, right_knee_joint: 0.6, left_hip_pitch_joint: -0.3, right_hip_pitch_joint: -0.3 }, 0.8);
49
+ renderer.setAnimationLoop(() => (robot.step(1 / 60), view.update(), renderer.render(scene, camera)));
50
+ ```
51
+
52
+ ## Live example
53
+
54
+ The demo page loads MuJoCo and the G1 when you press load, then stands it, crouches it, raises an arm and shoves it: [hackbuild-motion/humanoid](https://hackbuild.github.io/hackbuild-motion/humanoid/).
55
+
56
+ ## Concepts
57
+
58
+ ### the runtime
59
+
60
+ MuJoCo is Google DeepMind's physics engine, compiled to WebAssembly and published as `@mujoco/mujoco` under Apache-2.0. This package uses its single threaded build and never ships it. Every handle MuJoCo makes lives on the wasm heap, so `Humanoid.dispose()` frees the model and its data.
61
+
62
+ ### the files
63
+
64
+ An MJCF names other files relative to its compiler's directories: `meshdir` or `assetdir` for meshes, `texturedir` for textures, and includes by their own path. `fetchModel` reads the main file, follows includes, then fetches every named file beside the main one; `filesFrom` does the same over a dropped folder, taking the MJCF with a worldbody that no other file includes as the main one.
65
+
66
+ ### the robot
67
+
68
+ `Humanoid.open` compiles the files in MuJoCo's virtual file system. `targets` is the actuators' control array, a live view: for a position actuator it is the joint's target angle. `moveTo` eases targets in over simulated time; a sudden jump can topple a robot that a ramp of half a second leaves standing. `step(seconds)` runs whole timesteps and carries the remainder, at most 0.1 s a call, so a slow frame does not run away. Poses come back in MuJoCo's frame: z up, meters, quaternions w x y z.
69
+
70
+ ## API overview
71
+
72
+ | export | what it does |
73
+ |---|---|
74
+ | [`loadMujoco`](../../docs/api/humanoid/index.md#loadmujoco) | load MuJoCo once, from a factory or a URL |
75
+ | [`fetchModel`](../../docs/api/humanoid/index.md#fetchmodel) | a robot's files from the URL of its MJCF |
76
+ | [`filesFrom`](../../docs/api/humanoid/index.md#filesfrom) | a robot's files from a dropped folder |
77
+ | [`referencedFiles`](../../docs/api/humanoid/index.md#referencedfiles) | the includes and files one MJCF names |
78
+ | [`Humanoid`](../../docs/api/humanoid/index.md#humanoid) | step, reset, targets, moveTo, hold, push, poses, dispose |
79
+ | [`G1`](../../docs/api/humanoid/index.md#g1) | the Unitree G1 from MuJoCo Menagerie: url, joints, keyframe, licence |
80
+ | [`HumanoidView`](../../docs/api/humanoid/three.md#humanoidview) | the robot in three.js, from `@hackbuild/humanoid/three` |
81
+ | [`HumanoidError`](../../docs/api/humanoid/index.md#humanoiderror) | a model or runtime this package cannot open, with the reason |
82
+
83
+ The full reference is in [docs/api/humanoid](../../docs/api/humanoid/README.md).
84
+
85
+ ## Browser support
86
+
87
+ | feature | needs | notes |
88
+ |---|---|---|
89
+ | MuJoCo | WebAssembly, a network fetch or the installed package | 206 ms to load from a local copy in headless Chrome on an Apple M1 (measured) |
90
+ | stepping | nothing more | 0.084 ms per 2 ms step for the G1, about 24 times real time (measured) |
91
+ | drawing | three.js 0.186 or later, WebGL | the G1 draws 35 meshes |
92
+ | single file build | `dist/humanoid.iife.js` | `HackbuildHumanoid` global with `THREE` from the page; MuJoCo still loads from its URL |
93
+
94
+ ## Errors and troubleshooting
95
+
96
+ | message | cause | what to do |
97
+ |---|---|---|
98
+ | `mujoco did not load from ...` | offline, or the URL is blocked | install `@mujoco/mujoco` and pass its factory, or serve it and pass `url` |
99
+ | `mujoco could not compile the model: ...` | a named file is missing or the MJCF is invalid | keep the robot's folder structure; the message names files that did not arrive |
100
+ | `the model has no keyframe ...` | a keyframe name the model lacks | use one from `keyframes` |
101
+ | `no mjcf here` | the drop holds no MJCF with a worldbody | drop the robot's whole folder |
102
+
103
+ ## Works with
104
+
105
+ - [@hackbuild/avatar](../avatar/README.md) loads the VRM a later release will move with the robot's bodies.
106
+ - [@hackbuild/environment](../environment/README.md) gives the robot a lit set to stand in.
107
+
108
+ ## Changelog and licences
109
+
110
+ Changes are in the repository [CHANGELOG](../../CHANGELOG.md). Code is MIT ([LICENSE](../../LICENSE)); this README is CC-BY-4.0 with its code samples also MIT. MuJoCo is Google DeepMind's, Apache-2.0, and loads at run time. The G1 model and meshes are from MuJoCo Menagerie under BSD-3-Clause, copyright Unitree Robotics, and load at run time; robots you bring carry their own licences.
111
+
112
+ ## What is verified, and what is not
113
+
114
+ ### Verified on this machine
115
+
116
+ | check | result |
117
+ |---|---|
118
+ | `npx vitest run packages/humanoid` | 7 of 7 tests pass on MuJoCo 4.0.1 in node: references and compiler directories, a dropped folder with an include and a missing mesh, compiling through the virtual files, names, uneven frames stepped at the timestep, a fall under gravity, a keyframe's pose and controls, an actuator reaching its target, an eased move, hold, a push, the compile error naming missing files, the three.js view's meshes and their motion (counted) |
119
+ | the G1 from MuJoCo Menagerie in headless Chrome on an Apple M1 | MuJoCo loads in 206 ms, the G1's 36 files (19.7 MB) arrive in 886 ms with none missing, it compiles with 29 actuated joints and draws 35 meshes; on its stand keyframe the pelvis holds 0.792 m for 5 s; 0.084 ms per step (measured) |
120
+ | the demo page's own check, headless, MuJoCo from jsDelivr | loads in 362 ms, the G1's files in 528 ms; it stands at 0.792 m and eases into a crouch at 0.671 m at 59.9 frames a second (measured) |
121
+ | crouches and shoves on the G1 in node | eased over 0.5 s or more, crouches from hips -0.2 to -0.6 radians all hold (pelvis 0.778 to 0.671 m); the same targets set at once topple it at two depths of five; a 0.3 m/s shove topples it (measured) |
122
+
123
+ ### Not verified by anything
124
+
125
+ - No learned policy runs yet: the robot holds whatever targets it is given and does not balance by itself; a hard push can topple it.
126
+ - No VRM follows the robot yet.
127
+ - Robots other than the G1 and the test model are untried, and so are textures in MJCF.
128
+ - Nobody has watched it at real frame rate in a visible browser; the checks are headless.
129
+
130
+ ## Size budget
131
+
132
+ | file | gzip (measured) | ceiling |
133
+ |---|---|---|
134
+ | `dist/index.js` (main entry, imports external) | 5,733 bytes | 6,019 bytes |
135
+ | `dist/humanoid.iife.js` (single file build) | 7,248 bytes | 7,610 bytes |
136
+
137
+ Measured 2026-11-30 by `node tools/lint-packages.mjs` (gzip level 9) from the packed
138
+ tarball. Generated from `tools/size-budget.json`; CI fails when a file moves more than
139
+ 5 percent from its row.
@@ -0,0 +1,33 @@
1
+ /**
2
+ * A robot as files: its MJCF and every file it names (included MJCF, meshes,
3
+ * textures, height fields, skins), from a URL or from files the person
4
+ * dropped. Paths are keyed the way MuJoCo looks them up in its virtual file
5
+ * system: an include by its own path, a mesh by meshdir (or assetdir) and
6
+ * its file, a texture by texturedir and its file. A file that does not
7
+ * arrive is listed in `missing`.
8
+ */
9
+ /** A robot's main MJCF and the files it names. */
10
+ export interface ModelFiles {
11
+ /** The main MJCF's text. */
12
+ xml: string;
13
+ /** Every other file by the path MuJoCo asks for. */
14
+ assets: Map<string, Uint8Array>;
15
+ /** Paths the MJCF names that did not arrive. */
16
+ missing: string[];
17
+ }
18
+ /** The files one MJCF names, split into includes and the rest, joined onto its compiler's directories. */
19
+ export declare function referencedFiles(xml: string, dirs?: {
20
+ meshdir?: string;
21
+ texturedir?: string;
22
+ assetdir?: string;
23
+ }): {
24
+ includes: string[];
25
+ files: string[];
26
+ };
27
+ /** A robot from the URL of its main MJCF; every file it names is fetched beside it. */
28
+ export declare function fetchModel(url: string, o?: {
29
+ fetch?: typeof fetch;
30
+ onFile?: (path: string, done: number, of: number) => void;
31
+ }): Promise<ModelFiles>;
32
+ /** A robot from dropped files (a folder keeps its paths): the main MJCF is the one with a worldbody that no other file includes. */
33
+ export declare function filesFrom(list: Iterable<File>): Promise<ModelFiles>;
package/dist/files.js ADDED
@@ -0,0 +1,125 @@
1
+ /**
2
+ * A robot as files: its MJCF and every file it names (included MJCF, meshes,
3
+ * textures, height fields, skins), from a URL or from files the person
4
+ * dropped. Paths are keyed the way MuJoCo looks them up in its virtual file
5
+ * system: an include by its own path, a mesh by meshdir (or assetdir) and
6
+ * its file, a texture by texturedir and its file. A file that does not
7
+ * arrive is listed in `missing`.
8
+ */
9
+ import { HumanoidError } from "./runtime.js";
10
+ const attrs = (tag) => Object.fromEntries([...tag.matchAll(/([A-Za-z_]+)\s*=\s*"([^"]*)"/g)].map((m) => [m[1], m[2]]));
11
+ const join = (dir, file) => (dir ? `${dir.replace(/\/+$/, "")}/${file}` : file).replace(/^\.\//, "");
12
+ /** The files one MJCF names, split into includes and the rest, joined onto its compiler's directories. */
13
+ export function referencedFiles(xml, dirs = {}) {
14
+ const d = { ...dirs };
15
+ for (const m of xml.matchAll(/<compiler\b[^>]*>/g)) {
16
+ const a = attrs(m[0]);
17
+ if (a.meshdir !== undefined)
18
+ d.meshdir = a.meshdir;
19
+ if (a.texturedir !== undefined)
20
+ d.texturedir = a.texturedir;
21
+ if (a.assetdir !== undefined)
22
+ d.assetdir = a.assetdir;
23
+ }
24
+ const includes = [...xml.matchAll(/<include\b[^>]*>/g)].map((m) => attrs(m[0]).file).filter((f) => !!f);
25
+ const files = [];
26
+ for (const m of xml.matchAll(/<(mesh|skin|hfield|texture)\b[^>]*>/g)) {
27
+ const f = attrs(m[0]).file;
28
+ if (!f)
29
+ continue;
30
+ const dir = m[1] === "texture" ? (d.texturedir ?? d.assetdir) : (d.meshdir ?? d.assetdir);
31
+ files.push(join(dir, f));
32
+ }
33
+ return { includes, files: [...new Set(files)] };
34
+ }
35
+ /** Compiler directories set anywhere in a set of MJCF texts: an included file's compiler applies to the whole model. */
36
+ function dirsOf(xmls) {
37
+ const d = {};
38
+ for (const x of xmls)
39
+ for (const m of x.matchAll(/<compiler\b[^>]*>/g)) {
40
+ const a = attrs(m[0]);
41
+ if (a.meshdir !== undefined)
42
+ d.meshdir = a.meshdir;
43
+ if (a.texturedir !== undefined)
44
+ d.texturedir = a.texturedir;
45
+ if (a.assetdir !== undefined)
46
+ d.assetdir = a.assetdir;
47
+ }
48
+ return d;
49
+ }
50
+ /** Reads an MJCF and everything it names through `read`, includes first; a file `read` cannot give is listed as missing. */
51
+ async function gather(main, read, onFile) {
52
+ const dec = new TextDecoder();
53
+ const first = await read(main);
54
+ if (!first)
55
+ throw new HumanoidError(`the model file ${main} did not load.`);
56
+ const xml = dec.decode(first);
57
+ const assets = new Map();
58
+ const missing = [];
59
+ const texts = [xml];
60
+ // includes, breadth first; each may include more
61
+ const queue = [...referencedFiles(xml).includes];
62
+ while (queue.length) {
63
+ const inc = queue.shift();
64
+ if (assets.has(inc))
65
+ continue;
66
+ const b = await read(inc);
67
+ if (!b) {
68
+ missing.push(inc);
69
+ continue;
70
+ }
71
+ assets.set(inc, b);
72
+ const t = dec.decode(b);
73
+ texts.push(t);
74
+ queue.push(...referencedFiles(t).includes);
75
+ }
76
+ const dirs = dirsOf(texts);
77
+ const wanted = [...new Set(texts.flatMap((t) => referencedFiles(t, dirs).files))].filter((f) => !assets.has(f));
78
+ let done = 0;
79
+ await Promise.all(wanted.map(async (f) => {
80
+ const b = await read(f);
81
+ if (b)
82
+ assets.set(f, b);
83
+ else
84
+ missing.push(f);
85
+ onFile?.(f, ++done, wanted.length);
86
+ }));
87
+ return { xml, assets, missing };
88
+ }
89
+ /** A robot from the URL of its main MJCF; every file it names is fetched beside it. */
90
+ export function fetchModel(url, o = {}) {
91
+ const f = o.fetch ?? globalThis.fetch.bind(globalThis);
92
+ const here = globalThis.location?.href;
93
+ const base = new URL(url, here);
94
+ const read = async (path) => {
95
+ try {
96
+ const r = await f(path === url ? base.href : new URL(path, base).href);
97
+ return r.ok ? new Uint8Array(await r.arrayBuffer()) : null;
98
+ }
99
+ catch {
100
+ return null;
101
+ }
102
+ };
103
+ return gather(url, read, o.onFile);
104
+ }
105
+ /** A robot from dropped files (a folder keeps its paths): the main MJCF is the one with a worldbody that no other file includes. */
106
+ export async function filesFrom(list) {
107
+ const files = new Map();
108
+ for (const f of list)
109
+ files.set((f.webkitRelativePath || f.name).replace(/\\/g, "/"), f);
110
+ // paths relative to the folder that holds the main file
111
+ const xmls = [...files.keys()].filter((p) => /\.xml$/i.test(p));
112
+ const texts = new Map();
113
+ for (const p of xmls)
114
+ texts.set(p, await files.get(p).text());
115
+ const included = new Set([...texts].flatMap(([p, t]) => referencedFiles(t).includes.map((i) => join(p.split("/").slice(0, -1).join("/"), i))));
116
+ const main = xmls.filter((p) => !included.has(p) && /<worldbody/.test(texts.get(p))).sort((a, b) => a.split("/").length - b.split("/").length || a.length - b.length)[0];
117
+ if (!main)
118
+ throw new HumanoidError("no mjcf here: drop the robot's folder, with an .xml that has a worldbody.");
119
+ const root = main.split("/").slice(0, -1).join("/");
120
+ const read = async (path) => {
121
+ const f = files.get(path === main ? main : join(root, path));
122
+ return f ? new Uint8Array(await f.arrayBuffer()) : null;
123
+ };
124
+ return gather(main, read);
125
+ }
package/dist/g1.d.ts ADDED
@@ -0,0 +1,18 @@
1
+ /**
2
+ * The Unitree G1 (29 joints) from MuJoCo Menagerie, pinned to one commit:
3
+ * its scene, model and 35 meshes load at run time from GitHub and are not
4
+ * part of this library. The model holds its pose with position actuators;
5
+ * its keyframe "stand" is the robot upright with its arms down.
6
+ */
7
+ /** The G1 from MuJoCo Menagerie, by URL, with its licence and download size. */
8
+ export declare const G1: {
9
+ readonly name: "unitree g1, 29 joints";
10
+ /** The scene (floor and light) that includes the robot, at menagerie commit 98a70c5. */
11
+ readonly url: "https://raw.githubusercontent.com/google-deepmind/mujoco_menagerie/98a70c569c4c1b6da467a20012f766ee1f8dc521/unitree_g1/scene.xml";
12
+ readonly licence: "unitree g1 model and meshes from mujoco menagerie, bsd-3-clause, copyright unitree robotics. they load at run time and are not part of this library.";
13
+ /** The meshes the model uses, in bytes (vendor: GitHub's sizes). */
14
+ readonly bytes: 19666440;
15
+ readonly keyframe: "stand";
16
+ /** The 29 actuated joints in the model's order: legs, waist, arms. */
17
+ readonly joints: readonly ["left_hip_pitch_joint", "left_hip_roll_joint", "left_hip_yaw_joint", "left_knee_joint", "left_ankle_pitch_joint", "left_ankle_roll_joint", "right_hip_pitch_joint", "right_hip_roll_joint", "right_hip_yaw_joint", "right_knee_joint", "right_ankle_pitch_joint", "right_ankle_roll_joint", "waist_yaw_joint", "waist_roll_joint", "waist_pitch_joint", "left_shoulder_pitch_joint", "left_shoulder_roll_joint", "left_shoulder_yaw_joint", "left_elbow_joint", "left_wrist_roll_joint", "left_wrist_pitch_joint", "left_wrist_yaw_joint", "right_shoulder_pitch_joint", "right_shoulder_roll_joint", "right_shoulder_yaw_joint", "right_elbow_joint", "right_wrist_roll_joint", "right_wrist_pitch_joint", "right_wrist_yaw_joint"];
18
+ };
package/dist/g1.js ADDED
@@ -0,0 +1,24 @@
1
+ /**
2
+ * The Unitree G1 (29 joints) from MuJoCo Menagerie, pinned to one commit:
3
+ * its scene, model and 35 meshes load at run time from GitHub and are not
4
+ * part of this library. The model holds its pose with position actuators;
5
+ * its keyframe "stand" is the robot upright with its arms down.
6
+ */
7
+ /** The G1 from MuJoCo Menagerie, by URL, with its licence and download size. */
8
+ export const G1 = {
9
+ name: "unitree g1, 29 joints",
10
+ /** The scene (floor and light) that includes the robot, at menagerie commit 98a70c5. */
11
+ url: "https://raw.githubusercontent.com/google-deepmind/mujoco_menagerie/98a70c569c4c1b6da467a20012f766ee1f8dc521/unitree_g1/scene.xml",
12
+ licence: "unitree g1 model and meshes from mujoco menagerie, bsd-3-clause, copyright unitree robotics. they load at run time and are not part of this library.",
13
+ /** The meshes the model uses, in bytes (vendor: GitHub's sizes). */
14
+ bytes: 19_666_440,
15
+ keyframe: "stand",
16
+ /** The 29 actuated joints in the model's order: legs, waist, arms. */
17
+ joints: [
18
+ "left_hip_pitch_joint", "left_hip_roll_joint", "left_hip_yaw_joint", "left_knee_joint", "left_ankle_pitch_joint", "left_ankle_roll_joint",
19
+ "right_hip_pitch_joint", "right_hip_roll_joint", "right_hip_yaw_joint", "right_knee_joint", "right_ankle_pitch_joint", "right_ankle_roll_joint",
20
+ "waist_yaw_joint", "waist_roll_joint", "waist_pitch_joint",
21
+ "left_shoulder_pitch_joint", "left_shoulder_roll_joint", "left_shoulder_yaw_joint", "left_elbow_joint", "left_wrist_roll_joint", "left_wrist_pitch_joint", "left_wrist_yaw_joint",
22
+ "right_shoulder_pitch_joint", "right_shoulder_roll_joint", "right_shoulder_yaw_joint", "right_elbow_joint", "right_wrist_roll_joint", "right_wrist_pitch_joint", "right_wrist_yaw_joint",
23
+ ],
24
+ };