File tree Expand file tree Collapse file tree 5 files changed +43
-3
lines changed Expand file tree Collapse file tree 5 files changed +43
-3
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: TriFingerEdu
10+
711### Changed
812
913- Update Stretch description to v1.0.0
Original file line number Diff line number Diff line change @@ -19,6 +19,6 @@ The goal of this project is to facilitate loading and sharing of robot descripti
1919 - For example, the file name for the Kinova (maker) Gen2 (robot name) is `` gen2_description.py `` .
2020 - Use the `` mj_description `` suffix for an MJCF description.
21214 . ** Listing:** Add the description metadata to the `` DESCRIPTIONS `` dictionary in `` _descriptions.py `` .
22- 5 . ** Testing :** Check that all unit tests are successful by `` tox `` .
23- 6 . ** README :** Document the description's submodule name in the Descriptions section of the [ README ] ( README .md) .
24- 7 . ** Changelog :** Write down the new model at the top of the [ changelog ] ( CHANGELOG.md ) .
22+ 5 . ** README :** Document the description's submodule name in the Descriptions section of the [ README ] ( README.md ) .
23+ 6 . ** CHANGELOG :** Write down the new model at the top of the [ changelog ] ( CHANGELOG .md) .
24+ 7 . ** Testing :** Check that all unit tests are successful by `` tox `` .
Original file line number Diff line number Diff line change @@ -172,6 +172,7 @@ The DOF column denotes the number of actuated degrees of freedom.
172172| ` double_pendulum_description ` | Double Pendulum | 2 | URDF |
173173| ` finger_edu_description ` | FingerEdu | 3 | URDF |
174174| ` simple_humanoid_description ` | Simple Humanoid | 29 | URDF |
175+ | ` trifinger_edu_description ` | TriFingerEdu | 9 | URDF |
175176
176177### End effectors
177178
Original file line number Diff line number Diff line change @@ -117,6 +117,7 @@ def has_urdf(self) -> bool:
117117 "stretch_description" : Description (Format .URDF ),
118118 "talos_description" : Description (Format .URDF ),
119119 "tiago_description" : Description (Format .URDF ),
120+ "trifinger_edu_description" : Description (Format .URDF ),
120121 "upkie_description" : Description (Format .URDF ),
121122 "ur10_description" : Description (Format .URDF ),
122123 "ur3_description" : Description (Format .URDF ),
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+ """TriFingerEdu 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+ "differentiable-robot-model" ,
27+ commit = _getenv ("ROBOT_DESCRIPTION_COMMIT" , None ),
28+ )
29+
30+ PACKAGE_PATH : str = _path .join (
31+ REPOSITORY_PATH , "diff_robot_data" , "trifinger_edu_description"
32+ )
33+
34+ URDF_PATH : str = _path .join (PACKAGE_PATH , "trifinger_edu.urdf" )
You can’t perform that action at this time.
0 commit comments