Skip to content

Commit 85a490e

Browse files
Update PR2 description
The one in Drake tries to load OBJ files, but the repository provides STL files, so it doesn't work without manual conversion.
1 parent c2f96b6 commit 85a490e

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

robot_descriptions/_repositories.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,11 @@ class Repository:
120120
commit="release-1.0.0",
121121
cache_path="aubrune/reachy_description",
122122
),
123+
"robot-assets": Repository(
124+
url="https://github.com/ankurhanda/robot-assets.git",
125+
commit="12f1a3c89c9975194551afaed0dfae1e09fdb27c",
126+
cache_path="ankurhanda/robot-assets",
127+
),
123128
"robotiq_arg85_description": Repository(
124129
url="https://github.com/a-price/robotiq_arg85_description.git",
125130
commit="a65190bdbb0666609fe7e8c3bb17341e09e81625",

robot_descriptions/pr2_description.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,10 @@
2323

2424
from ._cache import clone_to_cache as _clone_to_cache
2525

26-
REPOSITORY_PATH: str = _clone_to_cache("drake")
26+
REPOSITORY_PATH: str = _clone_to_cache("robot-assets")
2727

28-
PACKAGE_PATH: str = _path.join(
29-
REPOSITORY_PATH, "examples", "pr2", "models", "pr2_description"
30-
)
28+
PACKAGE_PATH: str = _path.join(REPOSITORY_PATH, "urdfs", "robots", "pr2")
3129

3230
MESHES_PATH: str = _path.join(PACKAGE_PATH, "meshes")
3331

34-
URDF_PATH: str = _path.join(PACKAGE_PATH, "urdf", "pr2_simplified.urdf")
32+
URDF_PATH: str = _path.join(PACKAGE_PATH, "pr2.urdf")

0 commit comments

Comments
 (0)