Skip to content

Commit d3ed9f3

Browse files
Merge pull request #87 from kevinzakka/widow
Add WidowX 250 6-DOF MJCF from Menagerie.
2 parents 4a5c9fb + 2b3232a commit d3ed9f3

File tree

5 files changed

+26
-2
lines changed

5 files changed

+26
-2
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ All notable changes to this project will be documented in this file.
1111
- Description: Unitree G1 (URDF) (thanks to @lvjonok)
1212
- Description: Boston Dynamics Spot (MJCF) (thanks to @kevinzakka)
1313
- Description: Franka Robotics FR3 (MJCF) (thanks to @kevinzakka)
14+
- Description: WidowX 250 6-DOF (MJCF) (thanks to @kevinzakka)
1415

1516
### Changed
1617

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ The DOF column denotes the number of actuated degrees of freedom.
149149
| `ur3_description` | UR3 | Universal Robots | 6 | URDF |
150150
| `ur5_description` | UR5 | Universal Robots | 6 | URDF |
151151
| `ur5e_mj_description` | UR5e | Universal Robots | 6 | MJCF |
152-
| `viper_mj_description` | Viper | Trossen Robotics | 7 | MJCF |
152+
| `viper_mj_description` | ViperX | Trossen Robotics | 8 | MJCF |
153+
| `widow_mj_description` | WidowX | Trossen Robotics | 8 | MJCF |
153154
| `xarm7_mj_description` | xArm7 | UFACTORY | 7 | MJCF |
154155
| `z1_description` | Z1 | UNITREE Robotics | 6 | URDF |
155156

robot_descriptions/_descriptions.py

+1
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ def has_urdf(self) -> bool:
132132
"ur5e_mj_description": Description(Format.MJCF),
133133
"valkyrie_description": Description(Format.URDF),
134134
"viper_mj_description": Description(Format.MJCF),
135+
"widow_mj_description": Description(Format.MJCF),
135136
"xarm7_mj_description": Description(Format.MJCF),
136137
"yumi_description": Description(Format.URDF),
137138
"z1_description": Description(Format.URDF),

robot_descriptions/_repositories.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ class Repository:
152152
),
153153
"mujoco_menagerie": Repository(
154154
url="https://github.com/deepmind/mujoco_menagerie.git",
155-
commit="d82891f8b6c576f9f6a9df308f3a1155ebedbc40",
155+
commit="3ff28577c3d5e9c63b2bf84489c45b851745b8d0",
156156
cache_path="mujoco_menagerie",
157157
),
158158
"nao_robot": Repository(
+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+
"""WidowX 250 6DOF 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, "trossen_wx250s")
20+
21+
MJCF_PATH: str = _path.join(PACKAGE_PATH, "wx250s.xml")

0 commit comments

Comments
 (0)