Skip to content

Commit 0cd06d8

Browse files
Add Fourier N1 MJCF description
1 parent 0195ace commit 0cd06d8

File tree

4 files changed

+23
-0
lines changed

4 files changed

+23
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
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: Dynamixel 2R (MJCF)
10+
- Description: Fourier N1 (MJCF)
1011
- Description: Fourier N1 (URDF)
1112
- Description: YAM (MJCF) (thanks to @kevinzakka)
1213

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ The DOF column denotes the number of actuated degrees of freedom.
246246
| `jvrc_description` | JVRC-1 | AIST | URDF | BSD-2-Clause |
247247
| `jvrc_mj_description` | JVRC-1 | AIST | MJCF | BSD-2-Clause |
248248
| `n1_description` | N1 | Fourier | URDF | [Apache-2.0](https://github.com/FFTAI/Wiki-GRx-Models/blob/f8e683f00d1d99deb882deb9dfce6030095b466a/LICENSE) |
249+
| `n1_mj_description` | N1 | Fourier | MJCF | [Apache-2.0](https://github.com/google-deepmind/mujoco_menagerie/blob/f3475402a11acf5ba767a8bec03cc9bea9819d8d/fourier_n1/LICENSE) |
249250
| `op3_mj_description` | OP3 | ROBOTIS | MJCF | Apache-2.0 |
250251
| `r2_description` | Robonaut 2 | NASA JSC Robotics | URDF | NASA-1.3 |
251252
| `romeo_description` | Romeo | Aldebaran Robotics | URDF | BSD-3-Clause |

robot_descriptions/_descriptions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ def has_urdf(self) -> bool:
144144
"mini_cheetah_description": Description(Format.URDF, tags={"quadruped"}),
145145
"minitaur_description": Description(Format.URDF, tags={"quadruped"}),
146146
"n1_description": Description(Format.URDF, tags={"humanoid"}),
147+
"n1_mj_description": Description(Format.MJCF, tags={"humanoid"}),
147148
"nextage_description": Description(Format.URDF, tags={"dual_arm"}),
148149
"op3_mj_description": Description(Format.MJCF, tags={"humanoid"}),
149150
"panda_description": Description(Format.URDF, tags={"arm"}),
Lines changed: 20 additions & 0 deletions
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+
"""Fourier N1 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, "fourier_n1")
19+
20+
MJCF_PATH: str = _path.join(PACKAGE_PATH, "n1.xml")

0 commit comments

Comments
 (0)