Skip to content

Commit 0aa0ba5

Browse files
kevinzakkastephane-caron
authored andcommitted
Add shadow dex-ee mj description.
1 parent 943ad05 commit 0aa0ba5

File tree

4 files changed

+24
-1
lines changed

4 files changed

+24
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ All notable changes to this project will be documented in this file.
88

99
### Added
1010

11+
- Description: Shadow DEX-EE (MJCF) (thanks to @kevinzakka)
1112
- Description: KUKA iiwa 7 (URDF)
1213
- Description: Unitree G1 (MJCF) (thanks to @kevinzakka)
1314
- Description: Unitree G1 (URDF) (thanks to @lvjonok)

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ The DOF column denotes the number of actuated degrees of freedom.
202202
| `barrett_hand_description` | BarrettHand | Barrett Technology | 8 | URDF |
203203
| `robotiq_2f85_description` | Robotiq 2F-85 | Robotiq | 1 | URDF |
204204
| `robotiq_2f85_mj_description` | Robotiq 2F-85 | Robotiq | 1 | MJCF |
205+
| `shadow_dexee_mj_description` | Shadow DEX-EE | The Shadow Robot Company | 12 | MJCF |
205206
| `shadow_hand_mj_description` | Shadow Hand | The Shadow Robot Company | 24 | MJCF |
206207

207208
### Humanoids

robot_descriptions/_repositories.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ class Repository:
152152
),
153153
"mujoco_menagerie": Repository(
154154
url="https://github.com/deepmind/mujoco_menagerie.git",
155-
commit="3ff28577c3d5e9c63b2bf84489c45b851745b8d0",
155+
commit="bf50a5bd3c0ae757f768893bb06d4595df8e346f",
156156
cache_path="mujoco_menagerie",
157157
),
158158
"nao_robot": Repository(
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+
"""Shadow DEX-EE 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, "shadow_dexee")
20+
21+
MJCF_PATH: str = _path.join(PACKAGE_PATH, "shadow_dexee.xml")

0 commit comments

Comments
 (0)