From e10bd7d98e26dbe05252919e201bbf2706df4949 Mon Sep 17 00:00:00 2001 From: Diego Cesar Date: Thu, 17 Oct 2019 10:36:34 +0200 Subject: [PATCH] explicitly requires "cv_bridge" package on package uuv_sensor_ros_plugins, the file "gazebo_ros_image_sonar.cpp" includes "cv_bridge/cv_bridge.h". This commit fixes the following error: uuv_simulator/uuv_sensor_plugins/uuv_sensor_ros_plugins/src/gazebo_ros_image_sonar.cpp:50:33: fatal error: cv_bridge/cv_bridge.h: No such file or directory Signed-off-by: Diego Cesar --- uuv_sensor_plugins/uuv_sensor_ros_plugins/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uuv_sensor_plugins/uuv_sensor_ros_plugins/CMakeLists.txt b/uuv_sensor_plugins/uuv_sensor_ros_plugins/CMakeLists.txt index c12d8ffe0..05d53f58b 100644 --- a/uuv_sensor_plugins/uuv_sensor_ros_plugins/CMakeLists.txt +++ b/uuv_sensor_plugins/uuv_sensor_ros_plugins/CMakeLists.txt @@ -19,7 +19,8 @@ find_package(catkin REQUIRED COMPONENTS message_filters tf2_ros tf2 - laser_geometry) + laser_geometry + cv_bridge) find_package(Eigen3 REQUIRED) find_package(OGRE REQUIRED)