File tree Expand file tree Collapse file tree 5 files changed +47
-0
lines changed Expand file tree Collapse file tree 5 files changed +47
-0
lines changed Original file line number Diff line number Diff line change @@ -239,3 +239,9 @@ This initial release includes 33 robot descriptions:
239239- Command line to show or animate robot descriptions
240240- Contributing instructions
241241- This changelog
242+
243+ ## 2023/02/21
244+
245+ ### Added
246+
247+ - Description: Draco3 URDF
Original file line number Diff line number Diff line change @@ -190,6 +190,7 @@ The DOF column denotes the number of actuated degrees of freedom.
190190| ` sigmaban_description ` | SigmaBan | Rhoban | 20 | URDF |
191191| ` talos_description ` | TALOS | PAL Robotics | 32 | URDF |
192192| ` valkyrie_description ` | Valkyrie | NASA JSC Robotics | 59 | URDF |
193+ | ` draco3_description ` | Draco3 | Apptronik | 25 | URDF |
193194
194195### Mobile manipulators
195196
Original file line number Diff line number Diff line change @@ -121,4 +121,5 @@ def has_urdf(self) -> bool:
121121 "valkyrie_description" : Description (Format .URDF ),
122122 "yumi_description" : Description (Format .URDF ),
123123 "z1_description" : Description (Format .URDF ),
124+ "draco3_description" : Description (Format .URDF ),
124125}
Original file line number Diff line number Diff line change @@ -227,4 +227,9 @@ class Repository:
227227 commit = "v1.1.0" ,
228228 cache_path = "upkie_description" ,
229229 ),
230+ "draco3_description" : Repository (
231+ url = "https://github.com/shbang91/draco3_description.git" ,
232+ commit = "7ac3d5e7967208cc895974e69a43ba3bbd6a7133" ,
233+ cache_path = "draco3_description" ,
234+ ),
230235}
Original file line number Diff line number Diff line change 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+ """Draco3 description."""
19+
20+ from os import getenv as _getenv
21+ from os import path as _path
22+
23+ from ._cache import clone_to_cache as _clone_to_cache
24+
25+ REPOSITORY_PATH : str = _clone_to_cache (
26+ "draco3_description" ,
27+ commit = _getenv ("ROBOT_DESCRIPTION_COMMIT" , None ),
28+ )
29+
30+ PACKAGE_PATH : str = _path .join (REPOSITORY_PATH )
31+
32+ URDF_PATH : str = _path .join (
33+ PACKAGE_PATH , "urdf" , "draco3.urdf"
34+ )
You can’t perform that action at this time.
0 commit comments