-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCMakeLists.txt
65 lines (54 loc) · 1.06 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
cmake_minimum_required(VERSION 2.8.3)
project(robot_grasp)
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
# find_package(Eigen REQUIRED)
find_package(OpenCV)
find_package(catkin REQUIRED COMPONENTS
dynamic_reconfigure
message_generation
roscpp
rospy
genmsg
roslint
std_msgs
sensor_msgs
cv_bridge
moveit_core
moveit_ros_planning
moveit_ros_planning_interface
)
add_message_files(
FILES
real_detected_obj.msg
real_detected_obj_array.msg
)
find_package(kinova_driver REQUIRED)
add_service_files(
FILES
calibration_transform.srv
real_kinova_pick.srv
)
generate_messages(
DEPENDENCIES
std_msgs
sensor_msgs
)
# generate_dynamic_reconfigure_options(
# config/Pcl.cfg
# cfg/DynReconf2.cfg
# )
catkin_package(
CATKIN_DEPENDS message_runtime
DEPENDS Eigen
)
# include_directories(include)
include_directories(
include
${catkin_INCLUDE_DIRS}
${Eigen_INCLUDE_DIRS}
)
link_directories(
lib
)
add_executable(transform src/transform.cpp)
target_link_libraries(transform ${catkin_LIBRARIES})