|
| 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 | +""" |
| 19 | +Atlas v4 description. |
| 20 | +""" |
| 21 | + |
| 22 | +from os import path as _path |
| 23 | +from typing import List |
| 24 | + |
| 25 | +from ._cache import clone_to_cache as _clone_to_cache |
| 26 | + |
| 27 | +REPOSITORY_PATH: str = _clone_to_cache("roboschool") |
| 28 | + |
| 29 | +PACKAGE_PATH: str = _path.join( |
| 30 | + REPOSITORY_PATH, "roboschool", "models_robot", "atlas_description" |
| 31 | +) |
| 32 | + |
| 33 | +MESH_PATHS: List[str] = [ |
| 34 | + _path.join(PACKAGE_PATH, "meshes_v3"), |
| 35 | + _path.join(PACKAGE_PATH, "meshes_unplugged"), |
| 36 | + _path.join( |
| 37 | + REPOSITORY_PATH, |
| 38 | + "roboschool", |
| 39 | + "models_robot", |
| 40 | + "multisense_sl_description", |
| 41 | + "meshes", |
| 42 | + ), |
| 43 | +] |
| 44 | + |
| 45 | +URDF_PATH: str = _path.join( |
| 46 | + PACKAGE_PATH, "urdf", "atlas_v4_with_multisense.urdf" |
| 47 | +) |
0 commit comments