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: Please tell me the detailed algorithm for distance calculation

Other Parts Discussed in Thread: IWR1443BOOST

Tool/software: Code Composer Studio

Hi,team,

I have a IWR1443BOOST , I download the lab0004-high-accuracy-14xx CCS Project from the resource explorer , rebuild, download to the IWR1443BOOST , then test ,it works well.

I want to know the algorithm for distance calculation , so I opened CCS Proejct and look for it ,but not found.

Who can tell me the detailed algorithm for distance calculation , please try to be as detailed as possible , I'll be very grateful.

Best Wishes!

Jacky Ye

  • Hi Jacky,

    The algorithm relies on the Zoom FFT and a detailed description is available in the High Accuracy Lab User Guide. Let us know if you have any specific questions about it.


    Cheers,
    Akash
  • Thank you very much for your reply , I'm sorry I didn't make it clear , I have read the book called “the High Accuracy Lab User Guide” carefully, now I want to know the distance value in the Chrome how to calculated.

    My IWR1443BOOST measured distance value is 0.349m in the Chrome , I want to find the computing method of value 0.349 , so I opened the CCS project , look at the code carefully , I found that value is not calculated in the CCS program , in the CCS project , all of the data of Zoom FFT was sended to the Chrome through UART . I made a careful analysis of the send message , message format as below:

    The length of a message is 2176 bytes , 1st part is the “head” , taking up 36 bytes , 2nd part is the “detectedObjects” , taking up 24 bytes , 3rd part is the “logMagRange” , taking up 2056 bytes , 4th part is the “statsInfo”, taking up 32 bytes , 5th part is the “padding”, taking up 28 bytes.

    I think the value 0.349 is in the 3th part of message , is it? The 3th part include “MmwDemo_output_message_tl” taking up 8 bytes and “MMW_HWA_1D_OUT_PING” taking up 2048 bytes , now I want to know the computing method of value 0.349 , Which bytes are valid data ?  And how to compute ? Is there a formula for calculation ? How to calculate the final distance value from the message generated by ZOOM FFT?

     I read a lot of information on the official website of TI, but I didn't find any information about that, I was not found.

    Please tell me , thanks!

     

    Best Wishes!

    Jacky Ye

  • Hi Jacky,

    Please follow this ticket for the range calculation:
    e2e.ti.com/.../2447737

    Regards,
    Michelle