-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
96 lines (79 loc) · 1.76 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
cmake_minimum_required(VERSION 3.0.2)
project(asar_hybrid_tmp)
## Compile as C++11, supported in ROS Kinetic and newer
add_compile_options(-std=c++17)
find_package(catkin REQUIRED
std_msgs
roscpp
actionlib_msgs
actionlib
# need asar_control package!
asar_control
)
## System dependencies are found with CMake's conventions
find_package(Boost 1.58 QUIET REQUIRED COMPONENTS serialization filesystem system program_options)
find_package(pinocchio REQUIRED)
## Generate messages in the 'msg' folder
add_message_files(
FILES
BenchmarkData.msg
ArmSuturePointId.msg
PddlAction.msg
GraspTrajectory.msg
)
## Generate services in the 'srv' folder
add_service_files(
FILES
isPoseReachable.srv
getPath.srv
collisionCheck.srv
isHolding.srv
getGraspSamples.srv
getObjectPose.srv
SuturePoints.srv
SuturePath.srv
isSutureIKFeasible.srv
PddlMotions.srv
PlanWithPddl.srv
checkIfPartnerCanGrasp.srv
AddNoise.srv
)
## Generate actions in the 'action' folder
add_action_files(
FILES
getTraj.action
Grasp.action
PathFollower.action
)
## Generate added messages and services with any dependencies listed here
generate_messages(
DEPENDENCIES
actionlib_msgs
std_msgs
geometry_msgs
)
catkin_package(
INCLUDE_DIRS
LIBRARIES
CATKIN_DEPENDS actionlib_msgs
)
include_directories(
include
/usr/include/eigen3
${catkin_INCLUDE_DIRS}
${pinocchio_INCLUDE_DIRS}
)
add_executable(asar_ompl_grasp_server
src/asar_ompl_grasp_server.cpp
)
target_link_libraries(asar_ompl_grasp_server
${catkin_LIBRARIES}
pinocchio::pinocchio
)
catkin_install_python(PROGRAMS
scripts/collision_checker.py
scripts/ompl_planner.py
scripts/suture_points_handler.py
scripts/suture_benchmark.py
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)