Skip to content

Commit bb5519e

Browse files
geurtoJelmerdw
authored andcommitted
added alliander_robotics prefix for dev mounts
Signed-off-by: Peter Geurts <peter.geurts@proton.me>
1 parent b02900d commit bb5519e

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

.devcontainer/dev/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ COPY alliander_robotics/alliander_joystick/src/ /alliander/ros/src
6565
COPY alliander_robotics/alliander_meta/src/ /alliander/ros/src
6666
COPY alliander_robotics/alliander_moveit/src/ /alliander/ros/src
6767
COPY alliander_robotics/alliander_nav2/src/ /alliander/ros/src
68+
COPY alliander_robotics/alliander_seekthermal/src/ /alliander/ros/src
6869
COPY alliander_robotics/alliander_xsens/src/ /alliander/ros/src
6970

7071
# Build repo packages:

alliander_robotics/alliander_seekthermal/src/alliander_seekthermal/src_py/seekthermal_node.py renamed to alliander_robotics/alliander_seekthermal/src/alliander_seekthermal/src_py/seekthermal_bridge.py

File renamed without changes.

alliander_robotics/compose.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ class Compose:
5656
"${HOME}/.nix-profile/bin/nvim:/usr/bin/nvim",
5757
"/nix/store:/nix/store",
5858
"./pyproject.toml:/alliander/pyproject.toml",
59-
"./alliander_core/src/alliander_description:/alliander/ros/src/alliander_description",
60-
"./alliander_core/src/alliander_utilities:/alliander/ros/src/alliander_utilities",
59+
"./alliander_robotics/alliander_core/src/alliander_description:/alliander/ros/src/alliander_description",
60+
"./alliander_robotics/alliander_core/src/alliander_utilities:/alliander/ros/src/alliander_utilities",
6161
],
6262
}
6363
host_cwd: str = os.path.abspath(os.getcwd())
@@ -95,7 +95,7 @@ def get_src_mounts(package: str) -> list[str]:
9595
list[str]: A list of volume mount strings.
9696
"""
9797
cwd = Path.cwd()
98-
src_dir = cwd.joinpath(f"{package}", "src")
98+
src_dir = cwd.joinpath("alliander_robotics", f"{package}", "src")
9999
return [
100100
f"./{str(p.relative_to(cwd))}:/alliander/ros/src/{p.name}"
101101
for p in src_dir.iterdir()

0 commit comments

Comments
 (0)