Skip to content

Commit 64d5ac7

Browse files
Add LEAP Hand v1 description
1 parent 3f7c63e commit 64d5ac7

File tree

5 files changed

+41
-11
lines changed

5 files changed

+41
-11
lines changed

CHANGELOG.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ All notable changes to this project will be documented in this file.
66

77
### Added
88

9+
- Description: LEAP Hand v1
10+
- Description: Shadow DEX-EE (MJCF) (thanks to @kevinzakka)
11+
- Description: Stretch 3 (MJCF) (thanks to @kevinzakka)
12+
913
### Changed
1014

1115
- Update repository for ``gen3_mj_description`` to ``mujoco_menagerie``
@@ -14,8 +18,6 @@ All notable changes to this project will be documented in this file.
1418

1519
### Added
1620

17-
- Description: Stretch 3 (MJCF) (thanks to @kevinzakka)
18-
- Description: Shadow DEX-EE (MJCF) (thanks to @kevinzakka)
1921
- Description: KUKA iiwa 7 (URDF)
2022
- Description: Unitree G1 (MJCF) (thanks to @kevinzakka)
2123
- Description: Unitree G1 (URDF) (thanks to @lvjonok)

README.md

+10-9
Original file line numberDiff line numberDiff line change
@@ -195,15 +195,16 @@ The DOF column denotes the number of actuated degrees of freedom.
195195

196196
### End effectors
197197

198-
| Name | Robot | Maker | DOF | Format |
199-
|-------------------------------|-----------------------|--------------------------|-----|------------|
200-
| `allegro_hand_description` | Allegro Hand | Wonik Robotics | 16 | URDF |
201-
| `allegro_hand_mj_description` | Allegro Hand | Wonik Robotics | 16 | MJCF |
202-
| `barrett_hand_description` | BarrettHand | Barrett Technology | 8 | URDF |
203-
| `robotiq_2f85_description` | Robotiq 2F-85 | Robotiq | 1 | URDF |
204-
| `robotiq_2f85_mj_description` | Robotiq 2F-85 | Robotiq | 1 | MJCF |
205-
| `shadow_dexee_mj_description` | Shadow DEX-EE | The Shadow Robot Company | 12 | MJCF |
206-
| `shadow_hand_mj_description` | Shadow Hand | The Shadow Robot Company | 24 | MJCF |
198+
| Name | Robot | Maker | DOF | Format |
199+
|-------------------------------|-----------------------|----------------------------|-----|------------|
200+
| `allegro_hand_description` | Allegro Hand | Wonik Robotics | 16 | URDF |
201+
| `allegro_hand_mj_description` | Allegro Hand | Wonik Robotics | 16 | MJCF |
202+
| `barrett_hand_description` | BarrettHand | Barrett Technology | 8 | URDF |
203+
| `leap_hand_v1` | LEAP Hand v1 | Carnegie Mellon University | 16 | URDF |
204+
| `robotiq_2f85_description` | Robotiq 2F-85 | Robotiq | 1 | URDF |
205+
| `robotiq_2f85_mj_description` | Robotiq 2F-85 | Robotiq | 1 | MJCF |
206+
| `shadow_dexee_mj_description` | Shadow DEX-EE | The Shadow Robot Company | 12 | MJCF |
207+
| `shadow_hand_mj_description` | Shadow Hand | The Shadow Robot Company | 24 | MJCF |
207208

208209
### Humanoids
209210

robot_descriptions/_descriptions.py

+1
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ def has_urdf(self) -> bool:
9696
"jvrc_description": Description(Format.URDF),
9797
"jvrc_mj_description": Description(Format.MJCF),
9898
"laikago_description": Description(Format.URDF),
99+
"leap_hand_v1": Description(Format.URDF),
99100
"mini_cheetah_description": Description(Format.URDF),
100101
"minitaur_description": Description(Format.URDF),
101102
"nextage_description": Description(Format.URDF),

robot_descriptions/_repositories.py

+5
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,11 @@ class Repository:
140140
commit="0f0ce7daefdd66c54e0909a6bf2c22154844f5f3",
141141
cache_path="jvrc_mj_description",
142142
),
143+
"LEAP_Hand_Sim": Repository(
144+
url="https://github.com/leap-hand/LEAP_Hand_Sim.git",
145+
commit="150bc3d4b61fd6619193ba5a8ef209f3609ced89",
146+
cache_path="LEAP_Hand_Sim",
147+
),
143148
"kinova_mj_description": Repository(
144149
url="https://github.com/mathieu-celerier/kinova_mj_description.git",
145150
commit="cee556b0a438e6904634a90826d4e8d2e005cd1f",

robot_descriptions/leap_hand_v1.py

+21
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 2024 Inria
6+
7+
"""LEAP hand v1 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+
"LEAP_Hand_Sim",
16+
commit=_getenv("ROBOT_DESCRIPTION_COMMIT", None),
17+
)
18+
19+
PACKAGE_PATH: str = _path.join(REPOSITORY_PATH, "assets", "leap_hand")
20+
21+
URDF_PATH: str = _path.join(PACKAGE_PATH, "robot.urdf")

0 commit comments

Comments
 (0)