Skip to content

Commit d622c54

Browse files
stephane-caronStéphane Caron
authored andcommitted
WIP: Update more submodules
1 parent e7585c5 commit d622c54

20 files changed

+100
-20
lines changed

robot_descriptions/anymal_b_description.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,15 @@
1919
ANYmal B 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("anymal_b_simple_description")
27+
REPOSITORY_PATH: str = _clone_to_cache(
28+
"anymal_b_simple_description",
29+
commit=_getenv("ROBOT_DESCRIPTION_COMMIT", None),
30+
)
2731

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

robot_descriptions/anymal_b_mj_description.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,15 @@
1919
ANYmal B 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, "anybotics_anymal_b")
2933

robot_descriptions/anymal_c_description.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,15 @@
1919
ANYmal C 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("anymal_c_simple_description")
27+
REPOSITORY_PATH: str = _clone_to_cache(
28+
"anymal_c_simple_description",
29+
commit=_getenv("ROBOT_DESCRIPTION_COMMIT", None),
30+
)
2731

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

robot_descriptions/anymal_c_mj_description.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,15 @@
1919
ANYmal C 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, "anybotics_anymal_c")
2933

robot_descriptions/atlas_drc_description.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,15 @@
1919
Atlas DRC (v3) 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("drake")
27+
REPOSITORY_PATH: str = _clone_to_cache(
28+
"drake",
29+
commit=_getenv("ROBOT_DESCRIPTION_COMMIT", None),
30+
)
2731

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

robot_descriptions/atlas_v4_description.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,16 @@
1919
Atlas v4 description.
2020
"""
2121

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

2526
from ._cache import clone_to_cache as _clone_to_cache
2627

27-
REPOSITORY_PATH: str = _clone_to_cache("roboschool")
28+
REPOSITORY_PATH: str = _clone_to_cache(
29+
"roboschool",
30+
commit=_getenv("ROBOT_DESCRIPTION_COMMIT", None),
31+
)
2832

2933
PACKAGE_PATH: str = _path.join(
3034
REPOSITORY_PATH, "roboschool", "models_robot", "atlas_description"

robot_descriptions/b1_description.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,15 @@
1919
B1 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("unitree_ros")
27+
REPOSITORY_PATH: str = _clone_to_cache(
28+
"unitree_ros",
29+
commit=_getenv("ROBOT_DESCRIPTION_COMMIT", None),
30+
)
2731

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

robot_descriptions/barrett_hand_description.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,15 @@
1919
BarrettHand 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("bhand_model")
27+
REPOSITORY_PATH: str = _clone_to_cache(
28+
"bhand_model",
29+
commit=_getenv("ROBOT_DESCRIPTION_COMMIT", None),
30+
)
2731

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

robot_descriptions/baxter_description.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,15 @@
1919
Baxter 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("baxter_common")
27+
REPOSITORY_PATH: str = _clone_to_cache(
28+
"baxter_common",
29+
commit=_getenv("ROBOT_DESCRIPTION_COMMIT", None),
30+
)
2731

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

robot_descriptions/bolt_description.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,15 @@
1919
Bolt 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", "bolt_description")
2933

0 commit comments

Comments
 (0)