Skip to content

Commit b52d7e9

Browse files
stephane-caronStéphane Caron
authored andcommitted
Add FANUC M-710iC description
1 parent fd7db24 commit b52d7e9

File tree

5 files changed

+41
-1
lines changed

5 files changed

+41
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ All notable changes to this project will be documented in this file.
66

77
### Added
88

9+
- Description: FANUC M-710iC
910
- Description: Gen3
1011
- Description: TriFingerEdu
1112

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ The DOF column denotes the number of actuated degrees of freedom.
127127
| Name | Robot | Maker | DOF | Format |
128128
|-------------------------------|-----------------------|--------------------------|-----|------------|
129129
| `edo_description` | e.DO | Comau | 6 | URDF |
130+
| `fanuc_m710ic_description` | M-710iC | Fanuc | 6 | URDF |
130131
| `gen2_description` | Gen2 (Jaco) | Kinova | 6 | URDF |
131132
| `gen3_description` | Gen3 (Jaco) | Kinova | 6 | URDF |
132133
| `gen3_mj_description` | Gen3 (Jaco) | Kinova | 7 | MJCF |
@@ -138,7 +139,7 @@ The DOF column denotes the number of actuated degrees of freedom.
138139
| `ur3_description` | UR3 | Universal Robots | 6 | URDF |
139140
| `ur5_description` | UR5 | Universal Robots | 6 | URDF |
140141
| `ur5e_mj_description` | UR5e | Universal Robots | 6 | MJCF |
141-
| `z1_description` | Z1 | UNITREE Robotics | 6 | URDF |
142+
| `z1_description` | Z1 | UNITREE Robotics | 6 | URDF |
142143

143144
### Bipeds
144145

robot_descriptions/_descriptions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ def has_urdf(self) -> bool:
8181
"edo_description": Description(Format.URDF),
8282
"ergocub_description": Description(Format.URDF),
8383
"eve_r3_description": Description(Format.URDF),
84+
"fanuc_m710ic_description": Description(Format.URDF),
8485
"fetch_description": Description(Format.URDF),
8586
"finger_edu_description": Description(Format.URDF),
8687
"gen2_description": Description(Format.URDF),

robot_descriptions/_repositories.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,11 @@ class Repository:
102102
commit="9ba565ca1491efa92ebac38cdd499e5b1c256bf1", # v4.0.3
103103
cache_path="example-robot-data",
104104
),
105+
"fanuc_m710ic_description": Repository(
106+
url="https://github.com/" "robot-descriptions/fanuc_m710ic_description.git",
107+
commit="c3bb97cdffec25cf00463880d35c627af85b5b23",
108+
cache_path="fanuc_m710ic_description",
109+
),
105110
"GingerURDF": Repository(
106111
url="https://github.com/Rayckey/GingerURDF.git",
107112
commit="6a1307cd0ee2b77c82f8839cdce3a2e2eed2bd8f",
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#!/usr/bin/env python3
2+
# -*- coding: utf-8 -*-
3+
#
4+
# Copyright 2022 Stéphane Caron
5+
#
6+
# Licensed under the Apache License, Version 2.0 (the "License");
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
18+
"""Fanuc M-710iC description."""
19+
20+
from os import getenv as _getenv
21+
from os import path as _path
22+
23+
from ._cache import clone_to_cache as _clone_to_cache
24+
25+
REPOSITORY_PATH: str = _clone_to_cache(
26+
"fanuc_m710ic_description",
27+
commit=_getenv("ROBOT_DESCRIPTION_COMMIT", None),
28+
)
29+
30+
PACKAGE_PATH: str = _path.join(REPOSITORY_PATH)
31+
32+
URDF_PATH: str = _path.join(PACKAGE_PATH, "urdf", "m710ic70.urdf")

0 commit comments

Comments
 (0)