From 83ad5ebd183bffe9d163269c422346fe3d80a2f5 Mon Sep 17 00:00:00 2001 From: Michael Ferguson Date: Fri, 8 Nov 2024 16:59:27 -0500 Subject: [PATCH] include tf2_geometry_msgs earlier to avoid missing symbols (backport #182) (#183) --- .../include/robot_calibration/finders/feature_finder.hpp | 2 ++ robot_calibration/src/finders/plane_finder.cpp | 1 - robot_calibration/src/finders/robot_finder.cpp | 1 - robot_calibration/src/finders/scan_finder.cpp | 1 - 4 files changed, 2 insertions(+), 3 deletions(-) diff --git a/robot_calibration/include/robot_calibration/finders/feature_finder.hpp b/robot_calibration/include/robot_calibration/finders/feature_finder.hpp index 3fdf35e4..6af2ccc5 100644 --- a/robot_calibration/include/robot_calibration/finders/feature_finder.hpp +++ b/robot_calibration/include/robot_calibration/finders/feature_finder.hpp @@ -23,6 +23,8 @@ #include #include +// Including this before buffer.h as a workaround for missing symbols +#include #include namespace robot_calibration diff --git a/robot_calibration/src/finders/plane_finder.cpp b/robot_calibration/src/finders/plane_finder.cpp index 7c32d330..9fc0685a 100644 --- a/robot_calibration/src/finders/plane_finder.cpp +++ b/robot_calibration/src/finders/plane_finder.cpp @@ -24,7 +24,6 @@ #include #include #include -#include static const rclcpp::Logger LOGGER = rclcpp::get_logger("plane_finder"); diff --git a/robot_calibration/src/finders/robot_finder.cpp b/robot_calibration/src/finders/robot_finder.cpp index 2a9709d1..473c05e9 100644 --- a/robot_calibration/src/finders/robot_finder.cpp +++ b/robot_calibration/src/finders/robot_finder.cpp @@ -21,7 +21,6 @@ #include #include #include -#include static const rclcpp::Logger LOGGER = rclcpp::get_logger("robot_finder"); diff --git a/robot_calibration/src/finders/scan_finder.cpp b/robot_calibration/src/finders/scan_finder.cpp index bc7ab3b1..5a0b86ff 100644 --- a/robot_calibration/src/finders/scan_finder.cpp +++ b/robot_calibration/src/finders/scan_finder.cpp @@ -21,7 +21,6 @@ #include #include #include -#include static const rclcpp::Logger LOGGER = rclcpp::get_logger("scan_finder");