forked from RobotnikAutomation/robotnik_msgs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
136 lines (127 loc) · 2.96 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
136
cmake_minimum_required(VERSION 2.8.3)
project(robotnik_msgs)
## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
find_package(catkin REQUIRED COMPONENTS actionlib_msgs std_msgs geometry_msgs message_generation)
#######################################
## Declare ROS messages and services ##
#######################################
## Generate messages in the 'msg' folder
add_message_files(DIRECTORY msg
FILES
encoders.msg
inputs_outputs.msg
ptz.msg
Data.msg
Interfaces.msg
Axis.msg
AlarmSensor.msg
Alarms.msg
MotorStatus.msg
MotorsStatus.msg
State.msg
ArmStatus.msg
BatteryStatus.msg
BatteryStatusStamped.msg
OdomCalibrationStatus.msg
OdomCalibrationStatusStamped.msg
OdomManualCalibrationStatus.msg
OdomManualCalibrationStatusStamped.msg
MotorHeadingOffset.msg
MotorsStatusDifferential.msg
InverterStatus.msg
RobotnikMotorsStatus.msg
ElevatorAction.msg
ElevatorStatus.msg
PantiltStatus.msg
PantiltStatusStamped.msg
Cartesian_Euler_pose.msg
alarmmonitor.msg
alarmsmonitor.msg
named_inputs_outputs.msg
named_input_output.msg
Register.msg
Registers.msg
StringArray.msg
LaserMode.msg
LaserStatus.msg
SafetyModuleStatus.msg
StringStamped.msg
SubState.msg
QueryAlarm.msg
BatteryDockingStatus.msg
BatteryDockingStatusStamped.msg
BoolArray.msg
MotorPID.msg
MotorCurrent.msg
Pose2DArray.msg
Pose2DStamped.msg
ReturnMessage.msg
PresenceSensor.msg
PresenceSensorArray.msg
WatchdogStatus.msg
WatchdogStatusArray.msg
MotorReferenceValue.msg
MotorReferenceValueArray.msg
)
## Generate services in the 'srv' folder
add_service_files(
DIRECTORY srv
FILES
get_digital_input.srv
set_analog_output.srv
set_mode.srv
set_ptz.srv
get_mode.srv
set_digital_output.srv
set_odometry.srv
set_height.srv
enable_disable.srv
home.srv
axis_record.srv
set_float_value.srv
SetMotorStatus.srv
SetElevator.srv
get_alarms.srv
ack_alarm.srv
set_modbus_register.srv
get_modbus_register.srv
GetBool.srv
set_CartesianEuler_pose.srv
set_named_digital_output.srv
SetLaserMode.srv
ResetFromSubState.srv
QueryAlarms.srv
SetNamedDigitalOutput.srv
InsertTask.srv
SetMotorPID.srv
SetMotorMode.srv
SetBuzzer.srv
SetEncoderTurns.srv
GetMotorsHeadingOffset.srv
GetPOI.srv
SetString.srv
SetInt16.srv
GetPTZ.srv
SetByte.srv
SetCurrent.srv
SetTransform.srv
)
add_action_files(
FILES
SetElevator.action
)
## Generate added messages and services with any dependencies listed here
generate_messages(
DEPENDENCIES
actionlib_msgs
std_msgs # Or other packages containing msgs
geometry_msgs
)
catkin_package(CATKIN_DEPENDS
actionlib_msgs
message_runtime
std_msgs
geometry_msgs
)