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_LEAD_Y_MARGIN (4000)
58 #define GO_WEB_SCAN_CAL_TRAIL_Y_MARGIN (4000)
59 #define GO_WEB_SCAN_CAL_Y_MIN_GAP (1000)
61 #define GO_WEB_SCAN_UNASSIGNED_SERIAL_NUMBER (-1)
63 #define GO_WEB_SCAN_TRACHEID_TO_PROFILE_MULTIPLIER_SEPARATE (3)
64 #define GO_WEB_SCAN_TRACHEID_TO_PROFILE_MULTIPLIER_COMBINED (2)
66 #define GO_WEB_SCAN_VISION_FRAME_RATE_DIVISOR (24)
67 #define GO_WEB_SCAN_VISION_FRAME_RATE_DIVISOR_SEPARATE_EXPOSURES (32)
83 #define GO_WEB_SCAN_MODE_UNKNOWN (0)
84 #define GO_WEB_SCAN_MODE_CALIBRATION (1)
85 #define GO_WEB_SCAN_MODE_DETECTION (2)
86 #define GO_WEB_SCAN_MODE_WEB (3)
103 #define GO_WEB_SCAN_DATA_SOURCE_PROFILE (0)
104 #define GO_WEB_SCAN_DATA_SOURCE_VISION (1)
105 #define GO_WEB_SCAN_DATA_SOURCE_TRACHEID (2)
108 #define GO_WEB_SCAN_DATA_SOURCE_COUNT (3)
127 #define GO_WEB_SCAN_DETECTION_STYLE_GLOBAL (0)
128 #define GO_WEB_SCAN_DETECTION_STYLE_LOCAL (1)
144 #define GO_WEB_SCAN_INTERPOLATION_NEAREST (0)
145 #define GO_WEB_SCAN_INTERPOLATION_LINEAR (1)
164 #define GO_WEB_SCAN_STAGE_SAMPLE (0)
165 #define GO_WEB_SCAN_STAGE_SYNC (1)
166 #define GO_WEB_SCAN_STAGE_MERGE (2)
167 #define GO_WEB_SCAN_STAGE_WEB (3)
168 #define GO_WEB_SCAN_STAGE_DETECTION (4)
171 #define GO_WEB_SCAN_STAGE_COUNT (5)
190 #define GO_WEB_SCAN_MSG_ID_INPUT (0)
191 #define GO_WEB_SCAN_MSG_ID_NODE_TILE (1)
192 #define GO_WEB_SCAN_MSG_ID_SYNC_LIST (2)
193 #define GO_WEB_SCAN_MSG_ID_PLANE_TILE (3)
194 #define GO_WEB_SCAN_MSG_ID_WEB_SET (4)
195 #define GO_WEB_SCAN_MSG_ID_DETECTION_SET (5)
198 #define GO_WEB_SCAN_MSG_ID_COUNT (6)
214 #define GO_WEB_SCAN_INPUT_ID_PROFILE (0)
215 #define GO_WEB_SCAN_INPUT_ID_VISION (1)
216 #define GO_WEB_SCAN_INPUT_ID_TRACHEID (2)
219 #define GO_WEB_SCAN_INPUT_ID_COUNT (3)
237 #define GO_WEB_SCAN_NODE_TILE_ID_PRESENCE (0)
238 #define GO_WEB_SCAN_NODE_TILE_ID_PROFILE (1)
239 #define GO_WEB_SCAN_NODE_TILE_ID_TERRAIN (2)
240 #define GO_WEB_SCAN_NODE_TILE_ID_VISION (3)
241 #define GO_WEB_SCAN_NODE_TILE_ID_TRACHEID (4)
244 #define GO_WEB_SCAN_NODE_TILE_ID_COUNT (5)
261 #define GO_WEB_SCAN_SYNC_ID_PRESENCE (0)
262 #define GO_WEB_SCAN_SYNC_ID_PROFILE (1)
263 #define GO_WEB_SCAN_SYNC_ID_VISION (2)
264 #define GO_WEB_SCAN_SYNC_ID_TRACHEID (3)
267 #define GO_WEB_SCAN_SYNC_ID_COUNT (4)
284 #define GO_WEB_SCAN_PLANE_TILE_ID_PRESENCE (0)
285 #define GO_WEB_SCAN_PLANE_TILE_ID_PROFILE (1)
286 #define GO_WEB_SCAN_PLANE_TILE_ID_VISION (2)
287 #define GO_WEB_SCAN_PLANE_TILE_ID_TRACHEID (3)
290 #define GO_WEB_SCAN_PLANE_TILE_ID_COUNT (4)
311 #define GO_WEB_SCAN_MSG_TYPE_PROFILE_INPUT (0)
312 #define GO_WEB_SCAN_MSG_TYPE_TRACHEID_INPUT (1)
313 #define GO_WEB_SCAN_MSG_TYPE_VISION_INPUT (2)
314 #define GO_WEB_SCAN_MSG_TYPE_PROFILE_TILE (3)
315 #define GO_WEB_SCAN_MSG_TYPE_TRACHEID_TILE (4)
316 #define GO_WEB_SCAN_MSG_TYPE_VISION_TILE (5)
317 #define GO_WEB_SCAN_MSG_TYPE_TILE_LIST (6)
318 #define GO_WEB_SCAN_MSG_TYPE_SYSTEM (7)
334 #define GO_WEB_SCAN_SYSTEM_PLANE_TOP (0)
335 #define GO_WEB_SCAN_SYSTEM_PLANE_BOTTOM (1)
338 #define GO_WEB_SCAN_SYSTEM_PLANE_COUNT (2)
357 #define GO_WEB_SCAN_X_ORIENTATION_RIGHT_TO_LEFT (0)
358 #define GO_WEB_SCAN_X_ORIENTATION_LEFT_TO_RIGHT (1)
376 #define GO_WEB_SCAN_Y_ORIENTATION_AWAY (0)
377 #define GO_WEB_SCAN_Y_ORIENTATION_TOWARD (1)
397 #define GO_WEB_SCAN_CAL_STATUS_OK (1)
398 #define GO_WEB_SCAN_CAL_STATUS_WARNING (1000)
399 #define GO_WEB_SCAN_CAL_STATUS_ERROR (2000)
400 #define GO_WEB_SCAN_CAL_STATUS_ERROR_COLLECTION (2001)
401 #define GO_WEB_SCAN_CAL_STATUS_ERROR_PROCESSING (2002)
402 #define GO_WEB_SCAN_CAL_STATUS_ERROR_REPLAY (2003)
424 #define GO_WEB_SCAN_CAL_ACTIVITY_PROFILE (0)
425 #define GO_WEB_SCAN_CAL_ACTIVITY_PROFILE_Y (1)
426 #define GO_WEB_SCAN_CAL_ACTIVITY_PROFILE_Z (2)
427 #define GO_WEB_SCAN_CAL_ACTIVITY_VISION (1000)
428 #define GO_WEB_SCAN_CAL_ACTIVITY_VISION_X (1001)
429 #define GO_WEB_SCAN_CAL_ACTIVITY_VISION_Y (1002)
430 #define GO_WEB_SCAN_CAL_ACTIVITY_VISION_GAIN (1003)
458 #define GO_WEB_SCAN_CAL_NODE_STATUS_WARNING (1000)
459 #define GO_WEB_SCAN_CAL_NODE_STATUS_WARNING_FRAME_LOSS (1003)
460 #define GO_WEB_SCAN_CAL_NODE_STATUS_WARNING_INSUFFICIENT_DATA (1004)
461 #define GO_WEB_SCAN_CAL_NODE_STATUS_WARNING_HIGH_INTENSITY (1007)
462 #define GO_WEB_SCAN_CAL_NODE_STATUS_WARNING_X_COVERAGE (1008)
463 #define GO_WEB_SCAN_CAL_NODE_STATUS_ERROR (2000)
464 #define GO_WEB_SCAN_CAL_NODE_STATUS_ERROR_PREREQUISITE (2001)
465 #define GO_WEB_SCAN_CAL_NODE_STATUS_ERROR_ALGORITHM (2002)
466 #define GO_WEB_SCAN_CAL_NODE_STATUS_ERROR_FRAME_LOSS (2003)
467 #define GO_WEB_SCAN_CAL_NODE_STATUS_ERROR_INSUFFICIENT_DATA (2004)
468 #define GO_WEB_SCAN_CAL_NODE_STATUS_ERROR_FEATURE (2005)
469 #define GO_WEB_SCAN_CAL_NODE_STATUS_ERROR_NOISE (2006)
470 #define GO_WEB_SCAN_CAL_NODE_STATUS_ERROR_LOW_INTENSITY (2007)
544 #define GO_WEB_SCAN_TRACHEID_VALUE_SET_NULL(X) ((X)->angle = k16S_NULL, (X)->scatter = k16S_NULL, (X)->area = k16S_NULL)
561 #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)
584 typedef struct GoWebScanObstruction
590 } GoWebScanObstruction;
592 #include <GoWebScanSdk/GoWebScanSdkDef.x.h>
k64s encoder
Message encoder value (ticks).
Definition: GoWebScanSdkDef.h:483
Represents a tracheid point, which is the integer tracheid data for a spot with the X position (mils)...
Definition: GoWebScanSdkDef.h:553
k32s id
User-defined identifier for this section.
Definition: GoWebScanSdkDef.h:496
Represents coefficients of a linear fit. The fit can be applied as follows: y(x) = c1*x + c0...
Definition: GoWebScanSdkDef.h:509
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.
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:556
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:558
k16s x
Generic X value.
Definition: GoWebScanSdkDef.h:571
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:499
Represents a stage in the processing pipeline.
k16s scatter
Minor to major ratio of the spot, scaled to [0, 255].
Definition: GoWebScanSdkDef.h:557
Represents an ID for GoWebScan message objects.
Represents a stage or activity in the system calibration processing pipeline.
k16s area
Area of the spot (pixels).
Definition: GoWebScanSdkDef.h:541
Represents integer values of the spot tracheid data. These values are calculated from the spot shape...
Definition: GoWebScanSdkDef.h:537
Represents a message stamp containing properties of a message.
Definition: GoWebScanSdkDef.h:479
k16s scatter
Minor to major ratio of the spot, scaled to [0, 255].
Definition: GoWebScanSdkDef.h:540
k64s time
Message timestamp. In internal units approximating microseconds where the true time in us = timestamp...
Definition: GoWebScanSdkDef.h:482
Represents the top or bottom plane of the system.
Represents a generic 16s point.
Definition: GoWebScanSdkDef.h:569
Represents a type of GoWebScan message.
k64f c1
Second coefficient of fit.
Definition: GoWebScanSdkDef.h:512
GoWebScanDataSource type
Data type of section.
Definition: GoWebScanSdkDef.h:497
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:494
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:498
k64s position
Message Y-axis position (mils) calculated from encoder value and user-specified encoder resolution...
Definition: GoWebScanSdkDef.h:484
Represents an ID for types of plane tile messages.
k16s x
X range (mils).
Definition: GoWebScanSdkDef.h:555
k16s angle
Angle of the spot (degrees).
Definition: GoWebScanSdkDef.h:539
k64f c0
First coefficient of fit.
Definition: GoWebScanSdkDef.h:511