From bca264018009ee183fc2d7aa612c5d4280ef7569 Mon Sep 17 00:00:00 2001 From: Michael Ferguson Date: Mon, 5 Aug 2024 21:25:11 -0400 Subject: [PATCH] fix signature issue from #943 --- depth_image_proc/include/depth_image_proc/conversions.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/depth_image_proc/include/depth_image_proc/conversions.hpp b/depth_image_proc/include/depth_image_proc/conversions.hpp index 8af177bd0..a8f0e53c6 100644 --- a/depth_image_proc/include/depth_image_proc/conversions.hpp +++ b/depth_image_proc/include/depth_image_proc/conversions.hpp @@ -152,7 +152,7 @@ void convertIntensity( // Handles RGB8, BGR8, and MONO8 void convertRgb( const sensor_msgs::msg::Image::ConstSharedPtr & rgb_msg, - sensor_msgs::msg::PointCloud2::SharedPtr cloud_msg, + const sensor_msgs::msg::PointCloud2::SharedPtr & cloud_msg, int red_offset, int green_offset, int blue_offset, int color_step); cv::Mat initMatrix(cv::Mat cameraMatrix, cv::Mat distCoeffs, int width, int height, bool radial);