Skip to content

Commit ae22e80

Browse files
uynitsujstephane-caron
authored andcommitted
add YAM URDF and RBY1 URDF
1 parent e266d97 commit ae22e80

File tree

5 files changed

+56
-0
lines changed

5 files changed

+56
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ All notable changes to this project will be documented in this file.
3232
- Description: Fourier N1 (URDF)
3333
- Description: RSK omnidirectional robot (MJCF)
3434
- Description: YAM (MJCF) (thanks to @kevinzakka)
35+
- Description YAM (URDF)
36+
- Description RBY1 Mobile Manipulatior (URDF)
3537

3638
### Changed
3739

robot_descriptions/_descriptions.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,8 @@ def has_urdf(self) -> bool:
232232
"wl_p311e_description": Description(Format.URDF, tags={"quadruped"}),
233233
"xarm7_mj_description": Description(Format.MJCF, tags={"arm"}),
234234
"yam_mj_description": Description(Format.MJCF, tags={"arm"}),
235+
"yam_description": Description(Format.URDF, tags={"arm"}),
236+
"rby1_description": Description(Format.URDF, tags={"mobile_manipulator"}),
235237
"yumi_description": Description(Format.URDF, tags={"dual_arm"}),
236238
"z1_description": Description(Format.URDF, tags={"arm"}),
237239
"z1_mj_description": Description(Format.MJCF, tags={"arm"}),

robot_descriptions/_repositories.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,11 @@ class Repository:
150150
commit="ba9e7c8cdbd63e20fc6526dbbea1b91c102fb820",
151151
cache_path="halodi-robot-models",
152152
),
153+
"i2rt": Repository(
154+
url="https://github.com/i2rt-robotics/i2rt.git",
155+
commit="8a8f804d72b41a04a5c69520031aec9a5d328104",
156+
cache_path="i2rt",
157+
),
153158
"icub-models": Repository(
154159
url="https://github.com/robotology/icub-models.git",
155160
commit="v1.25.0",
@@ -233,6 +238,11 @@ class Repository:
233238
commit="6beeec3d76fb72b7548cce7c73aad722f8884522",
234239
cache_path="poppy_torso_description",
235240
),
241+
"rby1_description": Repository(
242+
url="https://github.com/uynitsuj/rby1_description.git",
243+
commit="c84f9ed802f69306945b684aa7205599e4ede82a",
244+
cache_path="rby1_description",
245+
),
236246
"reachy_description": Repository(
237247
url="https://github.com/aubrune/reachy_description.git",
238248
commit="release-1.0.0",
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 URDF 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+
"rby1_description",
16+
commit=_getenv("ROBOT_DESCRIPTION_COMMIT", None),
17+
)
18+
19+
PACKAGE_PATH: str = _path.join(REPOSITORY_PATH, "models/rby1a/urdf/meshes")
20+
21+
URDF_PATH: str = _path.join(REPOSITORY_PATH, "models/rby1a/urdf/model.urdf")
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 URDF 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+
"i2rt",
16+
commit=_getenv("ROBOT_DESCRIPTION_COMMIT", None),
17+
)
18+
19+
PACKAGE_PATH: str = _path.join(REPOSITORY_PATH, "robot_models/yam/assets")
20+
21+
URDF_PATH: str = _path.join(REPOSITORY_PATH, "robot_models/yam/yam.urdf")

0 commit comments

Comments
 (0)