/
CMakeLists.txt
135 lines (131 loc) · 3.59 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
cmake_minimum_required(VERSION 2.8.3)
project(jsk_recognition_msgs)
find_package(catkin REQUIRED
std_msgs sensor_msgs geometry_msgs message_generation pcl_msgs jsk_footstep_msgs)
add_message_files(
FILES
Accuracy.msg
BoundingBoxArray.msg
BoundingBoxMovement.msg
BoundingBox.msg
BoundingBoxArrayWithCameraInfo.msg
Circle2DArray.msg
Circle2D.msg
ClassificationResult.msg
ClusterPointIndices.msg
ColorHistogramArray.msg
ColorHistogram.msg
DepthCalibrationParameter.msg
DepthErrorResult.msg
HeightmapConfig.msg
Histogram.msg
HistogramWithRangeBin.msg
HistogramWithRange.msg
HistogramWithRangeArray.msg
HumanSkeleton.msg
HumanSkeletonArray.msg
ICPResult.msg
ImageDifferenceValue.msg
Int32Stamped.msg
Label.msg
LabelArray.msg
LineArray.msg
Line.msg
ModelCoefficientsArray.msg
Object.msg
ObjectArray.msg
PanoramaInfo.msg # added on jsk_recognition_msgs until https://github.com/ros/common_msgs/pull/171 merged
ParallelEdgeArray.msg
ParallelEdge.msg
PlotData.msg
PointsArray.msg
PolygonArray.msg
PosedCameraInfo.msg
RectArray.msg
Rect.msg
RotatedRect.msg
RotatedRectStamped.msg
SimpleHandle.msg
SimpleOccupancyGridArray.msg
SimpleOccupancyGrid.msg
SlicedPointCloud.msg
SnapItRequest.msg
SparseImage.msg
SparseOccupancyGridArray.msg
SparseOccupancyGridCell.msg
SparseOccupancyGridColumn.msg
SparseOccupancyGrid.msg
Spectrum.msg
TimeRange.msg
TorusArray.msg
Torus.msg
TrackerStatus.msg
TrackingStatus.msg
BoolStamped.msg
VectorArray.msg
WeightedPoseArray.msg
ContactSensor.msg
ContactSensorArray.msg
PlotDataArray.msg
Segment.msg
SegmentStamped.msg
SegmentArray.msg
PeoplePose.msg
PeoplePoseArray.msg
)
# TODO(wkentaro): Most of srv files are duplicated in jsk_pcl_ros,
# and jsk_perception, so those in the packages should be removed.
add_service_files(FILES
CallPolygon.srv
CallSnapIt.srv
CheckCircle.srv
CheckCollision.srv
EnvironmentLock.srv
EuclideanSegment.srv
ICPAlign.srv
ICPAlignWithBox.srv
NonMaximumSuppression.srv
PolygonOnEnvironment.srv
RobotPickupReleasePoint.srv
SaveMesh.srv
SetDepthCalibrationParameter.srv
SetLabels.srv
SetPointCloud2.srv
SetTemplate.srv
SnapFootstep.srv
SwitchTopic.srv
TowerPickUp.srv
TowerRobotMoveCommand.srv
TransformScreenpoint.srv
UpdateOffset.srv
WhiteBalancePoints.srv
WhiteBalance.srv
)
generate_messages(
DEPENDENCIES
std_msgs sensor_msgs geometry_msgs pcl_msgs jsk_footstep_msgs
)
catkin_package(
CATKIN_DEPENDS std_msgs sensor_msgs geometry_msgs pcl_msgs jsk_footstep_msgs
)
# From https://github.com/jsk-ros-pkg/jsk_recognition/pull/2345
# Install header files directly into ${CATKIN_PACKAGE_INCLUDE_DESTINATION}.
# If the package has setup.py and modules under src/${PROJECT_NAME}/,
# install python executables directly into ${CATKIN_PACKAGE_BIN_DESTINATION}.
# However, if it doesn't have setup.py, directories including python executables
# should be installed recursively into ${CATKIN_PACKAGE_SHARE_DESTINATION}.
# Also, other directories like 'launch' or 'sample' must be installed
# recursively into ${CATKIN_PACKAGE_SHARE_DESTINATION}.
# Be careful that 'launch' and 'launch/' are different: the former is directory
# and the latter is each content.
install(DIRECTORY sample scripts
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
USE_SOURCE_PERMISSIONS
)
if (CATKIN_ENABLE_TESTING)
find_package(rostest REQUIRED)
add_rostest(test/object_array_publisher.test)
add_rostest(test/people_pose_array_to_pose_array.test)
add_rostest(test/plot_data_to_csv.test)
add_rostest(test/save_mesh_server.test)
endif()