Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/ros2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ jobs:
- uses: ros-industrial/industrial_ci@master
env:
ROS_DISTRO: ${{ matrix.ROS_DISTRO }}
# lyrical and rolling with the repository of the build farm (building), as the build farm builds the packages
# with it: the changes of the dependencies (e.g. of cv_bridge) break the build there before they reach the
# testing and main ones
ROS_REPOSITORY_PATH: ${{ (matrix.ROS_DISTRO == 'lyrical' || matrix.ROS_DISTRO == 'rolling') && 'http://repo.ros2.org/ubuntu/building' || '' }}
3 changes: 3 additions & 0 deletions posedetection_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ elseif("$ENV{ROS_VERSION}" EQUAL 2)
find_package(${_dep} REQUIRED)
endforeach()

# libopencv-dev is a build_depend for cv_bridge (see package.xml), not a package of the interfaces
ament_package_xml()
list(REMOVE_ITEM ${PROJECT_NAME}_BUILD_DEPENDS libopencv-dev)
rosidl_auto_generate_interfaces(ADD_LINTER_TESTS)

rosidl_get_typesupport_target(cpp_typesupport_target "${PROJECT_NAME}" "rosidl_typesupport_cpp")
Expand Down
3 changes: 3 additions & 0 deletions posedetection_msgs/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
<build_depend>sensor_msgs</build_depend>
<build_depend>geometry_msgs</build_depend>
<build_depend>cv_bridge</build_depend>
<!-- cv_bridge 4.1.1 finds OpenCV for the packages using it, but does not export libopencv-dev
(https://github.com/ros-perception/vision_opencv/pull/702) -->
<build_depend condition="$ROS_VERSION == 2">libopencv-dev</build_depend>
<build_depend condition="$ROS_VERSION == 1">message_generation</build_depend>
<buildtool_depend condition="$ROS_VERSION == 2">rosidl_default_generators</buildtool_depend>
<build_depend>message_filters</build_depend>
Expand Down
Loading