Skip to content

Commit 901bca2

Browse files
update menagerie
1 parent 34849b2 commit 901bca2

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

Diff for: robot_descriptions/_repositories.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ class Repository:
162162
),
163163
"mujoco_menagerie": Repository(
164164
url="https://github.com/deepmind/mujoco_menagerie.git",
165-
commit="a88bc450470d97ebc1f282e5969675fb4d1f0ed7",
165+
commit="dec370da8895f4a04c20bae57a52f3bd16148ee6",
166166
cache_path="mujoco_menagerie",
167167
),
168168
"nao_robot": Repository(

Diff for: robot_descriptions/robotiq_2f85_v4_mj_description.py

+21
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+
"""Robotiq 2F-85 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, "robotiq_2f85_v4")
20+
21+
MJCF_PATH: str = _path.join(PACKAGE_PATH, "2f85.xml")

0 commit comments

Comments
 (0)