Skip to content

Commit 23f3415

Browse files
Add Kinova Gen3 description
1 parent cfbce98 commit 23f3415

File tree

5 files changed

+43
-0
lines changed

5 files changed

+43
-0
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## Unreleased
6+
7+
### Added
8+
9+
- Description: Kinova Gen3
10+
511
## [0.6.0] - 2022/09/28
612

713
### Added

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ Available robot descriptions ([gallery](https://github.com/robot-descriptions/aw
125125
| Fetch | Fetch Robotics | URDF | `fetch_description` |
126126
| FingerEdu | N/A | URDF | `finger_edu_description` |
127127
| Gen2 | Kinova | URDF | `gen2_description` |
128+
| Gen3 | Kinova | MJCF | `gen3_mj_description` |
128129
| Ginger | Paaila Technology | URDF | `ginger_description` |
129130
| Go1 | UNITREE Robotics | MJCF | `go1_mj_description` |
130131
| Go1 | UNITREE Robotics | URDF | `go1_description` |

robot_descriptions/_descriptions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ def has_urdf(self) -> bool:
9393
"fetch_description": Description(Format.URDF),
9494
"finger_edu_description": Description(Format.URDF),
9595
"gen2_description": Description(Format.URDF),
96+
"gen3_mj_description": Description(Format.MJCF),
9697
"ginger_description": Description(Format.URDF),
9798
"go1_description": Description(Format.URDF),
9899
"go1_mj_description": Description(Format.MJCF),

robot_descriptions/_repositories.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,11 @@ class Repository:
121121
commit="0f0ce7daefdd66c54e0909a6bf2c22154844f5f3",
122122
cache_path="jvrc_mj_description",
123123
),
124+
"kinova_mj_description": Repository(
125+
url="https://github.com/mathieu-celerier/kinova_mj_description.git",
126+
commit="cee556b0a438e6904634a90826d4e8d2e005cd1f",
127+
cache_path="kinova_mj_description",
128+
),
124129
"mini_cheetah_urdf": Repository(
125130
url="https://github.com/Derek-TH-Wang/mini_cheetah_urdf.git",
126131
commit="1988bceb26e81f28594a16e7d5e6abe5cbb27ace",
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+
Gen3 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("kinova_mj_description")
27+
28+
PACKAGE_PATH: str = _path.join(REPOSITORY_PATH)
29+
30+
MJCF_PATH: str = _path.join(PACKAGE_PATH, "xml", "gen3_7dof_mujoco.xml")

0 commit comments

Comments
 (0)