Skip to content

Commit 423111d

Browse files
Add Franka FR3 v2 MJCF description
1 parent 9a807b1 commit 423111d

File tree

4 files changed

+25
-2
lines changed

4 files changed

+25
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ All notable changes to this project will be documented in this file.
88

99
- Description: Aero Hand Open (MJCF)
1010
- Description: Aero Hand Open (URDF)
11-
- Description: ToddlerBot 2XC (MJDF)
12-
- Description: ToddlerBot 2XM (MJDF)
11+
- Description: Franka FR3 v2 (MJCF)
12+
- Description: ToddlerBot 2XC (MJCF)
13+
- Description: ToddlerBot 2XM (MJCF)
1314

1415
### Changed
1516

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ The DOF column denotes the number of actuated degrees of freedom.
136136
| `edo_description` | e.DO | Comau | URDF | [BSD-3-Clause](https://github.com/ianathompson/eDO_description/blob/17b3f92f834746106d6a4befaab8eeab3ac248e6/LICENSE) |
137137
| `fanuc_m710ic_description` | M-710iC | Fanuc | URDF | BSD-3-Clause |
138138
| `fr3_mj_description` | FR3 | Franka Robotics | MJCF | Apache-2.0 |
139+
| `fr3_v2_mj_description` | FR3 v2 | Franka Robotics | MJCF | Apache-2.0 |
139140
| `gen2_description` | Gen2 | Kinova | URDF | BSD-3-Clause |
140141
| `gen3_description` | Gen3 | Kinova | URDF | MIT |
141142
| `gen3_lite_description` | Gen3 Lite | Kinova | URDF | BSD-3-Clause |

robot_descriptions/_descriptions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ def has_urdf(self) -> bool:
121121
"fetch_description": Description(Format.URDF, tags={"mobile_manipulator"}),
122122
"finger_edu_description": Description(Format.URDF, tags={"educational"}),
123123
"fr3_mj_description": Description(Format.MJCF, tags={"arm"}),
124+
"fr3_v2_mj_description": Description(Format.MJCF, tags={"arm"}),
124125
"g1_description": Description(Format.URDF, tags={"humanoid"}),
125126
"g1_mj_description": Description(Format.MJCF, tags={"humanoid"}),
126127
"gen2_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+
"""Franka FR3 v2 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, "franka_fr3_v2")
19+
20+
MJCF_PATH: str = _path.join(PACKAGE_PATH, "fr3v2.xml")

0 commit comments

Comments
 (0)