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.

Compiler/AWR1642: Can I get the tracker's ID when using srr demo?

Part Number: AWR1642

Tool/software: TI C/C++ Compiler

Hi all,

    We are now using the srr demo of awr1642. It works well. However, we would like to know which target is the tracker associated among different frames. But the tracker didn't give an ID (identify different trackers). How can I get it?

  • Hi Katie.

    In the SRR TI Design, we didn't assign IDs to trackers, and hence you cannot send a 'tracker ID' out. However, if you need one, it should be easy to do.

    In the function 'Extended_Kalman_Filter_xyz.c', trackers are created (more-correctly initialized) in the function 'initNewTracker'.

    You can add a tracker ID by
    1 - modifying the KFstate_t structure to have a 'tracker ID'.
    2 - initializing the 'tracker ID' with a counter in the initNewTracker. The counter can be a global variable, that is incremented when new trackers are created.

    If you wish to send the tracker ID out, then you need to modify the function populate_Outputs. Here, you should,

    1 - modify the trackingReportForTx structure to have a new entry called 'tracker ID'.
    2 - copy the trackerID from the trackerState to trackerOpFinal.

    Finally, you would have to modify the matlab code to collect and display the tracker ID outside.

    Regards
    Anil