forked from b-it-bots/mas_perception_msgs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
117 lines (104 loc) · 2.03 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
cmake_minimum_required(VERSION 2.8.3)
project(mas_perception_msgs)
find_package(catkin REQUIRED
COMPONENTS
genmsg
actionlib_msgs
actionlib
geometry_msgs
message_generation
roscpp
rospy
sensor_msgs
std_msgs
visualization_msgs
)
add_action_files(DIRECTORY action
FILES
DetectScene.action
)
add_message_files(
FILES
BoundingBox.msg
BoundingBoxList.msg
BoundingBox2D.msg
Cavity.msg
Face.msg
FaceList.msg
ImageList.msg
LaserScanSegment.msg
LaserScanSegmentList.msg
MatchingErrorStamped.msg
Object.msg
ObjectList.msg
Person.msg
PersonList.msg
Plane.msg
PlaneList.msg
PlanarPolygon.msg
PointCloud2List.msg
Blob.msg
BlobList.msg
)
add_service_files(
FILES
AccumulateTabletopCloud.srv
AnalyzeCloudColor.srv
BaseScanLinearRegression.srv
ClusterTabletopCloud.srv
FindWorkspace.srv
GetPersonList.srv
GetObjectList.srv
GetFaceName.srv
GetFacialExpression.srv
GetNearestObject.srv
GetSegmentedImage.srv
IsPersonInFront.srv
MakeBoundingBoxes.srv
PublishGoal.srv
RecognizeImage.srv
RecognizeObject.srv
SetFaceName.srv
)
generate_messages(
DEPENDENCIES
geometry_msgs
sensor_msgs
std_msgs
actionlib_msgs
)
catkin_package(
CATKIN_DEPENDS
geometry_msgs
message_runtime
sensor_msgs
std_msgs
)
include_directories(
${catkin_INCLUDE_DIRS}
)
### EXECUTABLES ###
add_executable(object_msg_visualizer_node
ros/src/object_msg_visualizer_node.cpp
)
add_dependencies(object_msg_visualizer_node
${catkin_EXPORTED_TARGETS}
${PROJECT_NAME}_gencpp
)
target_link_libraries(object_msg_visualizer_node
${catkin_LIBRARIES}
)
### TESTS
if(CATKIN_ENABLE_TESTING)
find_package(roslaunch REQUIRED)
roslaunch_add_file_check(ros/launch)
endif()
### INSTALLS
install(
TARGETS
object_msg_visualizer_node
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
install(DIRECTORY ros/launch
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/ros/launch
)