代码拉取完成,页面将自动刷新
cmake_minimum_required(VERSION 2.8.3)
project(points_preprocessor_usi)
find_package(catkin REQUIRED COMPONENTS
roscpp
std_msgs
pcl_ros
pcl_conversions
velodyne_pointcloud
)
catkin_package(CATKIN_DEPENDS
sensor_msgs
velodyne_pointcloud
)
###########
## Build ##
###########
include_directories(
${catkin_INCLUDE_DIRS}
)
find_package(Eigen3 REQUIRED)
#SET(CMAKE_CXX_FLAGS "-std=c++11 -O2 -g -Wall ${CMAKE_CXX_FLAGS}")
SET(CMAKE_CXX_FLAGS "-std=c++11 -O2 -g -Wall ${CMAKE_CXX_FLAGS}")
link_directories(${PCL_LIBRARY_DIRS})
#Ground Plane Fitter
find_package(PCL 1.8 REQUIRED)
add_definitions(${PCL_DEFINITIONS})
add_executable(groundplanfit
nodes/ground_filter/groundplanfit.cpp
)
target_include_directories(groundplanfit PRIVATE
${PCL_INCLUDE_DIRS}
)
target_link_libraries(groundplanfit
${catkin_LIBRARIES}
${PCL_LIBRARIES}
)
#Scan Line Run
add_executable(scanlinerun
nodes/clustering/scanlinerun.cpp
)
target_include_directories(scanlinerun PRIVATE
${PCL_INCLUDE_DIRS}
)
target_link_libraries(scanlinerun
${catkin_LIBRARIES}
${PCL_LIBRARIES}
)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。