Skip to content

Commit

Permalink
Merge pull request #95 from kevinzakka/mujoco/stretch-3
Browse files Browse the repository at this point in the history
Add Stretch 3 MJCF description.
  • Loading branch information
stephane-caron authored Jul 22, 2024
2 parents dd4ad7a + fcffd47 commit b29c4b7
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ All notable changes to this project will be documented in this file.

### Added

- Description: Stretch 3 (MJCF) (thanks to @kevinzakka)
- Description: Shadow DEX-EE (MJCF) (thanks to @kevinzakka)
- Description: KUKA iiwa 7 (URDF)
- Description: Unitree G1 (MJCF) (thanks to @kevinzakka)
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ The DOF column denotes the number of actuated degrees of freedom.
| `reachy_description` | Reachy | Pollen Robotics | 21 | URDF |
| `stretch_description` | Stretch RE1 | Hello Robot | 14 | URDF |
| `sretch_mj_description` | Stretch 2 | Hello Robot | 14 | MJCF |
| `sretch_3_mj_description` | Stretch 3 | Hello Robot | 14 | MJCF |
| `tiago_description` | TIAGo | PAL Robotics | 48 | URDF |

### Quadrupeds
Expand Down
20 changes: 20 additions & 0 deletions robot_descriptions/stretch_3_mj_description.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# SPDX-License-Identifier: Apache-2.0

"""Stretch 3 description."""

from os import getenv as _getenv
from os import path as _path

from ._cache import clone_to_cache as _clone_to_cache

REPOSITORY_PATH: str = _clone_to_cache(
"mujoco_menagerie",
commit=_getenv("ROBOT_DESCRIPTION_COMMIT", None),
)

PACKAGE_PATH: str = _path.join(REPOSITORY_PATH, "hello_robot_stretch_3")

MJCF_PATH: str = _path.join(PACKAGE_PATH, "stretch.xml")

0 comments on commit b29c4b7

Please sign in to comment.