PCL 라이브러리와 ROS 빠르게 써보기

CMakeLists.txt 수정

find_package(PCL REQUIRED)
include_directories(
  ${PCL_INCLUDE_DIRS}
)
add_executable(main src/main.cpp)
target_link_libraries(main
  ${PCL_LIBRARIES}
)


소스코드 안에서

#include <pcl/conversions.h>
#include <pcl/point_types.h>
#include <pcl_conversions/pcl_conversions.h>
#include <pcl/PCLPointCloud2.h>

Leave a comment