Skip to content

Commit

Permalink
Add pal_statistics to image (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich authored Dec 7, 2024
1 parent 2452045 commit ae69f83
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
6 changes: 3 additions & 3 deletions Dockerfile.rhel8
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ RUN colcon mixin add default \
https://raw.githubusercontent.com/colcon/colcon-metadata-repository/master/index.yaml && \
colcon metadata update

# we have to compile generate_parameter_library from source
ENV ROS2_WS /opt/ros2_ws
# build generate_parameter_library and other deps from source
ENV ROS2_WS=/opt/ros2_ws
RUN mkdir -p $ROS2_WS/src
WORKDIR $ROS2_WS
ADD ros-controls.rhel8.repos .
Expand All @@ -43,7 +43,7 @@ RUN vcs import src < ros-controls.rhel8.repos && \
colcon build \
--mixin release build-testing-off \
--cmake-args --no-warn-unused-cli \
--packages-up-to generate_parameter_library && \
--packages-up-to generate_parameter_library pal_statistics && \
rm -rf log src build

# add default.yaml to the image
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile.rhel9
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ RUN colcon mixin add default \
https://raw.githubusercontent.com/colcon/colcon-metadata-repository/master/index.yaml && \
colcon metadata update

# build generate_parameter_library from source
ENV ROS2_WS /opt/ros2_ws
# build generate_parameter_library and other deps from source
ENV ROS2_WS=/opt/ros2_ws
RUN mkdir -p $ROS2_WS/src
WORKDIR $ROS2_WS
ADD ros-controls.rhel9.repos .
Expand All @@ -72,7 +72,7 @@ RUN vcs import src < ros-controls.rhel9.repos && \
colcon build \
--mixin release build-testing-off \
--cmake-args --no-warn-unused-cli \
--packages-up-to generate_parameter_library && \
--packages-up-to generate_parameter_library pal_statistics && \
rm -rf log src build

# add default.yaml to the image
Expand Down
6 changes: 5 additions & 1 deletion ros-controls.rhel8.repos
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@ repositories:
cpp_polyfills:
type: git
url: https://github.com/PickNikRobotics/cpp_polyfills.git
version: main
version: main
pal_statistics:
type: git
url: https://github.com/pal-robotics/pal_statistics.git
version: humble-devel
6 changes: 5 additions & 1 deletion ros-controls.rhel9.repos
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@ repositories:
generate_parameter_library:
type: git
url: https://github.com/PickNikRobotics/generate_parameter_library.git
version: main
version: main
pal_statistics:
type: git
url: https://github.com/pal-robotics/pal_statistics.git
version: humble-devel

0 comments on commit ae69f83

Please sign in to comment.