1 Star 0 Fork 7

caimeng1/lidar2cam_calibration

forked from lin/lidar2cam_calibration 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
CMakeLists.txt 1.60 KB
一键复制 编辑 原始数据 按行查看 历史
lin 提交于 2023-03-06 15:05 . update code
cmake_minimum_required(VERSION 3.0)
project(lidar2cam_calibration)
add_definitions(-w)
find_package(catkin REQUIRED COMPONENTS
cv_bridge
dynamic_reconfigure
message_filters
pcl_conversions
pcl_ros
roscpp
rospy
sensor_msgs
)
generate_dynamic_reconfigure_options(
cfg/filter.cfg
)
# set(OpenCV_DIR /usr/lib/x86_64-linux-gnu/cmake/opencv4)
# set(PCL_DIR /usr/lib/x86_64-linux-gnu/cmake/pcl)
find_package(OpenCV REQUIRED)
find_package(PCL REQUIRED)
find_package(Ceres REQUIRED)
include_directories("/usr/local/include/eigen3/")
include_directories(${PROJECT_SOURCE_DIR}/include
${catkin_INCLUDE_DIRS}
${PCL_INCLUDE_DIRS}
${CERES_INCLUDE_DIRS}
${OpenCV_INCLUDE_DIRS}
)
# find_package(Sophus REQUIRED)
#$include_directories {Sophus_INCLUDE_DIRS}
catkin_package()
file(GLOB_RECURSE CPP_FILE ${PROJECT_SOURCE_DIR}/src/*.cpp)
add_executable(create_aruco_node src/create_aruco_node.cc src/create_aruco.cc)
target_link_libraries(create_aruco_node ${catkin_LIBRARIES} ${OpenCV_LIBRARIES})
add_executable(data_frame_extraction_node ${CPP_FILE})
target_link_libraries(data_frame_extraction_node ${catkin_LIBRARIES} ${OpenCV_LIBRARIES} ${PCL_LIBRARIES})
# add_executable(image_procession_node src/image_procession_node.cc src/image_procession.cc)
# target_link_libraries(image_procession_node ${catkin_LIBRARIES} ${OpenCV_LIBRARIES})
add_executable(estimation_tf_node src/estimation_tf_node.cc src/estimation_tf.cc)
target_link_libraries(estimation_tf_node ${catkin_LIBRARIES} ${OpenCV_LIBRARIES} ${CERES_LIBRARIES})
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/caimeng1234567/lidar2cam_calibration.git
git@gitee.com:caimeng1234567/lidar2cam_calibration.git
caimeng1234567
lidar2cam_calibration
lidar2cam_calibration
master

搜索帮助