CONVEYOR_DISTANCE

This structure defines the distance and motion configuration for a conveyor system, including speed, distance limits, and tracking thresholds. It is typically used to fine-tune the synchronization between the robot and a moving conveyor.

BYTE#

Field Name

Data Type

Value

Remarks

0

_fSpeed

float

Conveyor nominal speed (mm/s for a linear conveyor).

4

_iSpeedFilterSize

unsigned int

Size of moving average filter applied to speed measurement

8

_fMinDistance

float

Minimum allowed conveyor distance [mm] (linear conveyor)

12

_fWatchWinDist

float

Watch window distance threshold for object monitoring [mm] (linear conveyor)

16

_fMaxDistance

float

Maximum allowed conveyor distance [mm] (linear conveyor)

20

_fOutTrackingDist

float

Output tracking distance threshold for synchronization [mm] (linear conveyor)

Total size: 24 bytes

Defined in: DRFS.h

typedef struct _CONVEYOR_DISTANCE
{
    /* Conveyor speed (mm/s, linear conveyor) */
    float _fSpeed;
    /* Speed moving average filter window */
    unsigned int _iSpeedFilterSize;
    /* Minimum distance (mm) */
    float _fMinDistance;
    /* Watch window distance (mm) */
    float _fWatchWinDist;
    /* Maximum distance (mm) */
    float _fMaxDistance;
    /* Output tracking distance (mm) */
    float _fOutTrackingDist;

} CONVEYOR_DISTANCE, *LPCONVEYOR_DISTANCE;