Skip to content

fix: use ros2_medkit_cmake package instead of copying cmake dir#39

Merged
bburda merged 1 commit intomainfrom
fix/use-ros2-medkit-cmake-package
Mar 19, 2026
Merged

fix: use ros2_medkit_cmake package instead of copying cmake dir#39
bburda merged 1 commit intomainfrom
fix/use-ros2-medkit-cmake-package

Conversation

@bburda
Copy link
Contributor

@bburda bburda commented Mar 19, 2026

Summary

Update all 3 demo Dockerfiles to use the new ros2_medkit_cmake ament package instead of manually copying the cmake/ directory.

Type

  • Bug fix

Changes

Replace cp -r ros2_medkit/cmake ${COLCON_WS}/ with mv ros2_medkit/src/ros2_medkit_cmake . in:

  • demos/sensor_diagnostics/Dockerfile
  • demos/turtlebot3_integration/Dockerfile
  • demos/moveit_pick_place/Dockerfile

Dependencies

Requires selfpatch/ros2_medkit#295 to be merged first.

The shared cmake modules are now a proper ament package
(ros2_medkit_cmake) instead of a loose cmake/ directory.
Replace `cp -r ros2_medkit/cmake` with `mv ros2_medkit/src/ros2_medkit_cmake .`
in all Dockerfiles.

See: selfpatch/ros2_medkit#295
Copilot AI review requested due to automatic review settings March 19, 2026 17:24
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the demo container build flow to consume ros2_medkit’s shared CMake modules via the new ros2_medkit_cmake ament package, instead of copying a cmake/ directory into the workspace.

Changes:

  • Replace copying ros2_medkit/cmake into ${COLCON_WS} with moving ros2_medkit/src/ros2_medkit_cmake into the colcon workspace source tree.
  • Apply the change consistently across all three demo Docker images (sensor diagnostics, TurtleBot3 integration, MoveIt pick/place).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
demos/sensor_diagnostics/Dockerfile Moves ros2_medkit_cmake into ${COLCON_WS}/src during image build.
demos/turtlebot3_integration/Dockerfile Moves ros2_medkit_cmake into ${COLCON_WS}/src during image build.
demos/moveit_pick_place/Dockerfile Adds ros2_medkit_cmake to the set of ros2_medkit packages moved into ${COLCON_WS}/src.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@bburda bburda self-assigned this Mar 19, 2026
@bburda bburda requested a review from mfaferek93 March 19, 2026 18:39
@bburda bburda merged commit e3828ee into main Mar 19, 2026
9 of 12 checks passed
@bburda bburda deleted the fix/use-ros2-medkit-cmake-package branch March 19, 2026 18:45
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.

Update Dockerfiles for ros2_medkit_cmake package

3 participants