-
Notifications
You must be signed in to change notification settings - Fork 6
/
CMakeLists.txt
65 lines (49 loc) · 1.34 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
cmake_minimum_required(VERSION 2.8.3)
project(axis_camera)
if (POLICY CMP0048)
cmake_policy(SET CMP0048 NEW)
endif (POLICY CMP0048)
find_package(catkin REQUIRED COMPONENTS
message_generation
std_msgs
sensor_msgs camera_info_manager_py
geometry_msgs
rospy
tf
robotnik_msgs
diagnostic_msgs
diagnostic_updater
std_srvs
compressed_depth_image_transport
compressed_image_transport
theora_image_transport)
catkin_python_setup()
add_message_files(DIRECTORY msg
FILES
Axis.msg
ptz.msg
inputs_outputs.msg
)
add_service_files(DIRECTORY srv
FILES
set_ptz.srv
set_digital_output.srv
)
generate_messages(DEPENDENCIES sensor_msgs geometry_msgs std_msgs robotnik_msgs axis_camera)
catkin_package(
CATKIN_DEPENDS
robotnik_msgs
message_runtime
)
catkin_install_python(PROGRAMS src/axis_camera/__init__.py
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
catkin_install_python(PROGRAMS src/axis_camera/axis_ptz_node.py
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
catkin_install_python(PROGRAMS src/axis_camera/axis_stream_node.py
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
catkin_install_python(PROGRAMS src/axis_camera/axis_node.py
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
install(
DIRECTORY launch config data
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)