Skip to content

Commit 67b9557

Browse files
Update ros-kilted-ur-calibration.win.patch
1 parent 6ccc9ae commit 67b9557

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed
Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/CMakeLists.txt b/CMakeLists.txt
2-
index e95014a1..ec5e5bb4 100644
2+
index 1f6bd0d9..1e930275 100644
33
--- a/CMakeLists.txt
44
+++ b/CMakeLists.txt
55
@@ -5,7 +5,7 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
@@ -11,26 +11,27 @@ index e95014a1..ec5e5bb4 100644
1111

1212
if(NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE)
1313
message("${PROJECT_NAME}: You did not request a specific build type: selecting 'RelWithDebInfo'.")
14-
@@ -18,6 +18,7 @@ find_package(ur_robot_driver REQUIRED)
14+
@@ -20,6 +20,7 @@ find_package(tf2_ros REQUIRED)
1515

1616
find_package(Eigen3 REQUIRED)
1717
find_package(yaml_cpp_vendor REQUIRED)
1818
+find_package(yaml-cpp REQUIRED)
1919
find_package(ur_client_library REQUIRED)
2020

2121
###########
22-
@@ -33,9 +34,11 @@ target_include_directories(calibration
23-
include
24-
${EIGEN3_INCLUDE_DIRS}
25-
)
26-
-target_link_libraries(calibration
22+
@@ -37,10 +38,14 @@ target_include_directories(calibration
23+
target_link_libraries(calibration
24+
ur_client_library::urcl
25+
Eigen3::Eigen
2726
- yaml-cpp
28-
-)
27+
rclcpp::rclcpp
28+
ur_robot_driver::ur_robot_driver_log_handler
29+
)
2930
+if(TARGET yaml-cpp::yaml-cpp)
3031
+ target_link_libraries(calibration yaml-cpp::yaml-cpp)
3132
+else()
3233
+ target_link_libraries(calibration yaml-cpp)
3334
+endif()
34-
ament_target_dependencies(calibration
35-
rclcpp
36-
ur_robot_driver
35+
36+
add_executable(calibration_correction
37+
src/calibration_correction.cpp

0 commit comments

Comments
 (0)