|
| 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 | +"""Kinova Jaco Gen3 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 | + "differentiable-robot-model", |
| 27 | + commit=_getenv("ROBOT_DESCRIPTION_COMMIT", None), |
| 28 | +) |
| 29 | + |
| 30 | +PACKAGE_PATH: str = _path.join( |
| 31 | + REPOSITORY_PATH, "diff_robot_data", "kinova_description" |
| 32 | +) |
| 33 | + |
| 34 | +URDF_PATH: str = _path.join(PACKAGE_PATH, "urdf", "jaco.urdf") |
0 commit comments