Skip to content

Commit 678b850

Browse files
committed
Fix Aliengo URDF source
- The source of aliengo URDF configuration. Previous URDF had duplicated floating base joints.
1 parent 3b6e3d4 commit 678b850

File tree

2 files changed

+27
-4
lines changed

2 files changed

+27
-4
lines changed

robot_descriptions/aliengo_description.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
from ._cache import clone_to_cache as _clone_to_cache
1313

1414
REPOSITORY_PATH: str = _clone_to_cache(
15-
"unitree_mujoco",
15+
"unitree_ros",
1616
commit=_getenv("ROBOT_DESCRIPTION_COMMIT", None),
1717
)
1818

19-
PACKAGE_PATH: str = _path.join(REPOSITORY_PATH, "data", "aliengo")
20-
21-
MJCF_PATH: str = _path.join(PACKAGE_PATH, "xml", "aliengo.xml")
19+
PACKAGE_PATH: str = _path.join(
20+
REPOSITORY_PATH, "robots", "aliengo_description"
21+
)
2222

2323
URDF_PATH: str = _path.join(PACKAGE_PATH, "urdf", "aliengo.urdf")
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/usr/bin/env python3
2+
# -*- coding: utf-8 -*-
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
# Copyright 2022 Stéphane Caron
6+
7+
"""Aliengo description."""
8+
9+
from os import getenv as _getenv
10+
from os import path as _path
11+
12+
from ._cache import clone_to_cache as _clone_to_cache
13+
14+
REPOSITORY_PATH: str = _clone_to_cache(
15+
"unitree_mujoco",
16+
commit=_getenv("ROBOT_DESCRIPTION_COMMIT", None),
17+
)
18+
19+
PACKAGE_PATH: str = _path.join(REPOSITORY_PATH, "data", "aliengo")
20+
21+
MJCF_PATH: str = _path.join(PACKAGE_PATH, "xml", "aliengo.xml")
22+
23+
URDF_PATH: str = _path.join(PACKAGE_PATH, "urdf", "aliengo.urdf")

0 commit comments

Comments
 (0)