代码拉取完成,页面将自动刷新
cmake_minimum_required(VERSION 2.8.3)
project(ndt_localizer)
set(CMAKE_CXX_STANDARD 14)
find_package(catkin REQUIRED COMPONENTS
roscpp
tf2
tf2_ros
tf2_geometry_msgs
std_msgs
geometry_msgs
sensor_msgs
nav_msgs
diagnostic_msgs
pcl_conversions
pcl_ros
message_generation
)
generate_messages(
DEPENDENCIES
std_msgs
)
find_package(PCL REQUIRED QUIET)
catkin_package(
INCLUDE_DIRS include
CATKIN_DEPENDS
roscpp
tf2
tf2_ros
tf2_geometry_msgs
geometry_msgs
sensor_msgs
nav_msgs
diagnostic_msgs
pcl_conversions
pcl_ros
message_generation
)
include_directories(include ${catkin_INCLUDE_DIRS})
###########
## Build ##
###########
include_directories(include ${catkin_INCLUDE_DIRS})
SET(CMAKE_CXX_FLAGS "-O2 -g -Wall ${CMAKE_CXX_FLAGS}")
add_executable(voxel_grid_filter nodes/voxel_grid_filter.cpp)
add_dependencies(voxel_grid_filter ${catkin_EXPORTED_TARGETS})
target_link_libraries(voxel_grid_filter ${catkin_LIBRARIES})
add_executable(map_loader nodes/mapLoader.cpp)
target_link_libraries(map_loader ${catkin_LIBRARIES} ${PCL_LIBRARIES})
add_executable(ndt_localizer_node nodes/ndt.cpp)
target_link_libraries(ndt_localizer_node ${catkin_LIBRARIES} ${PCL_LIBRARIES})
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。