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.

IWR1642: How to retrieve velocity information from the data recorded from mmWave demo?

Part Number: IWR1642

Hi,

I have recorded data from the mmWave demo, and get the position information correctly. However, I do not know how to get the velocity information from the rest data(such as doppler index, range index, peak value and etc.)

Kind regards,

Brenda

  • Hello Brenda,

    Please see the section titled "Output Information Sent to Host" in the doxygen located in your mmWave SDK folder at: C:/ti/mmwave_sdk_01_01_00_02/packages/ti/demo/xwr16xx/mmw/docs/doxygen/html/index.html


    Cheers,
    Akash
  • Hi Akash,

    I have seen this document and I have retrieve all the information from the .dat file, such ad the doppler-range matrix, the noise matrix and etc.

    However the problem is, I do not know how to get the velocity from it?

    Thanks a lot.

    Brenda

  • Hello Brenda,

    Velocity is synonymous with the term Doppler for all mmWave documentation. The page for data format relating to a detected object is also available in the Doxygen at this location: file:///C:/ti/mmwave_sdk_01_01_00_02/packages/ti/demo/xwr14xx/mmw/docs/doxygen/html/struct_mmw_demo__detected_obj__t.html

    Let me know if you have more questions.


    Cheers,
    Akash
  • Hi Akash,

    I'm very thankful for your patiently help. I have read the file you mentioned. there are six values in that data structure: rangeIdx, dopplerIdx, peakVal, and x, y, z. So I can calculate the range and velocity by:

    range = rangeIdx * range resolution

    velocity = dopplerIdx * velocity resolution

    Is that right?

    Best Wishes

    Brenda.

  • Hi Brenda,

    This is not correct, the resolution is not the same as accuracy for radar. Resolution refers to the minimum difference in range (or velocity) for the sensor to distinguish two different objects.

    The method of calculation is discussed more in this thread: e2e.ti.com/.../646597


    Cheers,
    Akash