File tree Expand file tree Collapse file tree 3 files changed +29
-0
lines changed Expand file tree Collapse file tree 3 files changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -172,6 +172,7 @@ def has_urdf(self) -> bool:
172172 "pr2_description" : Description (
173173 Format .URDF , tags = {"dual_arm" , "mobile_manipulator" }
174174 ),
175+ "r1_description" : Description (Format .URDF , tags = {"mobile_manipulator" }),
175176 "r2_description" : Description (Format .URDF , tags = {"humanoid" }),
176177 "rby1_description" : Description (Format .URDF , tags = {"mobile_manipulator" }),
177178 "reachy_description" : Description (
Original file line number Diff line number Diff line change @@ -135,6 +135,11 @@ class Repository:
135135 commit = "d12af44559cd7e46f7afd513237f159f82f8402e" ,
136136 cache_path = "fanuc_m710ic_description" ,
137137 ),
138+ "galaxea" : Repository (
139+ url = "https://github.com/userguide-galaxea/URDF.git" ,
140+ commit = "40f728d49ef3799721d5d566a07efbb70cae6b53" ,
141+ cache_path = "galaxea" ,
142+ ),
138143 "GingerURDF" : Repository (
139144 url = "https://github.com/Rayckey/GingerURDF.git" ,
140145 commit = "6a1307cd0ee2b77c82f8839cdce3a2e2eed2bd8f" ,
Original file line number Diff line number Diff line change 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+ """Fetch 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+ "galaxea" ,
16+ commit = _getenv ("ROBOT_DESCRIPTION_COMMIT" , None ),
17+ )
18+
19+ PACKAGE_PATH : str = _path .join (
20+ REPOSITORY_PATH , "R1"
21+ )
22+
23+ URDF_PATH : str = _path .join (PACKAGE_PATH , "urdf" , "r1_v2_1_0.urdf" )
You can’t perform that action at this time.
0 commit comments