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.

IWR6843ISK: Building 3D people counting error in 4.2.1

Part Number: IWR6843ISK

Got error when building mmwave_industrial_toolbox_4_2_1 in 68xx_3D_people_counting

"C:/ti/mmwave_industrial_toolbox_4_2_1/labs/people_counting/68xx_3D_people_counting/src/mss/mss_main.c", line 1792: error #143: expression must have pointer-to-object type

"C:/ti/mmwave_industrial_toolbox_4_2_1/labs/people_counting/68xx_3D_people_counting/src/mss/mss_main.c", line 1794: error #143: expression must have pointer-to-object type
2 errors detected in the compilation of "C:/ti/mmwave_industrial_toolbox_4_2_1/labs/people_counting/68xx_3D_people_counting/src/mss/mss_main.c".

I only import the project directly from ccs without changing anything.

  • Hi Keith,

    Do the following:

    In C:\Users\a0232274\ti\repos\Toolbox_4\labs\common\src\dpu\trackerproc_capon\trackerproc.h, modify lines 241 and 242:

    uint32_t numTargets[2];
    uint32_t numIndices[2];

    In trackerproc.c, modify lines 500 - 517:

    if(tNum > 0)
    outParams->numTargets[currentDescr] = tNum;
    else
    outParams->numTargets[currentDescr] = 0;

    /* Target Indices exist only when we have both points AND targets */
    if ((mNum > 0) && (tNum > 0))
    outParams->numIndices[currentDescr] = mNum;
    else
    outParams->numIndices[currentDescr] = 0;

    outParams->currentTargetDesc = currentDescr;

    /*Toggle Ping Pong*/
    trackerProcObj->targetDescrHandle->currentDescr = !(currentDescr);

    /* Clear inProgress state */
    trackerProcObj->inProgress = false;

    Regards,

    Justin

  • Dear TI

                  3D people counting complier issue.

                  Which part are modified from 4.2.1 from 4.2 ?

                  Why modified these parts?

    BR

  • Hi Br,

    There was a race condition that could cause the UART output to fail. These changes also enabled the ping-pong buffer for tracker output.

    Regards,

    Justin