Skip to content

Commit 2eca296

Browse files
Merge pull request #142 from jonzamora/main
Add ARX L5 MJCF description from Menagerie.
2 parents 9d59bfc + 4ec4404 commit 2eca296

File tree

5 files changed

+24
-1
lines changed

5 files changed

+24
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ All notable changes to this project will be documented in this file.
77
### Added
88

99
- Description: Kinova Gen3 Lite (URDF)
10+
- Description: ARX L5 (MJCF) (thanks to @jonzamora)
1011

1112
### Changed
1213

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ The DOF column denotes the number of actuated degrees of freedom.
135135

136136
| Name | Robot | Maker | Format | License |
137137
|-------------------------------|-----------------------|--------------------------|------------|--------------|
138+
| `arx_l5_mj_description` | L5 | ARX | MJCF | BSD-3-Clause |
138139
| `edo_description` | e.DO | Comau | URDF | [BSD-3-Clause](https://github.com/ianathompson/eDO_description/blob/17b3f92f834746106d6a4befaab8eeab3ac248e6/LICENSE) |
139140
| `fanuc_m710ic_description` | M-710iC | Fanuc | URDF | BSD-3-Clause |
140141
| `fr3_mj_description` | FR3 | Franka Robotics | MJCF | Apache-2.0 |

robot_descriptions/_descriptions.py

+1
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ def has_urdf(self) -> bool:
7474
"anymal_c_mj_description": Description(Format.MJCF, tags={"quadruped"}),
7575
"anymal_d_description": Description(Format.URDF, tags={"quadruped"}),
7676
"apollo_mj_description": Description(Format.MJCF, tags={"humanoid"}),
77+
"arx_l5_mj_description": Description(Format.MJCF, tags={"arm"}),
7778
"atlas_drc_description": Description(Format.URDF, tags={"humanoid"}),
7879
"atlas_v4_description": Description(Format.URDF, tags={"humanoid"}),
7980
"b1_description": Description(Format.URDF, tags={"quadruped"}),

robot_descriptions/_repositories.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ class Repository:
177177
),
178178
"mujoco_menagerie": Repository(
179179
url="https://github.com/deepmind/mujoco_menagerie.git",
180-
commit="bf04290ac7911fa7a39339c7e507792fd464c438",
180+
commit="e44555e5a6478f5119dfd5ca9c4a8270ae1b9933",
181181
cache_path="mujoco_menagerie",
182182
),
183183
"nao_robot": Repository(
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/usr/bin/env python3
2+
# -*- coding: utf-8 -*-
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
6+
"""ARX L5 MJCF description."""
7+
8+
from os import getenv as _getenv
9+
from os import path as _path
10+
11+
from ._cache import clone_to_cache as _clone_to_cache
12+
13+
REPOSITORY_PATH: str = _clone_to_cache(
14+
"mujoco_menagerie",
15+
commit=_getenv("ROBOT_DESCRIPTION_COMMIT", None),
16+
)
17+
18+
PACKAGE_PATH: str = _path.join(REPOSITORY_PATH, "arx_l5")
19+
20+
MJCF_PATH: str = _path.join(PACKAGE_PATH, "arx_l5.xml")

0 commit comments

Comments
 (0)