Skip to content

Commit 24bb450

Browse files
stephane-caronStéphane Caron
authored andcommitted
Add Eve R3 description
1 parent 918d804 commit 24bb450

File tree

5 files changed

+39
-2
lines changed

5 files changed

+39
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ All notable changes to this project will be documented in this file.
66

77
### Added
88

9+
- Description: Eve R3
910
- Description: Robonaut 2
1011
- Description: Valkyrie
1112
- Loader: MuJoCo

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Make sure that your pull request satisfies the following:
1313

1414
- The robot description is distributed legally and under an open source license (permissive or copyleft)
1515
- The file name for the new submodule is ``<robot_name>_description.py`` in snake-case. For example, ``R2D2_description`` becomes ``r2d2_description.py``
16-
- If applicable, add the repository containing the new description to ``_repositories.py``
17-
- If release tags are not available, use a specific git commit ID. This way the imported submodule will still work in the interval between a change in the file structure of the target repository and the corresponding update in `robot_descriptions`.
16+
- If needed, add the repository containing the new description to ``_repositories.py``.
17+
- Use a specific git commit ID. This way the robot description will still work in the interval between a change in the file structure of the target repository and the corresponding update in `robot_descriptions`.
1818
- Add the description metadata to the ``DESCRIPTIONS`` dictionary in ``_descriptions.py``
1919
- Check that all unit tests are successful by ``tox -e py3X`` where ``3.X`` is the version of your Python interpreter
2020
- Document the description's submodule name in the Descriptions section of the [README](README.md)

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ Available robot descriptions ([gallery](https://github.com/robot-descriptions/aw
113113
| Crazyflie 2.0 | Bitcraze | URDF | `cf2_description` |
114114
| Double Pendulum | N/A | URDF | `double_pendulum_description` |
115115
| e.DO | Comau | URDF | `edo_description` |
116+
| Eve R3 | Halodi | URDF | `eve_r3_description` |
116117
| Fetch | Fetch Robotics | URDF | `fetch_description` |
117118
| FingerEdu | N/A | URDF | `finger_edu_description` |
118119
| Gen2 | Kinova | URDF | `gen2_description` |

robot_descriptions/_repositories.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,11 @@ class Repository:
9696
commit="v1.0.0",
9797
cache_path="gym-pybullet-drones",
9898
),
99+
"halodi-robot-models": Repository(
100+
url="https://github.com/Halodi/halodi-robot-models.git",
101+
commit="ba9e7c8cdbd63e20fc6526dbbea1b91c102fb820",
102+
cache_path="halodi-robot-models",
103+
),
99104
"icub-models": Repository(
100105
url="https://github.com/robotology/icub-models.git",
101106
commit="v1.25.0",
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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+
"""
19+
Eve R3 description.
20+
"""
21+
22+
from os import path as _path
23+
24+
from ._cache import clone_to_cache as _clone_to_cache
25+
26+
REPOSITORY_PATH: str = _clone_to_cache("halodi-robot-models")
27+
28+
PACKAGE_PATH: str = _path.join(REPOSITORY_PATH, "eve_r3_description")
29+
30+
URDF_PATH: str = _path.join(PACKAGE_PATH, "urdf", "eve_r3.urdf")

0 commit comments

Comments
 (0)