test2
This commit is contained in:
parent
71a761d1c0
commit
7255eff715
|
|
@ -16,6 +16,7 @@ find_package(catkin REQUIRED COMPONENTS
|
||||||
|
|
||||||
## System dependencies are found with CMake's conventions
|
## System dependencies are found with CMake's conventions
|
||||||
find_package(OpenCV REQUIRED)
|
find_package(OpenCV REQUIRED)
|
||||||
|
find_package(yaml-cpp REQUIRED)
|
||||||
|
|
||||||
###################################
|
###################################
|
||||||
## catkin specific configuration ##
|
## catkin specific configuration ##
|
||||||
|
|
@ -38,6 +39,8 @@ include_directories(
|
||||||
add_executable(qr_code_detector src/QRcode.cpp)
|
add_executable(qr_code_detector src/QRcode.cpp)
|
||||||
add_executable(calibrationWebcam src/calibrationWebcam.cpp)
|
add_executable(calibrationWebcam src/calibrationWebcam.cpp)
|
||||||
add_executable(arenaCalibration src/arenaCalibration.cpp)
|
add_executable(arenaCalibration src/arenaCalibration.cpp)
|
||||||
|
add_executable(aruco_detector src/QRcode.cpp)
|
||||||
|
add_executable(arena_calibration src/arenaCalibration.cpp)
|
||||||
|
|
||||||
## Add cmake target dependencies of the executable
|
## Add cmake target dependencies of the executable
|
||||||
add_dependencies(qr_code_detector ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
|
add_dependencies(qr_code_detector ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
|
||||||
|
|
@ -56,6 +59,16 @@ target_link_libraries(arenaCalibration
|
||||||
${catkin_LIBRARIES}
|
${catkin_LIBRARIES}
|
||||||
${OpenCV_LIBRARIES}
|
${OpenCV_LIBRARIES}
|
||||||
)
|
)
|
||||||
|
target_link_libraries(aruco_detector
|
||||||
|
${catkin_LIBRARIES}
|
||||||
|
${OpenCV_LIBRARIES}
|
||||||
|
yaml-cpp
|
||||||
|
)
|
||||||
|
target_link_libraries(arena_calibration
|
||||||
|
${catkin_LIBRARIES}
|
||||||
|
${OpenCV_LIBRARIES}
|
||||||
|
yaml-cpp
|
||||||
|
)
|
||||||
|
|
||||||
#############
|
#############
|
||||||
## Install ##
|
## Install ##
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
#include <yaml-cpp/yaml.h>
|
#include <yaml-cpp/yaml.h>
|
||||||
|
#include <fstream>
|
||||||
|
|
||||||
cv::Mat cameraMatrix, distCoeffs;
|
cv::Mat cameraMatrix, distCoeffs;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue