Skip to content

Commit f27407d

Browse files
committed
Add YAM arm from Menagerie.
1 parent 7448edb commit f27407d

File tree

5 files changed

+47
-11
lines changed

5 files changed

+47
-11
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: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -118,16 +118,28 @@ Visualizing a robot description:
118118

119119
Available robot descriptions ([gallery](https://github.com/robot-descriptions/awesome-robot-descriptions#gallery)) are listed in the following categories:
120120

121-
- [Arms](#arms)
122-
- [Bipeds](#bipeds)
123-
- [Dual arms](#dual-arms)
124-
- [Drones](#drones)
125-
- [Educational](#educational)
126-
- [End effectors](#end-effectors)
127-
- [Humanoids](#humanoids)
128-
- [Mobile manipulators](#mobile-manipulators)
129-
- [Quadrupeds](#quadrupeds)
130-
- [Wheeled](#wheeled)
121+
- [Installation](#installation)
122+
- [From conda-forge](#from-conda-forge)
123+
- [From PyPI](#from-pypi)
124+
- [Usage](#usage)
125+
- [Show a description](#show-a-description)
126+
- [Import as submodule](#import-as-submodule)
127+
- [Examples](#examples)
128+
- [Descriptions](#descriptions)
129+
- [Arms](#arms)
130+
- [Bipeds](#bipeds)
131+
- [Dual arms](#dual-arms)
132+
- [Drones](#drones)
133+
- [Educational](#educational)
134+
- [End effectors](#end-effectors)
135+
- [Humanoids](#humanoids)
136+
- [Mobile manipulators](#mobile-manipulators)
137+
- [Quadrupeds](#quadrupeds)
138+
- [Wheeled](#wheeled)
139+
- [Contributing](#contributing)
140+
- [Thanks](#thanks)
141+
- [Citation](#citation)
142+
- [See also](#see-also)
131143

132144
The DOF column denotes the number of actuated degrees of freedom.
133145

@@ -163,6 +175,7 @@ The DOF column denotes the number of actuated degrees of freedom.
163175
| `viper_mj_description` | ViperX | Trossen Robotics | MJCF | BSD-3-Clause |
164176
| `widow_mj_description` | WidowX | Trossen Robotics | MJCF | BSD-3-Clause |
165177
| `xarm7_mj_description` | xArm7 | UFACTORY | MJCF | BSD-3-Clause |
178+
| `yam_mj_description` | YAM | I2RT Robotics | MJCF | MIT |
166179
| `z1_description` | Z1 | UNITREE Robotics | URDF | BSD-3-Clause |
167180
| `z1_mj_description` | Z1 | UNITREE Robotics | MJCF | BSD-3-Clause |
168181

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)