Skip to content

Commit fcc43f6

Browse files
victorsolazbburda
authored andcommitted
Fix missing ROS2MedkitCompat.cmake in sensor_diagnostics Dockerfile
Preserve the shared CMake module from the ros2_medkit clone before deleting it. Without this, colcon build fails because ros2_medkit_serialization (and other packages) cannot resolve their ../../cmake/ROS2MedkitCompat.cmake include path. Fixes #28
1 parent 4067887 commit fcc43f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

demos/sensor_diagnostics/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ RUN git clone --depth 1 https://github.com/selfpatch/ros2_medkit.git && \
3232
mv ros2_medkit/src/ros2_medkit_fault_manager . && \
3333
mv ros2_medkit/src/ros2_medkit_fault_reporter . && \
3434
mv ros2_medkit/src/ros2_medkit_diagnostic_bridge . && \
35+
mkdir -p ${COLCON_WS}/cmake && mv ros2_medkit/cmake/ROS2MedkitCompat.cmake ${COLCON_WS}/cmake/ && \
3536
rm -rf ros2_medkit
3637

3738
# Copy demo package

0 commit comments

Comments
 (0)