Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
include
omronsentech_camera
stheader.h
Go to the documentation of this file.
1
/******************************************************************************
2
* Software License Agreement (BSD License)
3
*
4
* Copyright (C) 2018, OMRON SENTECH. All rights reserved.
5
*
6
* Redistribution and use in source and binary forms, with or without
7
* modification, are permitted provided that the following conditions are met:
8
* * Redistributions of source code must retain the above copyright notice,
9
* this list of conditions and the following disclaimer.
10
* * Redistributions in binary form must reproduce the above copyright
11
* notice, this list of conditions and the following disclaimer in the
12
* documentation and/or other materials provided with the distribution.
13
* * Neither the names of OMRON SENTECH nor the names of its
14
* contributors may be used to endorse or promote products derived from
15
* this software without specific prior written permission.
16
*
17
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
18
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
21
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
22
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27
* POSSIBILITY OF SUCH DAMAGE.
28
*****************************************************************************/
29
37
#ifndef STCAMERA_STHEADER_H
38
#define STCAMERA_STHEADER_H
39
41
#define STCAMERA_QUEUE_SIZE 5
42
48
#define UNKNOWN_ERROR 29999
49
#define UNKNOWN_ERROR_STR "Unknown exception error"
50
52
#define GENICAM_ERROR 30000
53
#define GENICAM_ERROR_STR "GenICam error"
54
57
#define MODULE_ERROR 30001
58
#define MODULE_ERROR_STR "Invalid module name"
59
61
#define NODE_ERROR 30002
62
#define NODE_ERROR_STR "Invalid GenICam node"
63
65
#define EVENT_ALREADY_ON_ERROR 30003
66
#define EVENT_ALREADY_ON_ERROR_STR "Event already ON"
67
69
#define EVENT_ALREADY_OFF_ERROR 30004
70
#define EVENT_ALREADY_OFF_ERROR_STR "Event already OFF"
71
73
#define ACQ_ALREADY_ON_ERROR 30005
74
#define ACQ_ALREADY_ON_ERROR_STR "Image acquisition already ON"
75
77
#define ACQ_ALREADY_OFF_ERROR 30006
78
#define ACQ_ALREADY_OFF_ERROR_STR "Image acquisition already OFF"
79
81
#define CHUNK_NOT_SUPPORTED_ERROR 30007
82
#define CHUNK_NOT_SUPPORTED_ERROR_STR "Chunk not supported"
83
85
#define CHUNK_NAME_ERROR 30008
86
#define CHUNK_NAME_ERROR_STR "Chunk inaccessible"
87
89
#define TRIGGER_NOT_SUPPORTED_ERROR 30009
90
#define TRIGGER_NOT_SUPPORTED_ERROR_STR "Trigger not supported"
91
94
#define TRIGGER_NAME_ERROR 30010
95
#define TRIGGER_NAME_ERROR_STR "Trigger inaccessible"
96
98
#define EVENT_NOT_SUPPORTED_ERROR 30011
99
#define EVENT_NOT_SUPPORTED_ERROR_STR "Event not supported"
100
103
#define EVENT_NAME_ERROR 30012
104
#define EVENT_NAME_ERROR_STR "Event inaccessible"
105
115
#define STMSG_device_connection "device_connection"
116
118
#define STMSG_image "image_raw"
119
121
#define STMSG_chunk "chunk"
122
124
#define STMSG_event "event"
125
135
#define STSRV_G_device_list "get_device_list"
136
138
#define STSRV_G_error_code_info "get_error_code_info"
139
141
#define STSRV_G_module_list "get_module_list"
142
144
#define STSRV_G_sdk_info "get_sdk_info"
145
147
#define STSRV_G_gige_ip "get_gige_ip"
148
150
#define STSRV_S_gige_ip "set_gige_ip"
151
154
#define STSRV_R_node "read_node"
155
158
#define STSRV_R_node_bool "read_node_bool"
159
162
#define STSRV_R_node_enum "read_node_enum"
163
166
#define STSRV_R_node_int "read_node_int"
167
169
#define STSRV_R_node_float "read_node_float"
170
172
#define STSRV_R_node_string "read_node_string"
173
176
#define STSRV_W_node "write_node"
177
179
#define STSRV_W_node_bool "write_node_bool"
180
183
#define STSRV_W_node_enum_int "write_node_enum_int"
184
187
#define STSRV_W_node_enum_str "write_node_enum_str"
188
190
#define STSRV_W_node_int "write_node_int"
191
193
#define STSRV_W_node_float "write_node_float"
194
196
#define STSRV_W_node_string "write_node_string"
197
199
#define STSRV_W_node_command "execute_node"
200
203
#define STSRV_E_chunk "enable_chunk"
204
206
#define STSRV_E_trigger "enable_trigger"
207
209
#define STSRV_E_event_node "enable_event_node"
210
212
#define STSRV_E_image_acquisition "enable_image_acquisition"
213
215
#define STSRV_E_event_acquisition "enable_event_acquisition"
216
218
#define STSRV_G_image_acquisition_status "get_image_acquisition_status"
219
221
#define STSRV_G_event_acquisition_status_list "get_event_acquisition_status_list"
222
224
#define STSRV_G_event_node_status_list "get_event_node_status_list"
225
227
#define STSRV_G_chunk_list "get_chunk_list"
228
230
#define STSRV_G_trigger_list "get_trigger_list"
231
234
#define STSRV_G_enum_list "get_enum_list"
235
237
#define STSRV_G_genicam_node_info "get_genicam_node_info"
238
240
#define STSRV_send_soft_trigger "send_soft_trigger"
241
243
#define STSRV_G_last_error "get_last_error"
244
247
#endif
omronsentech_camera
Author(s): OSE ROS Support
autogenerated on Tue Jul 2 2019 19:28:17