rsasaki0109 / li_slam_ros2

ROS 2 package of tightly-coupled lidar inertial ndt/gicp slam
BSD 2-Clause "Simplified" License
316 stars 42 forks source link

Missing pcl_conversions in scanmatcher package #37

Open jyl087 opened 1 month ago

jyl087 commented 1 month ago

Hello, I was getting an error stating that pcl_conversions.h could not be found, even though there was no trouble finding in in the other packages of this same module (e.g. graph_based_slam).

I fixed the problem by editing scanmatcher/CMakeLists.txt. Add "pcl_conversions" to the ament_target_dependencies(imu_preintegration ...) and also ament_target_dependencies(image_projection ...).

reinzler commented 2 weeks ago

Hello, I was getting an error stating that pcl_conversions.h could not be found, even though there was no trouble finding in in the other packages of this same module (e.g. graph_based_slam).

I fixed the problem by editing scanmatcher/CMakeLists.txt. Add "pcl_conversions" to the ament_target_dependencies(imu_preintegration ...) and also ament_target_dependencies(image_projection ...).

Thanks mate, helped me too.