代码拉取完成,页面将自动刷新
同步操作将从 Linfu Wei/simple-lio 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
cmake_minimum_required(VERSION 3.0.2)
project(simple_lio)
set(CMAKE_BUILD_TYPE "Release")
set( CMAKE_CXX_FLAGS "-std=c++17 -O3" )
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fexceptions")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread -fexceptions -Wno-unused-local-typedefs")
find_package(catkin REQUIRED COMPONENTS
geometry_msgs
nav_msgs
roscpp
rospy
sensor_msgs
std_msgs
tf
livox_ros_driver
)
find_package(PCL REQUIRED)
find_package(Eigen3 REQUIRED)
find_package(Ceres REQUIRED)
find_package(yaml-cpp REQUIRED)
add_subdirectory(3rd_party/spdlog)
include_directories(
include
${catkin_INCLUDE_DIRS}
${PCL_INCLUDE_DIRS}
${CERES_INCLUDE_DIRS}
# spdlog
${PROJECT_SOURCE_DIR}/third_party/spdlog/include
)
catkin_package(
# INCLUDE_DIRS include
# LIBRARIES simple_lio
# CATKIN_DEPENDS geometry_msgs nav_msgs roscpp rospy sensor_msgs std_msgs tf
# DEPENDS system_lib
)
add_executable(custom_msg_to_sensor_msg src/custom_msg_to_sensor_msg.cpp)
target_link_libraries(custom_msg_to_sensor_msg
${catkin_LIBRARIES}
${PCL_LIBRARIES}
${YAML_CPP_LIBRARIES}
)
add_executable(imu_process src/imu_process.cpp include/ikd-Tree/ikd_Tree.cpp)
target_link_libraries(imu_process
${catkin_LIBRARIES}
${PCL_LIBRARIES}
spdlog::spdlog
${YAML_CPP_LIBRARIES}
)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。