Skip to content

Commit dd4ad7a

Browse files
Merge pull request #93 from kevinzakka/kinova
Use MuJoCo Menagerie model for `gen3_mj_description`
2 parents 3ed19a8 + aa24742 commit dd4ad7a

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44

55
## [Unreleased]
66

7+
### Added
8+
9+
### Changed
10+
11+
- Update repository for ``gen3_mj_description`` to ``mujoco_menagerie``
12+
713
## [1.11.0] - 2024-06-27
814

915
### Added

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ The DOF column denotes the number of actuated degrees of freedom.
136136
| `fr3_mj_description` | FR3 | Franka Robotics | 7 | MJCF |
137137
| `gen2_description` | Gen2 (Jaco) | Kinova | 6 | URDF |
138138
| `gen3_description` | Gen3 (Jaco) | Kinova | 6 | URDF |
139-
| `gen3_mj_description` | Gen3 (Jaco) | Kinova | 7 | MJCF |
139+
| `gen3_mj_description` | Gen3 | Kinova | 7 | MJCF |
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 |

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="bf50a5bd3c0ae757f768893bb06d4595df8e346f",
155+
commit="3d593a327ff8d5efd10f4926ccc477820e9252c1",
156156
cache_path="mujoco_menagerie",
157157
),
158158
"nao_robot": Repository(

robot_descriptions/gen3_mj_description.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44
# SPDX-License-Identifier: Apache-2.0
55
# Copyright 2022 Stéphane Caron
66

7-
"""Kinova Jaco Gen3 description."""
7+
"""Kinova Gen3 MJCF description."""
88

99
from os import getenv as _getenv
1010
from os import path as _path
1111

1212
from ._cache import clone_to_cache as _clone_to_cache
1313

1414
REPOSITORY_PATH: str = _clone_to_cache(
15-
"kinova_mj_description",
15+
"mujoco_menagerie",
1616
commit=_getenv("ROBOT_DESCRIPTION_COMMIT", None),
1717
)
1818

19-
PACKAGE_PATH: str = _path.join(REPOSITORY_PATH)
19+
PACKAGE_PATH: str = _path.join(REPOSITORY_PATH, "kinova_gen3")
2020

21-
MJCF_PATH: str = _path.join(PACKAGE_PATH, "xml", "gen3_7dof_mujoco.xml")
21+
MJCF_PATH: str = _path.join(PACKAGE_PATH, "gen3.xml")

0 commit comments

Comments
 (0)