-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCMakeLists.txt
61 lines (51 loc) · 1.21 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
cmake_minimum_required(VERSION 3.0.2)
project(uml_hri_nerve_pick_and_place)
add_compile_options(-std=c++11)
find_package(Eigen3 REQUIRED)
if(NOT EIGEN3_INCLUDE_DIRS)
set(EIGEN3_INCLUDE_DIRS ${EIGEN3_INCLUDE_DIR})
endif()
find_package(catkin REQUIRED COMPONENTS
interactive_markers
geometry_msgs
moveit_core
moveit_visual_tools
moveit_ros_planning
moveit_ros_planning_interface
pluginlib
geometric_shapes
pcl_conversions
pcl_ros
roscpp
rospy
sensor_msgs
std_msgs
tf
rosbag
tf2_ros
tf2_eigen
tf2_geometry_msgs
gpd_ros
control_msgs
)
catkin_package(
)
include_directories(include
${catkin_INCLUDE_DIRS}
)
add_executable(gpd_grasping_node
src/nodes/gpd_grasping_node.cpp
src/functions/manipulation_class.cpp
src/functions/perception_class.cpp
src/functions/gpd.cpp
)
add_executable(pick_place_tests
src/nodes/perception_test.cpp
src/functions/perception_class.cpp
src/functions/manipulation_class.cpp
src/functions/gpd.cpp
)
target_link_libraries(gpd_grasping_node ${catkin_LIBRARIES})
target_link_libraries(pick_place_tests ${catkin_LIBRARIES})
add_dependencies(gpd_grasping_node ${catkin_EXPORTED_TARGETS})
add_dependencies(pick_place_tests ${catkin_EXPORTED_TARGETS})