Skip to content

Commit b39b879

Browse files
stephane-caronStéphane Caron
authored andcommitted
Update all remaining submodules
1 parent 7586865 commit b39b879

12 files changed

+62
-16
lines changed

robot_descriptions/simple_humanoid_description.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,20 @@
1919
Simple Humanoid description.
2020
"""
2121

22-
import os
22+
from os import getenv as _getenv
23+
from os import path as _path
2324

2425
from ._cache import clone_to_cache as _clone_to_cache
2526

2627
REPOSITORY_PATH: str = _clone_to_cache(
27-
"simple_humanoid_description", commit=os.getenv("ROBOT_DESCRIPTION_COMMIT", None)
28+
"simple_humanoid_description",
29+
commit=_getenv("ROBOT_DESCRIPTION_COMMIT", None),
2830
)
2931

30-
PACKAGE_PATH: str = os.path.join(REPOSITORY_PATH)
32+
PACKAGE_PATH: str = _path.join(REPOSITORY_PATH)
3133

32-
URDF_PATH: str = os.path.join(PACKAGE_PATH, "urdf", "simple_humanoid.urdf")
34+
URDF_PATH: str = _path.join(PACKAGE_PATH, "urdf", "simple_humanoid.urdf")
3335

34-
URDF_PATH_CLASSICAL: str = os.path.join(
36+
URDF_PATH_CLASSICAL: str = _path.join(
3537
PACKAGE_PATH, "urdf", "simple_humanoid_classical.urdf"
3638
)

robot_descriptions/spryped_description.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,15 @@
1919
Spryped description.
2020
"""
2121

22+
from os import getenv as _getenv
2223
from os import path as _path
2324

2425
from ._cache import clone_to_cache as _clone_to_cache
2526

26-
REPOSITORY_PATH: str = _clone_to_cache("spryped")
27+
REPOSITORY_PATH: str = _clone_to_cache(
28+
"spryped",
29+
commit=_getenv("ROBOT_DESCRIPTION_COMMIT", None),
30+
)
2731

2832
PACKAGE_PATH: str = _path.join(REPOSITORY_PATH, "spryped_urdf_rev06")
2933

robot_descriptions/talos_description.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,15 @@
1919
TALOS description.
2020
"""
2121

22+
from os import getenv as _getenv
2223
from os import path as _path
2324

2425
from ._cache import clone_to_cache as _clone_to_cache
2526

26-
REPOSITORY_PATH: str = _clone_to_cache("talos-data")
27+
REPOSITORY_PATH: str = _clone_to_cache(
28+
"talos-data",
29+
commit=_getenv("ROBOT_DESCRIPTION_COMMIT", None),
30+
)
2731

2832
PACKAGE_PATH: str = _path.join(REPOSITORY_PATH)
2933

robot_descriptions/tiago_description.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,15 @@
1919
TIAGo description.
2020
"""
2121

22+
from os import getenv as _getenv
2223
from os import path as _path
2324

2425
from ._cache import clone_to_cache as _clone_to_cache
2526

26-
REPOSITORY_PATH: str = _clone_to_cache("example-robot-data")
27+
REPOSITORY_PATH: str = _clone_to_cache(
28+
"example-robot-data",
29+
commit=_getenv("ROBOT_DESCRIPTION_COMMIT", None),
30+
)
2731

2832
PACKAGE_PATH: str = _path.join(REPOSITORY_PATH, "robots", "tiago_description")
2933

robot_descriptions/upkie_description.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,15 @@
1919
Upkie description.
2020
"""
2121

22+
from os import getenv as _getenv
2223
from os import path as _path
2324

2425
from ._cache import clone_to_cache as _clone_to_cache
2526

26-
REPOSITORY_PATH: str = _clone_to_cache("upkie_description")
27+
REPOSITORY_PATH: str = _clone_to_cache(
28+
"upkie_description",
29+
commit=_getenv("ROBOT_DESCRIPTION_COMMIT", None),
30+
)
2731

2832
PACKAGE_PATH: str = _path.join(REPOSITORY_PATH)
2933

robot_descriptions/ur10_description.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,15 @@
1919
UR10 description.
2020
"""
2121

22+
from os import getenv as _getenv
2223
from os import path as _path
2324

2425
from ._cache import clone_to_cache as _clone_to_cache
2526

26-
REPOSITORY_PATH: str = _clone_to_cache("example-robot-data")
27+
REPOSITORY_PATH: str = _clone_to_cache(
28+
"example-robot-data",
29+
commit=_getenv("ROBOT_DESCRIPTION_COMMIT", None),
30+
)
2731

2832
PACKAGE_PATH: str = _path.join(REPOSITORY_PATH, "robots", "ur_description")
2933

robot_descriptions/ur3_description.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,15 @@
1919
UR3 description.
2020
"""
2121

22+
from os import getenv as _getenv
2223
from os import path as _path
2324

2425
from ._cache import clone_to_cache as _clone_to_cache
2526

26-
REPOSITORY_PATH: str = _clone_to_cache("example-robot-data")
27+
REPOSITORY_PATH: str = _clone_to_cache(
28+
"example-robot-data",
29+
commit=_getenv("ROBOT_DESCRIPTION_COMMIT", None),
30+
)
2731

2832
PACKAGE_PATH: str = _path.join(REPOSITORY_PATH, "robots", "ur_description")
2933

robot_descriptions/ur5_description.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,15 @@
1919
UR5 description.
2020
"""
2121

22+
from os import getenv as _getenv
2223
from os import path as _path
2324

2425
from ._cache import clone_to_cache as _clone_to_cache
2526

26-
REPOSITORY_PATH: str = _clone_to_cache("example-robot-data")
27+
REPOSITORY_PATH: str = _clone_to_cache(
28+
"example-robot-data",
29+
commit=_getenv("ROBOT_DESCRIPTION_COMMIT", None),
30+
)
2731

2832
PACKAGE_PATH: str = _path.join(REPOSITORY_PATH, "robots", "ur_description")
2933

robot_descriptions/ur5e_mj_description.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,15 @@
1919
UR5e MJCF description.
2020
"""
2121

22+
from os import getenv as _getenv
2223
from os import path as _path
2324

2425
from ._cache import clone_to_cache as _clone_to_cache
2526

26-
REPOSITORY_PATH: str = _clone_to_cache("mujoco_menagerie")
27+
REPOSITORY_PATH: str = _clone_to_cache(
28+
"mujoco_menagerie",
29+
commit=_getenv("ROBOT_DESCRIPTION_COMMIT", None),
30+
)
2731

2832
PACKAGE_PATH: str = _path.join(REPOSITORY_PATH, "universal_robots_ur5e")
2933

robot_descriptions/valkyrie_description.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,15 @@
1919
Valkyrie description.
2020
"""
2121

22+
from os import getenv as _getenv
2223
from os import path as _path
2324

2425
from ._cache import clone_to_cache as _clone_to_cache
2526

26-
REPOSITORY_PATH: str = _clone_to_cache("nasa-urdf-robots")
27+
REPOSITORY_PATH: str = _clone_to_cache(
28+
"nasa-urdf-robots",
29+
commit=_getenv("ROBOT_DESCRIPTION_COMMIT", None),
30+
)
2731

2832
PACKAGE_PATH: str = _path.join(REPOSITORY_PATH, "val_description")
2933

0 commit comments

Comments
 (0)