Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ANYmal D description #97

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ All notable changes to this project will be documented in this file.

### Added

- Description: ANYmal D
- Description: LEAP Hand v1
- Description: Shadow DEX-EE (MJCF) (thanks to @kevinzakka)
- Description: Stretch 3 (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 @@ -256,6 +256,7 @@ The DOF column denotes the number of actuated degrees of freedom.
| `anymal_b_mj_description` | ANYmal B | ANYbotics | 12 | MJCF |
| `anymal_c_description` | ANYmal C | ANYbotics | 12 | URDF |
| `anymal_c_mj_description` | ANYmal C | ANYbotics | 12 | MJCF |
| `anymal_d_description` | ANYmal D | ANYbotics | 12 | URDF |
| `b1_description` | B1 | UNITREE Robotics | 12 | URDF |
| `spot_mj_description` | Spot | Boston Dynamics | 12 | MJCF |
| `go1_description` | Go1 | UNITREE Robotics | 12 | URDF |
Expand Down
1 change: 1 addition & 0 deletions robot_descriptions/_descriptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ def has_urdf(self) -> bool:
"anymal_b_mj_description": Description(Format.MJCF),
"anymal_c_description": Description(Format.URDF),
"anymal_c_mj_description": Description(Format.MJCF),
"anymal_d_description": Description(Format.URDF),
"atlas_drc_description": Description(Format.URDF),
"atlas_v4_description": Description(Format.URDF),
"b1_description": Description(Format.URDF),
Expand Down
5 changes: 5 additions & 0 deletions robot_descriptions/_repositories.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ class Repository:
commit="f160b8f7fed840c47a6febe8e2bc78b32bf43a68",
cache_path="anymal_c_simple_description",
),
"anymal_d_simple_description": Repository(
url="https://github.com/ANYbotics/anymal_d_simple_description.git",
commit="6adc14720aab583613975e5a9d6d4fa3cfcdd081",
cache_path="anymal_d_simple_description",
),
"baxter_common": Repository(
url="https://github.com/RethinkRobotics/baxter_common.git",
commit="v1.2.0",
Expand Down
21 changes: 21 additions & 0 deletions robot_descriptions/anymal_d_description.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# SPDX-License-Identifier: Apache-2.0
# Copyright 2024 Inria

"""ANYmal D 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(
"anymal_d_simple_description",
commit=_getenv("ROBOT_DESCRIPTION_COMMIT", None),
)

PACKAGE_PATH: str = _path.join(REPOSITORY_PATH)

URDF_PATH: str = _path.join(PACKAGE_PATH, "urdf", "anymal.urdf")
Loading