File tree Expand file tree Collapse file tree 5 files changed +40
-0
lines changed Expand file tree Collapse file tree 5 files changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ All notable changes to this project will be documented in this file.
66
77### Added
88
9+ - Description: Rhea
910- Frame selector in URDF frame display example
1011- README: Conda installation instructions
1112
Original file line number Diff line number Diff line change @@ -146,6 +146,7 @@ The DOF column denotes the number of actuated degrees of freedom.
146146| ` bolt_description ` | Bolt | ODRI | 6 | URDF |
147147| ` cassie_description ` | Cassie | Agility Robotics | 16 | URDF |
148148| ` cassie_mj_description ` | Cassie | Agility Robotics | 16 | MJCF |
149+ | ` rhea_description ` | Rhea | Gabrael Levine | 7 | URDF |
149150| ` spryped_description ` | Spryped | Benjamin Bokser | 8 | URDF |
150151| ` upkie_description ` | Upkie | Tast's Robots | 6 | URDF |
151152
Original file line number Diff line number Diff line change @@ -106,6 +106,7 @@ def has_urdf(self) -> bool:
106106 "pr2_description" : Description (Format .URDF ),
107107 "r2_description" : Description (Format .URDF ),
108108 "reachy_description" : Description (Format .URDF ),
109+ "rhea_description" : Description (Format .URDF ),
109110 "robotiq_2f85_description" : Description (Format .URDF ),
110111 "robotiq_2f85_mj_description" : Description (Format .MJCF ),
111112 "romeo_description" : Description (Format .URDF ),
Original file line number Diff line number Diff line change @@ -177,6 +177,11 @@ class Repository:
177177 commit = "release-1.0.0" ,
178178 cache_path = "reachy_description" ,
179179 ),
180+ "rhea_description" : Repository (
181+ url = "https://github.com/tasts-robots/rhea_description.git" ,
182+ commit = "1dc0f1abcf51b5d8a8f7ff8a548399ff0df1414f" ,
183+ cache_path = "rhea_description" ,
184+ ),
180185 "robot-assets" : Repository (
181186 url = "https://github.com/ankurhanda/robot-assets.git" ,
182187 commit = "12f1a3c89c9975194551afaed0dfae1e09fdb27c" ,
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+ """Rhea 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+ "rhea_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" , "rhea.urdf" )
You can’t perform that action at this time.
0 commit comments