10 #ifndef GO_WEB_SCAN_SDK_DEF_H
11 #define GO_WEB_SCAN_SDK_DEF_H
15 #if defined (GO_WEB_SCAN_EMIT)
16 # define GoWebScanFx(TYPE) kExportFx(TYPE)
17 # define GoWebScanCx(TYPE) kExportCx(TYPE)
18 # define GoWebScanDx(TYPE) kExportDx(TYPE)
19 #elif defined (GO_WEB_SCAN_STATIC)
20 # define GoWebScanFx(TYPE) kInFx(TYPE)
21 # define GoWebScanCx(TYPE) kInCx(TYPE)
22 # define GoWebScanDx(TYPE) kInDx(TYPE)
24 # define GoWebScanFx(TYPE) kImportFx(TYPE)
25 # define GoWebScanCx(TYPE) kImportCx(TYPE)
26 # define GoWebScanDx(TYPE) kImportDx(TYPE)
30 #define GO_WEB_SCAN_PROFILE_CAMERA_COUNT (2)
31 #define GO_WEB_SCAN_VISION_CAMERA_COUNT (2)
32 #define GO_WEB_SCAN_MAX_TRACHEID_ANGLE (179)
33 #define GO_WEB_SCAN_NULL_TRACHEID_ANGLE (k8U_MAX)
34 #define GO_WEB_SCAN_NULL_TRACHEID_SCATTER (0)
35 #define GO_WEB_SCAN_NULL_TRACHEID_AREA (0)
36 #define GO_WEB_SCAN_TRACHEID_AREA_EXPORT_DIV (1.5)
37 #define GO_WEB_SCAN_CONCURRENCY_DEFAULT (-2)
38 #define GO_WEB_SCAN_CONCURRENCY_OPTIMIZE (-1)
39 #define GO_WEB_SCAN_VISION_TERRAIN_TARGET_X_RES (200)
40 #define GO_WEB_SCAN_MIN_OBJECT_Y_EXTENT (1000)
41 #define GO_WEB_SCAN_MIN_OBJECT_GAP (500)
42 #define GO_WEB_SCAN_TASK_BUFFER_TIME (1000000)
43 #define GO_WEB_SCAN_SYNC_COHERENCY_DISTANCE (12000)
44 #define GO_WEB_SCAN_SYNC_COHERENCY_TIME (400000)
45 #define GO_WEB_SCAN_SYNC_BREAK_DISTANCE (24000)
46 #define GO_WEB_SCAN_MAX_SYSTEM_SPEED (70000)
47 #define GO_WEB_SCAN_EXTENSION_WINDOW (2)
48 #define GO_WEB_SCAN_FLATFIELD_RES_BITS (10)
49 #define GO_WEB_SCAN_CAMERA_MARGIN (2000)
50 #define GO_WEB_SCAN_X_TILE_LCM (1000)
52 #define GO_WEB_SCAN_CAL_GAIN_WIDTH (64)
53 #define GO_WEB_SCAN_CAL_GAIN_HEIGHT (8)
54 #define GO_WEB_SCAN_CAL_VISION_Y_OFFSET_COUNT (2)
55 #define GO_WEB_SCAN_CAL_TRIGGER_THRESHOLD (0.5)
56 #define GO_WEB_SCAN_CAL_TILE_Y_EXTENT (400)
57 #define GO_WEB_SCAN_CAL_Y_MIN_GAP (1000)
59 #define GO_WEB_SCAN_UNASSIGNED_SERIAL_NUMBER (-1)
61 #define GO_WEB_SCAN_TRACHEID_TO_PROFILE_MULTIPLIER_SEPARATE (3)
62 #define GO_WEB_SCAN_TRACHEID_TO_PROFILE_MULTIPLIER_COMBINED (2)
64 #define GO_WEB_SCAN_VISION_FRAME_RATE_DIVISOR (24)
65 #define GO_WEB_SCAN_VISION_FRAME_RATE_DIVISOR_SEPARATE_EXPOSURES (32)
67 #define GO_WEB_SCAN_VIEW_SPOT_COUNT_G250 (38)
68 #define GO_WEB_SCAN_VIEW_SPOT_COUNT_G210 (15)
69 #define GO_WEB_SCAN_MAX_SENSOR_DATA_RATE (125)
70 #define GO_WEB_SCAN_RATE_LIMIT_SAFETY_FACTOR (1.5)
71 #define GO_WEB_SCAN_PROFILE_READOUT_TIME (10)
88 #define GO_WEB_SCAN_MODE_UNKNOWN (0)
89 #define GO_WEB_SCAN_MODE_CALIBRATION (1)
90 #define GO_WEB_SCAN_MODE_DETECTION (2)
91 #define GO_WEB_SCAN_MODE_WEB (3)
108 #define GO_WEB_SCAN_DATA_SOURCE_PROFILE (0)
109 #define GO_WEB_SCAN_DATA_SOURCE_VISION (1)
110 #define GO_WEB_SCAN_DATA_SOURCE_TRACHEID (2)
113 #define GO_WEB_SCAN_DATA_SOURCE_COUNT (3)
132 #define GO_WEB_SCAN_DETECTION_STYLE_GLOBAL (0)
133 #define GO_WEB_SCAN_DETECTION_STYLE_LOCAL (1)
149 #define GO_WEB_SCAN_INTERPOLATION_NEAREST (0)
150 #define GO_WEB_SCAN_INTERPOLATION_LINEAR (1)
169 #define GO_WEB_SCAN_STAGE_SAMPLE (0)
170 #define GO_WEB_SCAN_STAGE_SYNC (1)
171 #define GO_WEB_SCAN_STAGE_MERGE (2)
172 #define GO_WEB_SCAN_STAGE_WEB (3)
173 #define GO_WEB_SCAN_STAGE_DETECTION (4)
176 #define GO_WEB_SCAN_STAGE_COUNT (5)
195 #define GO_WEB_SCAN_MSG_ID_INPUT (0)
196 #define GO_WEB_SCAN_MSG_ID_NODE_TILE (1)
197 #define GO_WEB_SCAN_MSG_ID_SYNC_LIST (2)
198 #define GO_WEB_SCAN_MSG_ID_PLANE_TILE (3)
199 #define GO_WEB_SCAN_MSG_ID_WEB_SET (4)
200 #define GO_WEB_SCAN_MSG_ID_DETECTION_SET (5)
203 #define GO_WEB_SCAN_MSG_ID_COUNT (6)
219 #define GO_WEB_SCAN_INPUT_ID_PROFILE (0)
220 #define GO_WEB_SCAN_INPUT_ID_VISION (1)
221 #define GO_WEB_SCAN_INPUT_ID_TRACHEID (2)
224 #define GO_WEB_SCAN_INPUT_ID_COUNT (3)
242 #define GO_WEB_SCAN_NODE_TILE_ID_PRESENCE (0)
243 #define GO_WEB_SCAN_NODE_TILE_ID_PROFILE (1)
244 #define GO_WEB_SCAN_NODE_TILE_ID_TERRAIN (2)
245 #define GO_WEB_SCAN_NODE_TILE_ID_VISION (3)
246 #define GO_WEB_SCAN_NODE_TILE_ID_TRACHEID (4)
249 #define GO_WEB_SCAN_NODE_TILE_ID_COUNT (5)
266 #define GO_WEB_SCAN_SYNC_ID_PRESENCE (0)
267 #define GO_WEB_SCAN_SYNC_ID_PROFILE (1)
268 #define GO_WEB_SCAN_SYNC_ID_VISION (2)
269 #define GO_WEB_SCAN_SYNC_ID_TRACHEID (3)
272 #define GO_WEB_SCAN_SYNC_ID_COUNT (4)
289 #define GO_WEB_SCAN_PLANE_TILE_ID_PRESENCE (0)
290 #define GO_WEB_SCAN_PLANE_TILE_ID_PROFILE (1)
291 #define GO_WEB_SCAN_PLANE_TILE_ID_VISION (2)
292 #define GO_WEB_SCAN_PLANE_TILE_ID_TRACHEID (3)
295 #define GO_WEB_SCAN_PLANE_TILE_ID_COUNT (4)
316 #define GO_WEB_SCAN_MSG_TYPE_PROFILE_INPUT (0)
317 #define GO_WEB_SCAN_MSG_TYPE_TRACHEID_INPUT (1)
318 #define GO_WEB_SCAN_MSG_TYPE_VISION_INPUT (2)
319 #define GO_WEB_SCAN_MSG_TYPE_PROFILE_TILE (3)
320 #define GO_WEB_SCAN_MSG_TYPE_TRACHEID_TILE (4)
321 #define GO_WEB_SCAN_MSG_TYPE_VISION_TILE (5)
322 #define GO_WEB_SCAN_MSG_TYPE_TILE_LIST (6)
323 #define GO_WEB_SCAN_MSG_TYPE_SYSTEM (7)
339 #define GO_WEB_SCAN_SYSTEM_PLANE_TOP (0)
340 #define GO_WEB_SCAN_SYSTEM_PLANE_BOTTOM (1)
343 #define GO_WEB_SCAN_SYSTEM_PLANE_COUNT (2)
362 #define GO_WEB_SCAN_X_ORIENTATION_RIGHT_TO_LEFT (0)
363 #define GO_WEB_SCAN_X_ORIENTATION_LEFT_TO_RIGHT (1)
381 #define GO_WEB_SCAN_Y_ORIENTATION_AWAY (0)
382 #define GO_WEB_SCAN_Y_ORIENTATION_TOWARD (1)
402 #define GO_WEB_SCAN_CAL_STATUS_OK (1)
403 #define GO_WEB_SCAN_CAL_STATUS_WARNING (1000)
404 #define GO_WEB_SCAN_CAL_STATUS_ERROR (2000)
405 #define GO_WEB_SCAN_CAL_STATUS_ERROR_COLLECTION (2001)
406 #define GO_WEB_SCAN_CAL_STATUS_ERROR_PROCESSING (2002)
407 #define GO_WEB_SCAN_CAL_STATUS_ERROR_REPLAY (2003)
429 #define GO_WEB_SCAN_CAL_ACTIVITY_PROFILE (0)
430 #define GO_WEB_SCAN_CAL_ACTIVITY_PROFILE_Y (1)
431 #define GO_WEB_SCAN_CAL_ACTIVITY_PROFILE_Z (2)
432 #define GO_WEB_SCAN_CAL_ACTIVITY_VISION (1000)
433 #define GO_WEB_SCAN_CAL_ACTIVITY_VISION_X (1001)
434 #define GO_WEB_SCAN_CAL_ACTIVITY_VISION_Y (1002)
435 #define GO_WEB_SCAN_CAL_ACTIVITY_VISION_GAIN (1003)
463 #define GO_WEB_SCAN_CAL_NODE_STATUS_WARNING (1000)
464 #define GO_WEB_SCAN_CAL_NODE_STATUS_WARNING_FRAME_LOSS (1003)
465 #define GO_WEB_SCAN_CAL_NODE_STATUS_WARNING_INSUFFICIENT_DATA (1004)
466 #define GO_WEB_SCAN_CAL_NODE_STATUS_WARNING_HIGH_INTENSITY (1007)
467 #define GO_WEB_SCAN_CAL_NODE_STATUS_WARNING_X_COVERAGE (1008)
468 #define GO_WEB_SCAN_CAL_NODE_STATUS_ERROR (2000)
469 #define GO_WEB_SCAN_CAL_NODE_STATUS_ERROR_PREREQUISITE (2001)
470 #define GO_WEB_SCAN_CAL_NODE_STATUS_ERROR_ALGORITHM (2002)
471 #define GO_WEB_SCAN_CAL_NODE_STATUS_ERROR_FRAME_LOSS (2003)
472 #define GO_WEB_SCAN_CAL_NODE_STATUS_ERROR_INSUFFICIENT_DATA (2004)
473 #define GO_WEB_SCAN_CAL_NODE_STATUS_ERROR_FEATURE (2005)
474 #define GO_WEB_SCAN_CAL_NODE_STATUS_ERROR_NOISE (2006)
475 #define GO_WEB_SCAN_CAL_NODE_STATUS_ERROR_LOW_INTENSITY (2007)
549 #define GO_WEB_SCAN_TRACHEID_VALUE_SET_NULL(X) ((X)->angle = k16S_NULL, (X)->scatter = k16S_NULL, (X)->area = k16S_NULL)
566 #define GO_WEB_SCAN_TRACHEID_POINT_SET_NULL(X) ((X)->x = k16S_NULL, (X)->angle = k16S_NULL, (X)->scatter = k16S_NULL, (X)->area = k16S_NULL)
597 #include <GoWebScanSdk/GoWebScanSdkDef.x.h>
k64s encoder
Message encoder value (ticks).
Definition: GoWebScanSdkDef.h:488
Represents a tracheid point, which is the integer tracheid data for a spot with the X position (mils)...
Definition: GoWebScanSdkDef.h:558
k32s id
User-defined identifier for this section.
Definition: GoWebScanSdkDef.h:501
Represents coefficients of a linear fit. The fit can be applied as follows: y(x) = c1*x + c0...
Definition: GoWebScanSdkDef.h:514
Represents a style of triggering the start of an object when in detection mode. The start of an objec...
Represents a style of interpolation used during profile resampling.
k32s x0
Start of obstruction zone along the X-axis (length), in sensor coordinates (mils).
Definition: GoWebScanSdkDef.h:591
Represents an ID for types of tile messages.
Represents an ID for types of sync list messages.
k16s angle
Angle of the spot (degrees).
Definition: GoWebScanSdkDef.h:561
Represents a type of error or warning that occurred during system calibration processing of a node...
k16s area
Area of the spot (pixels).
Definition: GoWebScanSdkDef.h:563
k16s x
Generic X value.
Definition: GoWebScanSdkDef.h:576
Represents a type of sensor data.
k32s x1
End of section along the X-axis (length), in system coordinates (mils). Should be greater than X0...
Definition: GoWebScanSdkDef.h:504
Represents a stage in the processing pipeline.
k16s scatter
Minor to major ratio of the spot, scaled to [0, 255].
Definition: GoWebScanSdkDef.h:562
Represents an ID for GoWebScan message objects.
k32s x1
End of obstruction zone along the X-axis (length), in sensor coordinates (mils).
Definition: GoWebScanSdkDef.h:592
Represents a stage or activity in the system calibration processing pipeline.
k16s area
Area of the spot (pixels).
Definition: GoWebScanSdkDef.h:546
k32s z1
End of obstruction zone along the z-axis (length), in sensor coordinates (mils).
Definition: GoWebScanSdkDef.h:594
Represents integer values of the spot tracheid data. These values are calculated from the spot shape...
Definition: GoWebScanSdkDef.h:542
Represents a message stamp containing properties of a message.
Definition: GoWebScanSdkDef.h:484
k16s scatter
Minor to major ratio of the spot, scaled to [0, 255].
Definition: GoWebScanSdkDef.h:545
k64s time
Message timestamp. In internal units approximating microseconds where the true time in us = timestamp...
Definition: GoWebScanSdkDef.h:487
Represents the top or bottom plane of the system.
k32s z0
Start of obstruction zone along the z-axis (height), in sensor coordinates (mils).
Definition: GoWebScanSdkDef.h:593
Represents a generic 16s point.
Definition: GoWebScanSdkDef.h:574
Represents a user-defined obstruction to ignore a zone in X and Z in the input profile data...
Definition: GoWebScanSdkDef.h:589
Represents a type of GoWebScan message.
k64f c1
Second coefficient of fit.
Definition: GoWebScanSdkDef.h:517
GoWebScanDataSource type
Data type of section.
Definition: GoWebScanSdkDef.h:502
Represents the status of calibration processing for the system.
Represents a section of output system data. This can be defined by the user to allow for routing data...
Definition: GoWebScanSdkDef.h:499
Represents the direction of the X orientation. In a left-to-right system (as viewed from the front)...
Represents the Y-orientation of the sensors: Facing Toward (1) or Facing Away (0). The sensor logo and labels are visible when sensors are facing toward.
k32s x0
Start of section along the X-axis (length), in system coordinates (mils).
Definition: GoWebScanSdkDef.h:503
k64s position
Message Y-axis position (mils) calculated from encoder value and user-specified encoder resolution...
Definition: GoWebScanSdkDef.h:489
Represents an ID for types of plane tile messages.
k16s x
X range (mils).
Definition: GoWebScanSdkDef.h:560
k16s angle
Angle of the spot (degrees).
Definition: GoWebScanSdkDef.h:544
k64f c0
First coefficient of fit.
Definition: GoWebScanSdkDef.h:516