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.

IWR1642BOOST: High Accuracy Lab C file

Part Number: IWR1642BOOST

Hello,

I am trying to better understand how the sensor detects an object in the High Accuracy Lab with the "Zoom FFT" algorithm. As per page 19 in the user guide I am looking at the file titled "RARDARDEMO_highAccuRangeProc_priv.c". Since I am new to C programming, it's needless to say I have a lot of questions, but for starters: what is the difference between the "generic" and non-"generic" versions of the functions--for instance the "RADARDEMO_highAccuRangeProc_rangeEst" function vs. the "RADARDEMO_highAccuRangeProc_rangeEst" function? I can see that the non-"generic" versions are embedded in a preprocessor statement "#ifndef ARMVERSION", but I don't know what that means, nor do I know which function my device is using to estimate the range 

I know this is a very general question, but any help would be appreciated since I am new to C programming. 

Regards,

Josh 

  • Josh ,

    Regarding the #ifndef, it's just checking that the parameter is defined if it is not then it would import it, this way it does not cause issues during linking.
    let me find some resources for you regarding the Zoom FFT.

    Alex
  • Hi Alex,

    Were you able to find any Zoom FFT resources?

    Josh
  • Hi Josh,

    These functions have little to do with the Zoom FFT. The RangeProc functions are actually linked to the accumulation functions which accumulates the signals in a way that the noise from different chirps destructively interfere with each other in order to significantly improve signal integrity.

    Let us know if you have more questions!


    Cheers,
    Akash
  • Akash,

    That's surprising considering the High Accuracy Lab specifically mentions the file "RADARDEMO_highAccuRangeProc_priv.c" in order to learn more about the Coarse and Zoom FFT's. The Zoom FFT is also explicitly mentioned on line 622 of this file in the rangeEstGeneric function. However, if you're still certain this has very little to do with the the sensor's object detection/Zoom FFT, where do you suggest I should look instead?

    Josh
  • Perhaps this is clearer: what I really care about is object detection. The user guide makes it seem like the key to understanding this is the Zoom FFT, but it seems like the only purpose of the Zoom FFT is to provide a fine frequency detection so as to report the object's position very precisely (to 0.1 mm). If this is the case, understanding the Zoom FFT is not so essential to understanding the sensor's object detection algorithm. I've noticed that there is a folder titled "detection" in mmwave_sdk_02_00_00_04/packages/ti/alg/mmwavelib/src. Is this a better place to find out this information? I assume the sensor's basic object detection is the same regardless of the mode it is operating in. The more I learn about the Zoom FFT, the less important it seems to be in terms of answering the simple question: how is the sensor classifying an "object".
  • Hi Josh,

    Your understanding is correct here. In the High Accuracy Lab the detection of different objects is less important than determining the distance of a single object with a high level of accuracy.

    Since in this lab we only zoom in on a single peak, detection of multiple objects is not supported at this time. If you are looking for detection of multiple objects then I'd recommend studying the source code of the out of box demo and running on the Zone-Occupancy Lab which features a point cloud object detection visualizer. dev.ti.com/.../


    Cheers,
    Akash