Skip to content

Commit bb9e170

Browse files
committed
Add Kinova Gen3 MJCF description.
1 parent 943ad05 commit bb9e170

File tree

5 files changed

+28
-1
lines changed

5 files changed

+28
-1
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff 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: Kinova Gen3 (MJCF) (thanks to @kevinzakka)
10+
711
## [1.11.0] - 2024-06-27
812

913
### Added

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ The DOF column denotes the number of actuated degrees of freedom.
140140
| `iiwa14_description` | iiwa 14 | KUKA | 7 | URDF |
141141
| `iiwa14_mj_description` | iiwa 14 | KUKA | 7 | MJCF |
142142
| `iiwa7_description` | iiwa 7 | KUKA | 7 | URDF |
143+
| `kinova_gen3_mj_description` | Kinova Gen3 | Kinova Robotics | 7 | MJCF |
143144
| `panda_description` | Panda | Franka Robotics | 8 | URDF |
144145
| `panda_mj_description` | Panda | Franka Robotics | 8 | MJCF |
145146
| `poppy_ergo_jr_description` | Poppy Ergo Jr | Poppy Project | 6 | URDF |

robot_descriptions/_descriptions.py

+1
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ def has_urdf(self) -> bool:
9595
"jaxon_description": Description(Format.URDF),
9696
"jvrc_description": Description(Format.URDF),
9797
"jvrc_mj_description": Description(Format.MJCF),
98+
"kinova_gen3_mj_description": Description(Format.MJCF),
9899
"laikago_description": Description(Format.URDF),
99100
"mini_cheetah_description": Description(Format.URDF),
100101
"minitaur_description": Description(Format.URDF),

robot_descriptions/_repositories.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ class Repository:
152152
),
153153
"mujoco_menagerie": Repository(
154154
url="https://github.com/deepmind/mujoco_menagerie.git",
155-
commit="3ff28577c3d5e9c63b2bf84489c45b851745b8d0",
155+
commit="af493511dbdfce2e046858a4d2f2955e063e17fd",
156156
cache_path="mujoco_menagerie",
157157
),
158158
"nao_robot": Repository(
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/usr/bin/env python3
2+
# -*- coding: utf-8 -*-
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
# Copyright 2022 Stéphane Caron
6+
7+
"""Kinova Gen3 MJCF description."""
8+
9+
from os import getenv as _getenv
10+
from os import path as _path
11+
12+
from ._cache import clone_to_cache as _clone_to_cache
13+
14+
REPOSITORY_PATH: str = _clone_to_cache(
15+
"mujoco_menagerie",
16+
commit=_getenv("ROBOT_DESCRIPTION_COMMIT", None),
17+
)
18+
19+
PACKAGE_PATH: str = _path.join(REPOSITORY_PATH, "kinova_gen3")
20+
21+
MJCF_PATH: str = _path.join(PACKAGE_PATH, "gen3.xml")

0 commit comments

Comments
 (0)