diff --git a/patch/ros-jazzy-usb-cam.patch b/patch/ros-jazzy-usb-cam.patch new file mode 100644 index 000000000..e3291b755 --- /dev/null +++ b/patch/ros-jazzy-usb-cam.patch @@ -0,0 +1,29 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 2387c32..0413704 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -8,7 +8,7 @@ endif() + + if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") + if($ENV{ROS_VERSION} EQUAL 2) +- add_compile_options(-Wall -Wextra -Wpedantic -Werror) ++ add_compile_options(-Wall -Wextra -Wpedantic) + endif() + endif() + +diff --git a/include/usb_cam/formats/av_pixel_format_helper.hpp b/include/usb_cam/formats/av_pixel_format_helper.hpp +index ad1792e..1ea720d 100644 +--- a/include/usb_cam/formats/av_pixel_format_helper.hpp ++++ b/include/usb_cam/formats/av_pixel_format_helper.hpp +@@ -744,11 +744,6 @@ const std::unordered_map STR_2_AVPIXFMT = { + ///< big-endian + + +- {stringify(AV_PIX_FMT_XVMC), AV_PIX_FMT_XVMC}, ///< XVideo Motion +- ///< Acceleration via common +- ///< packet passing +- +- + {stringify(AV_PIX_FMT_YUV440P10LE), AV_PIX_FMT_YUV440P10LE}, ///< planar YUV 4:4:0,20bpp, + ///< (1 Cr & Cb sample per + ///< 1x2 Y samples), diff --git a/vinca_linux_64.yaml b/vinca_linux_64.yaml index 74116eb92..320d8f88b 100644 --- a/vinca_linux_64.yaml +++ b/vinca_linux_64.yaml @@ -149,5 +149,7 @@ packages_select_by_deps: - ouster_ros + - usb-cam + patch_dir: patch rosdistro_snapshot: rosdistro_snapshot.yaml diff --git a/vinca_linux_aarch64.yaml b/vinca_linux_aarch64.yaml index b88a438da..475c32853 100644 --- a/vinca_linux_aarch64.yaml +++ b/vinca_linux_aarch64.yaml @@ -147,5 +147,7 @@ packages_select_by_deps: - ouster_ros + - usb-cam + patch_dir: patch rosdistro_snapshot: rosdistro_snapshot.yaml