Skip to content

Commit 7586865

Browse files
stephane-caronStéphane Caron
authored andcommitted
WIP: Update submodules, bis repetita placent
1 parent d622c54 commit 7586865

25 files changed

+125
-25
lines changed

robot_descriptions/ginger_description.py

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

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

robot_descriptions/go1_description.py

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

robot_descriptions/go1_mj_description.py

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

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

robot_descriptions/hyq_description.py

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

robot_descriptions/icub_description.py

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

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

robot_descriptions/iiwa_description.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,15 @@
1919
iiwa 14 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(
2933
REPOSITORY_PATH, "manipulation", "models", "iiwa_description"

robot_descriptions/jaxon_description.py

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

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

robot_descriptions/jvrc_description.py

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

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

robot_descriptions/jvrc_mj_description.py

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

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

robot_descriptions/laikago_description.py

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

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

0 commit comments

Comments
 (0)