-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCMakeLists.txt
60 lines (52 loc) · 1.8 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
cmake_minimum_required(VERSION 3.0.2)
project(ur5_simple_pick_and_place)
find_package(catkin REQUIRED
COMPONENTS
interactive_markers
moveit_core
moveit_ros_planning
moveit_ros_planning_interface
moveit_ros_perception
rviz_visual_tools
moveit_visual_tools
pluginlib
geometric_shapes
pcl_ros
pcl_conversions
rosbag
tf2_ros
tf2_eigen
tf2_geometry_msgs
actionlib_msgs
control_msgs
)
find_package(Eigen3 REQUIRED)
find_package(Boost REQUIRED system filesystem date_time thread)
generate_messages(
DEPENDENCIES actionlib_msgs std_msgs trajectory_msgs control_msgs # Or other packages containing msgs
)
catkin_package(
LIBRARIES
INCLUDE_DIRS
CATKIN_DEPENDS
moveit_core
moveit_visual_tools
moveit_ros_planning_interface
interactive_markers
tf2_geometry_msgs
actionlib_msgs
control_msgs
DEPENDS
EIGEN3
)
include_directories(SYSTEM ${catkin_INCLUDE_DIRS} ${Boost_INCLUDE_DIR} ${EIGEN3_INCLUDE_DIRS})
add_executable(pick_and_place src/pick_and_place.cpp)
target_link_libraries(pick_and_place ${catkin_LIBRARIES} ${Boost_LIBRARIES})
add_executable(pick_and_place_collision src/pick_and_place_collision.cpp)
target_link_libraries(pick_and_place_collision ${catkin_LIBRARIES} ${Boost_LIBRARIES})
add_executable(pick_and_place_collision_depth_camera src/pick_and_place_collision_depth_camera.cpp)
target_link_libraries(pick_and_place_collision_depth_camera ${catkin_LIBRARIES} ${Boost_LIBRARIES})
#install(TARGETS pick_and_place DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
#install(TARGETS pick_and_place_collision DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
#install(TARGETS pick_and_place_collision_depth_camera DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
#install(DIRECTORY launch DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})