mirror of
https://gitlab.com/obbart/universal_robots_ros_driver.git
synced 2026-04-10 10:00:48 +02:00
WIP: Added calibration_from_file executable
This commit is contained in:
@@ -15,7 +15,7 @@ find_package(Eigen3 REQUIRED)
|
||||
find_package(yaml-cpp REQUIRED)
|
||||
|
||||
## System dependencies are found with CMake's conventions
|
||||
# find_package(Boost REQUIRED COMPONENTS system)
|
||||
find_package(Boost REQUIRED)
|
||||
|
||||
|
||||
## Uncomment this if the package has a setup.py. This macro ensures
|
||||
@@ -110,6 +110,7 @@ catkin_package(
|
||||
roscpp
|
||||
ur_rtde_driver
|
||||
DEPENDS
|
||||
boost
|
||||
yaml-cpp
|
||||
)
|
||||
|
||||
@@ -123,6 +124,7 @@ include_directories(
|
||||
include
|
||||
${catkin_INCLUDE_DIRS}
|
||||
${EIGEN3_INCLUDE_DIRS}
|
||||
${Boost_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
add_executable(calibration_correction
|
||||
@@ -139,6 +141,19 @@ target_link_libraries(calibration_correction
|
||||
yaml-cpp
|
||||
)
|
||||
|
||||
add_executable(calibration_from_file
|
||||
src/calibration.cpp
|
||||
src/calibration_from_file.cpp
|
||||
)
|
||||
|
||||
add_dependencies(calibration_from_file ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
|
||||
|
||||
## Specify libraries to link a library or executable target against
|
||||
target_link_libraries(calibration_from_file
|
||||
${catkin_LIBRARIES}
|
||||
yaml-cpp
|
||||
)
|
||||
|
||||
#############
|
||||
## Install ##
|
||||
#############
|
||||
|
||||
Reference in New Issue
Block a user