Add boost include, missing in upcoming PCL versions (ros2) (#374)

* Remove name of nonexistent PCL component (core)
Probably, common is meant, which is also requested

* Add boost include, missing in upcoming PCL versions
Was removed in pcl/conversion.h here: 292593abd3
This commit is contained in:
Markus Vieth 2022-07-07 21:22:26 +02:00 committed by GitHub
parent bd7a060e98
commit 3eecd4e37b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,7 @@ endif()
## Find system dependencies ## Find system dependencies
find_package(Eigen3 REQUIRED) find_package(Eigen3 REQUIRED)
find_package(PCL REQUIRED QUIET COMPONENTS core common features filters io segmentation surface) find_package(PCL REQUIRED QUIET COMPONENTS common features filters io segmentation surface)
## Find ROS package dependencies ## Find ROS package dependencies
find_package(ament_cmake REQUIRED) find_package(ament_cmake REQUIRED)

View File

@ -57,6 +57,7 @@
#endif #endif
#include <pcl_conversions/pcl_conversions.h> #include <pcl_conversions/pcl_conversions.h>
#include <sensor_msgs/PointCloud2.h> #include <sensor_msgs/PointCloud2.h>
#include <boost/foreach.hpp> // for BOOST_FOREACH
#include <boost/mpl/size.hpp> #include <boost/mpl/size.hpp>
#include <boost/ref.hpp> #include <boost/ref.hpp>
#include <string> #include <string>