-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
67 lines (56 loc) · 1.29 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
cmake_minimum_required(VERSION 2.8.3)
project(stewart_end_effector)
add_compile_options(-std=c++14)
# Find required catkin packages
find_package(catkin REQUIRED COMPONENTS
message_generation
rospy
roscpp
sensor_msgs
std_msgs
geometry_msgs
# point_cloud_proc
rviz_visual_tools
tf2_eigen
)
# Declare ROS message files
add_message_files(
FILES
CoordinateData.msg
TOFSensorValues.msg
)
# Declare ROS service files
add_service_files(
FILES
ComputeMotorAngles.srv
StewartControl.srv
Light.srv
PlayPen.srv
)
# Find Eigen package
#find_package(Eigen3 REQUIRED)
# Generate added messages and services
generate_messages(
DEPENDENCIES
std_msgs
geometry_msgs
)
# Define catkin package details
catkin_package(
CATKIN_DEPENDS rospy message_runtime
)
# Include catkin directories
include_directories(
${catkin_INCLUDE_DIRS}
#${EIGEN3_INCLUDE_DIRS}
)
# Define executables
# add_executable(object_cluster_server src/object_cluster_server.cpp)
# target_link_libraries(object_cluster_server ${catkin_LIBRARIES})
add_executable(eyeball_align src/eyeball_align.cpp)
target_link_libraries(eyeball_align ${catkin_LIBRARIES})
# Install Python scripts
install(DIRECTORY src/stewart_end_effector/
DESTINATION ${CATKIN_PACKAGE_PYTHON_DESTINATION}
FILES_MATCHING PATTERN "*.py"
)