You're reading the documentation for an older, but still supported version (GL013300).
For information on the latest version, please have a look at GL013301.

VIRTUAL_FENCE_RESPONSE

This structure provides the result data from the virtual fence evaluation process, indicating whether the robot’s position is within or outside each defined virtual fence boundary.

BYTE#

Field Name

Data Type

Value

Remarks

0

_iCubeResult

unsigned char[6]

0 or 1

Result flags for up to 6 cube-shaped fences
0: Inside boundary, 1: Outside boundary

6

_iPolyResult

unsigned char[6]

0 or 1

Result flags for up to 6 polygon-shaped fences
0: Inside boundary, 1: Outside boundary

12

_iCylinderResult

unsigned char

0 or 1

Result flag for cylinder-shaped fence
0: Inside, 1: Outside

Total size: 13 bytes

Defined in: DRFS.h

typedef struct _VIRTUAL_FENCE_RESPONSE
{
    unsigned char _iCubeResult[6];      /* cube fence result flags (0: inside, 1: outside) */
    unsigned char _iPolyResult[6];      /* polygon fence result flags (0: inside, 1: outside) */
    unsigned char _iCylinderResult;     /* cylinder fence result flag (0: inside, 1: outside) */
} VIRTUAL_FENCE_RESPONSE, *LPVIRTUAL_FENCE_RESPONSE;