Skip to content

Commit 06f71e4

Browse files
Add Aero Hand Open MJCF description
1 parent a5ac9d5 commit 06f71e4

File tree

4 files changed

+31
-0
lines changed

4 files changed

+31
-0
lines changed

CHANGELOG.md

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

77
### Added
88

9+
- Description: Aero Hand Open (MJCF)
910
- Description: Aero Hand Open (URDF)
1011

1112
### Changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ The DOF column denotes the number of actuated degrees of freedom.
215215
| `ability_hand_description` | Ability Hand | PSYONIC, Inc. | URDF | [MIT](https://github.com/psyonicinc/ability-hand-api/blob/89407424edfc22faceaedcd7c3ea2b7947cbbb2c/LICENSE) |
216216
| `ability_hand_mj_description` | Ability Hand | PSYONIC, Inc. | MJCF | [MIT](https://github.com/psyonicinc/ability-hand-api/blob/89407424edfc22faceaedcd7c3ea2b7947cbbb2c/LICENSE) |
217217
| `aero_hand_open_description` | Aero Hand Open | TetherIA | URDF | [Apache-2.0](https://github.com/google-deepmind/mujoco_menagerie/pull/213/commits/6d88dc56029eec7f92e530e1c16283a4b53166e8) |
218+
| `aero_hand_open_mj_description` | Aero Hand Open | TetherIA | MJCF | [Apache-2.0](https://github.com/google-deepmind/mujoco_menagerie/blob/bf756430b615819654b640f321c71ba5c3ebeef8/tetheria_aero_hand_open/LICENSE) |
218219
| `allegro_hand_description` | Allegro Hand | Wonik Robotics | URDF | [BSD](https://github.com/RobotLocomotion/models/blob/5c027ea961473cb558da30e1a749272a8a9fa3eb/allegro_hand_description/LICENSE.TXT) |
219220
| `allegro_hand_mj_description` | Allegro Hand | Wonik Robotics | MJCF | [BSD-2-Clause](https://github.com/google-deepmind/mujoco_menagerie/blob/main/wonik_allegro/LICENSE) |
220221
| `barrett_hand_description` | BarrettHand | Barrett Technology | URDF | [BSD](https://github.com/jhu-lcsr-attic/bhand_model/blob/937f4186d6458bd682a7dae825fb6f4efe56ec69/manifest.xml) |

robot_descriptions/_descriptions.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ def has_urdf(self) -> bool:
6363
"aero_hand_open_description": Description(
6464
Format.URDF, tags={"end_effector"}
6565
),
66+
"aero_hand_open_mj_description": Description(
67+
Format.MJCF, tags={"end_effector"}
68+
),
6669
"aliengo_description": Description(Format.URDF, tags={"quadruped"}),
6770
"aliengo_mj_description": Description(Format.MJCF, tags={"quadruped"}),
6871
"allegro_hand_description": Description(
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#!/usr/bin/env python3
2+
# -*- coding: utf-8 -*-
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
6+
"""Aero Hand Open MJCF description."""
7+
8+
from os import getenv as _getenv
9+
from os import path as _path
10+
11+
from ._cache import clone_to_cache as _clone_to_cache
12+
13+
REPOSITORY_PATH: str = _clone_to_cache(
14+
"mujoco_menagerie",
15+
commit=_getenv("ROBOT_DESCRIPTION_COMMIT", None),
16+
)
17+
18+
PACKAGE_PATH: str = _path.join(REPOSITORY_PATH, "tetheria_aero_hand_open")
19+
20+
MJCF_PATH: str = _path.join(PACKAGE_PATH, "right_hand.xml")
21+
22+
# Description-specific paths
23+
24+
MJCF_PATH_LEFT: str = _path.join(PACKAGE_PATH, "left_hand.xml")
25+
26+
MJCF_PATH_RIGHT = MJCF_PATH

0 commit comments

Comments
 (0)