For information on the latest version, please have a look at GL013301.
CONFIG_ADD_SAFETY_ZONE
This structure defines the configuration of a safety zone,
including its unique identifier, zone type, and corresponding property and shape definitions.
It is also used as an alias type CONFIG_SAFETY_ZONE for general safety zone handling.
BYTE# |
Field Name |
Data Type |
Value |
Remarks |
|---|---|---|---|---|
0 |
|
|
Unique zone identifier (UUID string) |
|
32 |
|
|
Zone alias or descriptive name (nullable) |
|
64 |
|
|
0~1 |
Zone type flag |
65 |
|
Property configuration for the safety zone (limits, local zone overrides, etc.) |
||
265 |
|
Geometric shape definition of the safety zone |
Total size: 402 bytes
Defined in: DRFS.h
typedef struct _CONFIG_ADD_SAFETY_ZONE
{
/* Unique zone identifier (UUID) */
char _szIdentifier[32];
/* Zone alias (nullable string) */
char _szAlias[32];
/* Zone type: 0(space limit), 1(local zone) */
unsigned char _iZoneType;
/* Zone property data */
SAFETY_ZONE_PROPERTY_DATA _tZoneProperty;
/* Zone shape definition */
SAFETY_ZONE_SHAPE _tShape;
} CONFIG_ADD_SAFETY_ZONE, *LPCONFIG_ADD_SAFETY_ZONE;
typedef CONFIG_ADD_SAFETY_ZONE CONFIG_SAFETY_ZONE;
Note
CONFIG_SAFETY_ZONEis defined as a type alias ofCONFIG_ADD_SAFETY_ZONE.This structure combines both logical properties and spatial geometry of a safety zone.
The shape and behavior of each zone are controlled through SAFETY_ZONE_PROPERTY_DATA and SAFETY_ZONE_SHAPE respectively.