Skip to content

Commit 5d53b73

Browse files
Merge pull request #157 from robot-descriptions/add/robot_soccer_kit
Add MJCF description for RSK omnidirectional robot
2 parents 240f49c + 990ae85 commit 5d53b73

File tree

5 files changed

+25
-1
lines changed

5 files changed

+25
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ All notable changes to this project will be documented in this file.
1010
- Description: Fourier N1 (MJCF)
1111
- Description: Fourier N1 (URDF)
1212
- Description: YAM (MJCF) (thanks to @kevinzakka)
13+
- Description: RSK omnidirectional robot (MJCF)
1314

1415
### Changed
1516

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ The DOF column denotes the number of actuated degrees of freedom.
301301
| Name | Robot | Maker | Format | License |
302302
|-------------------------------|-----------------------|--------------------------|------------|---------|
303303
| `rsk_description` | RSK Omnidirectional | Robot Soccer Kit | URDF | MIT |
304+
| `rsk_mj_description` | RSK Omnidirectional | Robot Soccer Kit | MJCF | MIT |
304305
| `upkie_description` | Upkie | Stéphane Caron | URDF | Apache-2.0 |
305306

306307
## Contributing

robot_descriptions/_descriptions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ def has_urdf(self) -> bool:
175175
),
176176
"romeo_description": Description(Format.URDF, tags={"humanoid"}),
177177
"rsk_description": Description(Format.URDF, tags={"wheeled"}),
178+
"rsk_mj_description": Description(Format.MJCF, tags={"wheeled"}),
178179
"sawyer_mj_description": Description(Format.MJCF, tags={"arm"}),
179180
"shadow_dexee_mj_description": Description(
180181
Format.MJCF, tags={"end_effector"}

robot_descriptions/_repositories.py

Lines changed: 1 addition & 1 deletion
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="f3475402a11acf5ba767a8bec03cc9bea9819d8d",
180+
commit="66384c6b8581c811a7b1eb63bcf4fa944fa43602",
181181
cache_path="mujoco_menagerie",
182182
),
183183
"nao_robot": Repository(
Lines changed: 21 additions & 0 deletions
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 2025 Inria
6+
7+
"""RSK omnidirection robot 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, "robot_soccer_kit")
20+
21+
MJCF_PATH: str = _path.join(PACKAGE_PATH, "robot_soccer_kit.xml")

0 commit comments

Comments
 (0)