cmake_minimum_required(VERSION 2.8.3)
project(obstacle_measurement)
set(CMAKE_BUILD_TYPE Debug)
find_package(catkin REQUIRED
COMPONENTS
roscpp
message_filters
sensor_msgs
cv_bridge
image_transport
)
find_package(OpenCV 3 REQUIRED)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
catkin_package(
CATKIN_DEPENDS
roscpp
message_filters
sensor_msgs
cv_bridge
image_transport
)
include_directories(
${OpenCV_INCLUDE_DIRS}
${catkin_INCLUDE_DIRS}
)
add_executable(obstacle_measurement src/obstacle_measurement.cpp)
target_link_libraries(obstacle_measurement
${OpenCV_LIBRARIES}
${catkin_LIBRARIES}
)
add_executable(trash_measurement src/trash_measurement.cpp)
target_link_libraries(trash_measurement
${OpenCV_LIBRARIES}
${catkin_LIBRARIES}
)
add_executable(chair_measurement src/chair_measurement.cpp)
target_link_libraries(chair_measurement
${OpenCV_LIBRARIES}
${catkin_LIBRARIES}
)
add_executable(vision_laser src/vision_laser.cpp)
target_link_libraries(vision_laser
${OpenCV_LIBRARIES}
${catkin_LIBRARIES}
)
add_executable(door src/door_measurement.cpp)
target_link_libraries(door
${OpenCV_LIBRARIES}
${catkin_LIBRARIES}
)
葡萄籽儿
- 粉丝: 567
- 资源: 1184
最新资源
- 超好的Python学习教程简单易懂100%好用.zip
- 烟雾火焰检测62-YOLO(v5至v8)、COCO、CreateML、Darknet、Paligemma、TFRecord、VOC数据集合集.rar
- 用于在 Fastify 之间共享通用 Redis 连接的插件 .zip
- K230字谜游戏代码分享
- 用于 Redis 的 Electron,React GUI.zip
- eeeggggeeeeeee
- CodeBlocks13585-2024年11月最新编译版本
- 用于 JavaScript 的高性能 Redis 协议 (RESP) 解析器 由 Node Redis 和 ioredis 使用 .zip
- 用于 Caddy TLS 数据的 Redis 存储.zip
- 烟雾火焰检测49-YOLO(v5至v9)、COCO、CreateML、Darknet、Paligemma、TFRecord、VOC数据集合集.rar
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈