Skip to content

Commit 239000d

Browse files
Merge pull request #150 from kevinzakka/menagerie-yam
Add YAM arm from Menagerie.
2 parents 7448edb + 3109ceb commit 239000d

File tree

5 files changed

+25
-1
lines changed

5 files changed

+25
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ All notable changes to this project will be documented in this file.
77
### Added
88

99
- Description: Dynamixel 2R (MJCF)
10+
- Description: YAM (MJCF) (thanks to @kevinzakka)
1011

1112
## [1.17.0] - 2025-05-08
1213

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ The DOF column denotes the number of actuated degrees of freedom.
163163
| `viper_mj_description` | ViperX | Trossen Robotics | MJCF | BSD-3-Clause |
164164
| `widow_mj_description` | WidowX | Trossen Robotics | MJCF | BSD-3-Clause |
165165
| `xarm7_mj_description` | xArm7 | UFACTORY | MJCF | BSD-3-Clause |
166+
| `yam_mj_description` | YAM | I2RT Robotics | MJCF | MIT |
166167
| `z1_description` | Z1 | UNITREE Robotics | URDF | BSD-3-Clause |
167168
| `z1_mj_description` | Z1 | UNITREE Robotics | MJCF | BSD-3-Clause |
168169

robot_descriptions/_descriptions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ def has_urdf(self) -> bool:
216216
"viper_mj_description": Description(Format.MJCF, tags={"arm"}),
217217
"widow_mj_description": Description(Format.MJCF, tags={"arm"}),
218218
"xarm7_mj_description": Description(Format.MJCF, tags={"arm"}),
219+
"yam_mj_description": Description(Format.MJCF, tags={"arm"}),
219220
"yumi_description": Description(Format.URDF, tags={"dual_arm"}),
220221
"z1_description": Description(Format.URDF, tags={"arm"}),
221222
"z1_mj_description": Description(Format.MJCF, tags={"arm"}),

robot_descriptions/_repositories.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ class Repository:
177177
),
178178
"mujoco_menagerie": Repository(
179179
url="https://github.com/deepmind/mujoco_menagerie.git",
180-
commit="ef4d04fbb7451d30b39c2aff7e49df737bb46815",
180+
commit="4a7015530bd7a4161103ae8f0905a96481e4cc1a",
181181
cache_path="mujoco_menagerie",
182182
),
183183
"nao_robot": Repository(
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/usr/bin/env python3
2+
# -*- coding: utf-8 -*-
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
# Copyright 2022 Stéphane Caron
6+
7+
"""YAM MJCF description."""
8+
9+
from os import getenv as _getenv
10+
from os import path as _path
11+
12+
from ._cache import clone_to_cache as _clone_to_cache
13+
14+
REPOSITORY_PATH: str = _clone_to_cache(
15+
"mujoco_menagerie",
16+
commit=_getenv("ROBOT_DESCRIPTION_COMMIT", None),
17+
)
18+
19+
PACKAGE_PATH: str = _path.join(REPOSITORY_PATH, "i2rt_yam")
20+
21+
MJCF_PATH: str = _path.join(PACKAGE_PATH, "yam.xml")

0 commit comments

Comments
 (0)