Skip to content

Commit 114de30

Browse files
stephane-caronStéphane Caron
authored andcommitted
Add BarrettHand description
1 parent 24bb450 commit 114de30

File tree

5 files changed

+38
-0
lines changed

5 files changed

+38
-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: BarrettHand
910
- Description: Eve R3
1011
- Description: Robonaut 2
1112
- Description: Valkyrie

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ Available robot descriptions ([gallery](https://github.com/robot-descriptions/aw
106106
| ANYmal C | ANYbotics | URDF | `anymal_c_description` |
107107
| Atlas DRC (v3) | Boston Dynamics | URDF | `atlas_drc_description` |
108108
| Atlas v4 | Boston Dynamics | URDF | `atlas_v4_description` |
109+
| BarrettHand | Barrett Technology | URDF | `barrett_hand_description` |
109110
| Baxter | Rethink Robotics | URDF | `baxter_description` |
110111
| Bolt | ODRI | URDF | `bolt_description` |
111112
| Cassie | Agility Robotics | MJCF | `cassie_mj_description` |

robot_descriptions/_descriptions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ def has_urdf(self) -> bool:
8181
"anymal_c_mj_description": Description(Format.MJCF),
8282
"atlas_drc_description": Description(Format.URDF),
8383
"atlas_v4_description": Description(Format.URDF),
84+
"barrett_hand_description": Description(Format.URDF),
8485
"baxter_description": Description(Format.URDF),
8586
"bolt_description": Description(Format.URDF),
8687
"cassie_description": Description(Format.URDF),

robot_descriptions/_repositories.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ class Repository:
5656
commit="v1.2.0",
5757
cache_path="baxter_common",
5858
),
59+
"bhand_model": Repository(
60+
url="https://github.com/jhu-lcsr-attic/bhand_model.git",
61+
commit="937f4186d6458bd682a7dae825fb6f4efe56ec69",
62+
cache_path="bhand_model",
63+
),
5964
"bullet3": Repository(
6065
url="https://github.com/bulletphysics/bullet3.git",
6166
commit="3.24",
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#!/usr/bin/env python3
2+
# -*- coding: utf-8 -*-
3+
#
4+
# Copyright 2022 Stéphane Caron
5+
#
6+
# Licensed under the Apache License, Version 2.0 (the "License");
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
18+
"""
19+
BarrettHand description.
20+
"""
21+
22+
from os import path as _path
23+
24+
from ._cache import clone_to_cache as _clone_to_cache
25+
26+
REPOSITORY_PATH: str = _clone_to_cache("bhand_model")
27+
28+
PACKAGE_PATH: str = _path.join(REPOSITORY_PATH)
29+
30+
URDF_PATH: str = _path.join(PACKAGE_PATH, "robots", "bhand_model.URDF")

0 commit comments

Comments
 (0)