Skip to content

Commit 982445a

Browse files
Merge pull request #84 from kevinzakka/update-models
Add BD Spot quadruped and Franka FR3.
2 parents b7526ef + ac1f78e commit 982445a

File tree

5 files changed

+49
-3
lines changed

5 files changed

+49
-3
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ All notable changes to this project will be documented in this file.
99
- Description: KUKA iiwa 7 (URDF)
1010
- Description: Unitree G1 (MJCF) (thanks to @kevinzakka)
1111
- Description: Unitree G1 (URDF) (thanks to @lvjonok)
12+
- Description: Boston Dynamics Spot (MJCF) (thanks to @kevinzakka)
13+
- Description: Franka Robotics FR3 (MJCF) (thanks to @kevinzakka)
1214

1315
### Changed
1416

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -133,14 +133,15 @@ The DOF column denotes the number of actuated degrees of freedom.
133133
|-------------------------------|-----------------------|--------------------------|-----|------------|
134134
| `edo_description` | e.DO | Comau | 6 | URDF |
135135
| `fanuc_m710ic_description` | M-710iC | Fanuc | 6 | URDF |
136+
| `fr3_mj_description` | FR3 | Franka Robotics | 7 | MJCF |
136137
| `gen2_description` | Gen2 (Jaco) | Kinova | 6 | URDF |
137138
| `gen3_description` | Gen3 (Jaco) | Kinova | 6 | URDF |
138139
| `gen3_mj_description` | Gen3 (Jaco) | Kinova | 7 | MJCF |
139140
| `iiwa14_description` | iiwa 14 | KUKA | 7 | URDF |
140141
| `iiwa14_mj_description` | iiwa 14 | KUKA | 7 | MJCF |
141142
| `iiwa7_description` | iiwa 7 | KUKA | 7 | URDF |
142-
| `panda_description` | Panda | Franka Emika | 8 | URDF |
143-
| `panda_mj_description` | Panda | Franka Emika | 8 | MJCF |
143+
| `panda_description` | Panda | Franka Robotics | 8 | URDF |
144+
| `panda_mj_description` | Panda | Franka Robotics | 8 | MJCF |
144145
| `poppy_ergo_jr_description` | Poppy Ergo Jr | Poppy Project | 6 | URDF |
145146
| `sawyer_mj_description` | Sawyer | Rethink Robotics | 7 | MJCF |
146147
| `ur10_description` | UR10 | Universal Robots | 6 | URDF |
@@ -252,6 +253,7 @@ The DOF column denotes the number of actuated degrees of freedom.
252253
| `anymal_c_description` | ANYmal C | ANYbotics | 12 | URDF |
253254
| `anymal_c_mj_description` | ANYmal C | ANYbotics | 12 | MJCF |
254255
| `b1_description` | B1 | UNITREE Robotics | 12 | URDF |
256+
| `spot_mj_description` | Spot | Boston Dynamics | 12 | MJCF |
255257
| `go1_description` | Go1 | UNITREE Robotics | 12 | URDF |
256258
| `go1_mj_description` | Go1 | UNITREE Robotics | 12 | MJCF |
257259
| `go2_description` | Go2 | UNITREE Robotics | 12 | 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="95659f93be58e9e5600bcd1bc9c2379b4aa07fc6",
155+
commit="d82891f8b6c576f9f6a9df308f3a1155ebedbc40",
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+
"""Franka FR3 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, "franka_fr3")
20+
21+
MJCF_PATH: str = _path.join(PACKAGE_PATH, "fr3.xml")
+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+
"""Boston Dynamics Spot 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, "boston_dynamics_spot")
20+
21+
MJCF_PATH: str = _path.join(PACKAGE_PATH, "spot.xml")

0 commit comments

Comments
 (0)