Skip to content

Commit 8c014b1

Browse files
Merge pull request #117 from JafarAbdi/feature/so_arm100_mj
Add SO-ARM100 MJCF description from Menagerie.
2 parents b3cf619 + 3fcaa0f commit 8c014b1

File tree

5 files changed

+25
-1
lines changed

5 files changed

+25
-1
lines changed

CHANGELOG.md

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

77
### Added
88

9+
- Description: SO-ARM100 (MJCF)
910
- Description: Berkeley Humanoid
1011

1112
### Fixed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ The DOF column denotes the number of actuated degrees of freedom.
146146
| `poppy_ergo_jr_description` | Poppy Ergo Jr | Poppy Project | 6 | URDF |
147147
| `sawyer_mj_description` | Sawyer | Rethink Robotics | 7 | MJCF |
148148
| `so_arm100` | SO-ARM100 | The Robot Studio | 6 | URDF |
149+
| `so_arm100_mj_description` | SO-ARM100 | The Robot Studio | 6 | MJCF |
149150
| `ur10_description` | UR10 | Universal Robots | 6 | URDF |
150151
| `ur10e_mj_description` | UR10e | Universal Robots | 6 | MJCF |
151152
| `ur3_description` | UR3 | Universal Robots | 6 | URDF |

robot_descriptions/_descriptions.py

+1
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ def has_urdf(self) -> bool:
122122
"skydio_x2_description": Description(Format.URDF),
123123
"skydio_x2_mj_description": Description(Format.MJCF),
124124
"so_arm100": Description(Format.URDF),
125+
"so_arm100_mj_description": Description(Format.MJCF),
125126
"solo_description": Description(Format.URDF),
126127
"spryped_description": Description(Format.URDF),
127128
"stretch_description": Description(Format.URDF),

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="511be2a8bea4bf06ea4a1825c304a5b0cc6b67b1",
165+
commit="a88bc450470d97ebc1f282e5969675fb4d1f0ed7",
166166
cache_path="mujoco_menagerie",
167167
),
168168
"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 2024 Jafar Uruç
6+
7+
"""SO-ARM100 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, "trs_so_arm100")
20+
21+
MJCF_PATH: str = _path.join(PACKAGE_PATH, "so_arm100.xml")

0 commit comments

Comments
 (0)