Skip to content

Commit cfd91c5

Browse files
authored
Merge pull request #177 from kevinzakka/g1-mjx
Add MJX variant of g1.xml.
2 parents 4a70155 + 173ed13 commit cfd91c5

File tree

7 files changed

+610
-2
lines changed

7 files changed

+610
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,18 @@
22

33
All notable changes to this repository will be documented here.
44

5+
## [30/05/2025]
6+
7+
- Added an MJX-tuned version of the G1 model.
8+
59
## [19/05/2025]
610

711
- Added [YAM manipulator](i2rt_yam/README.md) from I2RT Robotics.
812

913
## [22/04/2025]
14+
1015
- Adds changelog structure, contributor list, and PR template.
1116

1217
## [07/09/2022]
18+
1319
- Initial release.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ Menagerie, see [CONTRIBUTING](CONTRIBUTING.md).
249249
| Fourier N1 | Fourier Robotics | 30 | [Apache-2.0](fourier_n1/LICENSE) |✖️|
250250
| Robotis OP3 | Robotis | 20 | [Apache-2.0](robotis_op3/LICENSE) |✖️|
251251
| TALOS | PAL Robotics | 32 | [Apache-2.0](pal_talos/LICENSE) |✖️|
252-
| Unitree G1 | Unitree Robotics | 37 | [BSD-3-Clause](unitree_g1/LICENSE) ||
252+
| Unitree G1 | Unitree Robotics | 37 | [BSD-3-Clause](unitree_g1/LICENSE) ||
253253
| Unitree H1 | Unitree Robotics | 19 | [BSD-3-Clause](unitree_h1/LICENSE) |✖️|
254254

255255
**Quadrupeds.**

unitree_g1/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,20 @@
22

33
All notable changes to this model will be documented in this file.
44

5+
## [30/05/25]
6+
7+
- Add MJX variant of [g1.xml](g1.xml), with manually designed collision geoms and contact pairs.
8+
9+
<p float="left">
10+
<img src="g1_mjx_colliders.png" width="400">
11+
</p>
12+
513
## [10/12/2024]
14+
615
- Use updated models from Unitree's official [repo](https://github.com/unitreerobotics/unitree_ros/blob/master/robots/g1_description) (sha: c20ca8f1fe5e519474c6c8d10b1ce5c719dd7a65).
716
- Model without hands: [g1_29dof_rev_1_0](https://github.com/unitreerobotics/unitree_ros/blob/master/robots/g1_description/g1_29dof_rev_1_0.xml)
817
- Model with hands: [g1_29dof_with_hand_rev_1_0](https://github.com/unitreerobotics/unitree_ros/blob/master/robots/g1_description/g1_29dof_with_hand_rev_1_0.xml)
918

1019
## [20/05/2024]
20+
1121
- Initial release.

unitree_g1/README.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This package contains a simplified robot description (MJCF) of the [G1 Humanoid
1313
Robot](https://www.unitree.com/g1/) developed by [Unitree
1414
Robotics](https://www.unitree.com/). It is derived from the [publicly available
1515
MJCF
16-
description](https://github.com/unitreerobotics/unitree_ros/blob/master/robots/g1_description/g1_29dof_rev_1_0.xml). Specifically, this model has the fully actuated waist but not the full hands.
16+
description](https://github.com/unitreerobotics/unitree_ros/blob/master/robots/g1_description/g1_29dof_rev_1_0.xml).
1717

1818
<p float="left">
1919
<img src="g1.png" width="400">
@@ -28,6 +28,37 @@ description](https://github.com/unitreerobotics/unitree_ros/blob/master/robots/g
2828
4. Added joint position actuators (needs tuning).
2929
5. Applied similar edits to `g1_with_hands.xml`.
3030

31+
## MJX
32+
33+
A version of [g1.xml](g1.xml) for use in [MJX](https://mujoco.readthedocs.io/en/stable/mjx.html) is available in `scene_mjx.xml` with the following changes:
34+
35+
* Manually designed collision geoms and corresponding contact pairs (see figure below).
36+
* Tuned solver and line search iterations.
37+
* Used lower, more realistic PD gains.
38+
* Added `home` and `knees_bent` keyframes.
39+
40+
The above model was successfully transfered to hardware in [MuJoCo Playground](https://playground.mujoco.org/).
41+
42+
<p float="left">
43+
<img src="g1_mjx_colliders.png" width="400">
44+
</p>
45+
3146
## License
3247

3348
This model is released under a [BSD-3-Clause License](LICENSE).
49+
50+
## Publications
51+
52+
If you use the MJX model in your work, please use the following citation:
53+
54+
```bibtex
55+
@misc{zakka2025mujocoplayground,
56+
title={MuJoCo Playground},
57+
author={Kevin Zakka and Baruch Tabanpour and Qiayuan Liao and Mustafa Haiderbhai and Samuel Holt and Jing Yuan Luo and Arthur Allshire and Erik Frey and Koushil Sreenath and Lueder A. Kahrs and Carmelo Sferrazza and Yuval Tassa and Pieter Abbeel},
58+
year={2025},
59+
eprint={2502.08844},
60+
archivePrefix={arXiv},
61+
primaryClass={cs.RO},
62+
url={https://arxiv.org/abs/2502.08844},
63+
}
64+
```

0 commit comments

Comments
 (0)