From e14e5ce618ed0fbd5c76dd9861018f49c050ceeb Mon Sep 17 00:00:00 2001 From: Matthijs van der Burgh Date: Tue, 2 Mar 2021 23:32:10 +0100 Subject: [PATCH 1/3] prepare for python3/noetic --- CMakeLists.txt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 43ff9a0..55d7cd5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,10 +1,7 @@ cmake_minimum_required(VERSION 2.8.3) project(virtual_cam) -## Compile as C++11, supported in ROS Kinetic and newer -add_compile_options(-std=c++11) - -find_package(catkin REQUIRED COMPONENTS roscpp message_generation rosbag cv_bridge tf rgbd) +find_package(catkin REQUIRED COMPONENTS cv_bridge roscpp message_generation rgbd rosbag std_msgs tf ) find_package(OpenCV REQUIRED) ################################################ @@ -29,7 +26,7 @@ generate_messages( catkin_package( INCLUDE_DIRS include LIBRARIES virtual_cam_image_loader - CATKIN_DEPENDS message_runtime + CATKIN_DEPENDS message_runtime std_msgs ) ########### From 3fe0daf72597f061b5346ad9cf7cc883457b9dd8 Mon Sep 17 00:00:00 2001 From: Matthijs van der Burgh Date: Tue, 2 Mar 2021 23:35:34 +0100 Subject: [PATCH 2/3] prepare for python3/noetic --- package.xml | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/package.xml b/package.xml index ce00140..1068f2a 100644 --- a/package.xml +++ b/package.xml @@ -9,25 +9,22 @@ TODO catkin - - roscpp - sensor_msgs - tf - std_msgs - message_filters - cv_bridge - stereo_msgs - image_geometry - rosbag - cv_bridge - yaml-cpp - rgbd - - yaml-cpp - rgbd + + cv_bridge + image_geometry + message_filters + rgbd + rosbag + roscpp + sensor_msgs + std_msgs + stereo_msgs + tf + yaml-cpp message_generation - message_runtime + message_runtime + message_runtime From 07299216b859abaf205767d9a421f91c2a43125e Mon Sep 17 00:00:00 2001 From: Matthijs van der Burgh Date: Tue, 2 Mar 2021 23:40:14 +0100 Subject: [PATCH 3/3] convert to package format 3 --- CMakeLists.txt | 5 ++--- package.xml | 8 +++++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 55d7cd5..05cabfa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 2.8.3) project(virtual_cam) -find_package(catkin REQUIRED COMPONENTS cv_bridge roscpp message_generation rgbd rosbag std_msgs tf ) +find_package(catkin REQUIRED COMPONENTS cv_bridge roscpp message_generation rgbd rosbag tf) find_package(OpenCV REQUIRED) ################################################ @@ -16,7 +16,6 @@ add_service_files( generate_messages( DEPENDENCIES - std_msgs ) ################################### @@ -26,7 +25,7 @@ generate_messages( catkin_package( INCLUDE_DIRS include LIBRARIES virtual_cam_image_loader - CATKIN_DEPENDS message_runtime std_msgs + CATKIN_DEPENDS message_runtime ) ########### diff --git a/package.xml b/package.xml index 1068f2a..c1b8f3d 100644 --- a/package.xml +++ b/package.xml @@ -1,5 +1,8 @@ - + + virtual_cam 0.0.0 The virtual_cam package @@ -9,7 +12,7 @@ TODO catkin - + cv_bridge image_geometry message_filters @@ -17,7 +20,6 @@ rosbag roscpp sensor_msgs - std_msgs stereo_msgs tf yaml-cpp