Skip to content

Commit 77c75c0

Browse files
stephane-caronStéphane Caron
authored andcommitted
WIP: UR10e MJCF description
1 parent 2799562 commit 77c75c0

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
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+
"""UR10e MJCF 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+
"mujoco_menagerie",
27+
commit=_getenv("ROBOT_DESCRIPTION_COMMIT", None),
28+
)
29+
30+
PACKAGE_PATH: str = _path.join(REPOSITORY_PATH, "universal_robots_ur10e")
31+
32+
MJCF_PATH: str = _path.join(PACKAGE_PATH, "ur10e.xml")

0 commit comments

Comments
 (0)