1 Star 0 Fork 0

nixnl/2DLIW-SLAM

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CMakeLists.txt 1011 Bytes
一键复制 编辑 原始数据 按行查看 历史
littleDang 提交于 2023-03-25 22:53 . declutter the code
cmake_minimum_required(VERSION 3.0.2)
project(lvio_2d)
add_compile_options(-std=c++17)
SET(CMAKE_BUILD_TYPE "Release")
# set(CMAKE_CXX_FLAGS_RELEASE "-O3 -g ")
add_definitions(-DNDEBUG)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
find_package(catkin REQUIRED COMPONENTS
cv_bridge
image_transport
roscpp
tf2_ros
)
find_package(OpenCV REQUIRED)
find_package(Ceres REQUIRED)
catkin_package(
)
include_directories(
/usr/include/eigen3
src
${catkin_INCLUDE_DIRS}
${OpenCV_INCLUDE_DIRS}
${CERES_INCLUDE_DIRS}
)
add_library(utilies src/utilies/common.cpp
src/utilies/params.cpp
src/utilies/visualization.cpp
)
add_library(trajectory src/trajectory/trajectory.cpp
src/trajectory/camera_manager.cpp
src/trajectory/laser_manager.cpp
src/trajectory/keyframe_manager.cpp
src/factor/solver.cpp
)
add_executable(${PROJECT_NAME}_node src/${PROJECT_NAME}_node.cpp
)
target_link_libraries(${PROJECT_NAME}_node
utilies
trajectory
${catkin_LIBRARIES}
${OpenCV_LIBRARIES}
${CERES_LIBRARIES}
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/nixnl/2DLIW-SLAM.git
git@gitee.com:nixnl/2DLIW-SLAM.git
nixnl
2DLIW-SLAM
2DLIW-SLAM
main

搜索帮助