File tree Expand file tree Collapse file tree 6 files changed +44
-1
lines changed Expand file tree Collapse file tree 6 files changed +44
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
55## Unreleased
66
7+ ### Added
8+
9+ - Description: Draco3 URDF
10+
711### Changed
812
913- CI: switch to ruff
Original file line number Diff line number Diff line change @@ -21,4 +21,4 @@ The goal of this project is to facilitate loading and sharing of robot descripti
21214 . ** Listing:** Add the description metadata to the `` DESCRIPTIONS `` dictionary in `` _descriptions.py `` .
22225 . ** Testing:** Check that all unit tests are successful by `` tox -e py `` .
23236 . ** README:** Document the description's submodule name in the Descriptions section of the [ README] ( README.md ) .
24- 7 . ** Changelog:** Write down the new model to the [ changelog] ( CHANGELOG.md ) .
24+ 7 . ** Changelog:** Write down the new model at the top of the [ changelog] ( CHANGELOG.md ) .
Original file line number Diff line number Diff line change @@ -181,6 +181,7 @@ The DOF column denotes the number of actuated degrees of freedom.
181181| -------------------------------| -----------------------| --------------------------| -----| ------------|
182182| ` atlas_drc_description ` | Atlas DRC (v3) | Boston Dynamics | 30 | URDF |
183183| ` atlas_v4_description ` | Atlas v4 | Boston Dynamics | 30 | URDF |
184+ | ` draco3_description ` | Draco3 | Apptronik | 25 | URDF |
184185| ` icub_description ` | iCub | IIT | 32 | URDF |
185186| ` jaxon_description ` | JAXON | JSK | 38 | URDF |
186187| ` jvrc_description ` | JVRC-1 | AIST | 34 | URDF |
Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ def has_urdf(self) -> bool:
7777 "cassie_mj_description" : Description (Format .MJCF ),
7878 "cf2_description" : Description (Format .URDF ),
7979 "double_pendulum_description" : Description (Format .URDF ),
80+ "draco3_description" : Description (Format .URDF ),
8081 "edo_description" : Description (Format .URDF ),
8182 "eve_r3_description" : Description (Format .URDF ),
8283 "fetch_description" : Description (Format .URDF ),
Original file line number Diff line number Diff line change @@ -72,6 +72,11 @@ class Repository:
7272 commit = "fcc3775453e4da6797cd4eacd3d8321d9906755a" ,
7373 cache_path = "cassie_mj_description" ,
7474 ),
75+ "draco3_description" : Repository (
76+ url = "https://github.com/shbang91/draco3_description.git" ,
77+ commit = "7ac3d5e7967208cc895974e69a43ba3bbd6a7133" ,
78+ cache_path = "draco3_description" ,
79+ ),
7580 "drake" : Repository (
7681 url = "https://github.com/RobotLocomotion/drake.git" ,
7782 commit = "v1.7.0" ,
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 (PACKAGE_PATH , "urdf" , "draco3.urdf" )
You can’t perform that action at this time.
0 commit comments