From 35aba817ea34d329ee5ade8501ec293796c6a4ad Mon Sep 17 00:00:00 2001 From: Felipe Gomes de Melo Date: Mon, 20 Nov 2023 14:40:03 -0300 Subject: [PATCH 1/3] Fix tf2_eigen not found compilation error --- pcl_recorder/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcl_recorder/CMakeLists.txt b/pcl_recorder/CMakeLists.txt index 546f863c..d6e19d29 100644 --- a/pcl_recorder/CMakeLists.txt +++ b/pcl_recorder/CMakeLists.txt @@ -66,7 +66,7 @@ elseif(${ROS_VERSION} EQUAL 2) add_executable(${PROJECT_NAME}_node src/PclRecorderROS2.cpp src/mainROS2.cpp) ament_target_dependencies(${PROJECT_NAME}_node rclcpp sensor_msgs - pcl_conversions tf2 tf2_ros) + pcl_conversions tf2 tf2_ros tf2_eigen) target_link_libraries(${PROJECT_NAME}_node ${Boost_SYSTEM_LIBRARY} ${PCL_LIBRARIES}) From adea2e096011606465aa01a4023671d02edd6824 Mon Sep 17 00:00:00 2001 From: Felipe Gomes de Melo Date: Mon, 20 Nov 2023 21:50:12 -0300 Subject: [PATCH 2/3] Format CMakeLists.txt --- pcl_recorder/CMakeLists.txt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pcl_recorder/CMakeLists.txt b/pcl_recorder/CMakeLists.txt index d6e19d29..084be072 100644 --- a/pcl_recorder/CMakeLists.txt +++ b/pcl_recorder/CMakeLists.txt @@ -65,8 +65,14 @@ elseif(${ROS_VERSION} EQUAL 2) add_executable(${PROJECT_NAME}_node src/PclRecorderROS2.cpp src/mainROS2.cpp) - ament_target_dependencies(${PROJECT_NAME}_node rclcpp sensor_msgs - pcl_conversions tf2 tf2_ros tf2_eigen) + ament_target_dependencies( + ${PROJECT_NAME}_node + rclcpp + sensor_msgs + pcl_conversions + tf2 + tf2_ros + tf2_eigen) target_link_libraries(${PROJECT_NAME}_node ${Boost_SYSTEM_LIBRARY} ${PCL_LIBRARIES}) From 00bbb298955ed3e6d1949ac24dcef83937403d41 Mon Sep 17 00:00:00 2001 From: Felipe Gomes de Melo Date: Mon, 20 Nov 2023 21:50:51 -0300 Subject: [PATCH 3/3] Apply fix for GPG key expired error for CI run More info at https://github.com/osrf/docker_images/issues/697#issuecomment-1819626877 --- install_dependencies.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install_dependencies.sh b/install_dependencies.sh index e96914b7..369f9505 100755 --- a/install_dependencies.sh +++ b/install_dependencies.sh @@ -23,6 +23,10 @@ fi echo ADDITIONAL PACKAGES $ADDITIONAL_PACKAGES +# Apply fix for GPG key expired error +# Link: https://github.com/osrf/docker_images/issues/697#issuecomment-1819626877 +apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 4B63CF8FDE49746E98FA01DDAD19BAB3CBF125EA + sudo apt update sudo apt-get install --no-install-recommends -y \ python$PYTHON_SUFFIX-pip \