This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/IWR6843: GTRACK: presence in OccupancyBoxes

Part Number: IWR6843

Tool/software: Code Composer Studio

Hello,
I have defined two occupancyBoxes (GTRACK_presenceParams: numOccupancyBoxes 2, defined occupancyBox [GTRACK_MAX_OCCUPANCY_BOXES]), but gtrack_step gives me back only (binary) information about global presence not about presence in each boxes. Is there any other way to get each box presence or it is only needed to modify void gtrack_modulePresence(GtrackModuleInstance *inst, uint8_t *presence) in gtrack_module.c?

BR

Miroslav

  • Hi Miroslav,

    The presence indication is meant to indicate binary presence according to the defined number of points and velocity threshold in the combined area enclosed by the presence boundary boxes. We do not support individual presence indicators in the different boundary boxes.

    If you need such a functionality, you will need to modify the code yourself and you are looking at the right function to modify i.e. gtrack_modulePresence. Intuitively, once you modify the function to generate boundary box specific presence indication, you will also need to modify the function interface for gtrack_step to return the individual indicators, perhaps as an array instead of the single presence indicator returned currently.

    Regards

    -Nitin