diff --git a/CMakeLists.txt b/CMakeLists.txt index 10026a7..68b51a9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,6 +25,7 @@ find_package(sensor_msgs REQUIRED) find_package(nav_msgs REQUIRED) find_package(tf2_ros REQUIRED) find_package(tf2_geometry_msgs REQUIRED) +find_package(tf2_sensor_msgs REQUIRED) find_package(tf2_eigen REQUIRED) find_package(pcl_conversions REQUIRED) find_package(PCL REQUIRED) @@ -37,6 +38,7 @@ ament_target_dependencies(pcl_localization_component rclcpp tf2_ros tf2_geometry_msgs + tf2_sensor_msgs tf2_eigen geometry_msgs sensor_msgs