Skip to content

feat: add custom workspace overlay support - #6

Merged
skyegalaxy merged 4 commits into
rollingfrom
skyegalaxy/add-workspace-mounting
Sep 10, 2026
Merged

skyegalaxy merged 4 commits into
rollingfrom
skyegalaxy/add-workspace-mounting

Conversation

@skyegalaxy

Copy link
Copy Markdown
Member

Description

Adds a -w or --workspace arg to both docker/build and docker/run. This allows for developers to use this container to more easily benchmark changes to the client library by using their existing ROS core workspaces.

docker/build -w <workspace> [--skip-keys "<keys>"] allows for workspace specific rosdeps to be installed in your built container. This does not build the packages in that workspace, only installs the rosdeps so they can be built in the container later

docker/run -w <workspace> mounts the workspace at /overlay_ws and sources it after the base install.

╰─❯ docker/run -d rolling -w ~/sourcecode/ros/rolling_ws/ -t 1
Benchmark results will be available on your machine at /home/skye/sourcecode/ros/ros2-benchmark-container/benchmark_results/rolling
Overlaying workspace /home/skye/sourcecode/ros/rolling_ws at /overlay_ws.
root@llt-skye:/ws# ros2 pkg prefix irobot_benchmark
/ws/install
root@llt-skye:/ws# ros2 pkg prefix rclcpp
/overlay_ws/install/rclcpp

Fixes # (issue)

Is this user-facing behavior change?

yes, users will be able to mount their custom ROS workspaces into the container for testing benchmark changes

Did you use Generative AI?

claude opus 4.8

Additional Information

Skyler Medeiros added 4 commits September 10, 2026 15:16
Signed-off-by: Skyler Medeiros <skye@polymathrobotics.com>
Signed-off-by: Skyler Medeiros <skye@polymathrobotics.com>
…at buildtimes

Signed-off-by: Skyler Medeiros <skye@polymathrobotics.com>
Signed-off-by: Skyler Medeiros <skye@polymathrobotics.com>
@skyegalaxy
skyegalaxy merged commit c91e1ac into rolling Sep 10, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant