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.

mmwave_demo_visualizer Range-Time plot

Part Number: AWR1642

Hi all,

The mmwave Demo plots the range profile in real time but I want to observe the range time plot after a certain period of time. I intend to obtain the range values from the downloaded CSV file (which saves the XYZ information in human readable form).

The challenge I am facing is that the logged data does not have a time variable, instead it gives the frame number. So, from that information, how can I calculate the time vector?

Rgds,

  • Hi Farai,

    The device output on UART does not contain a time component, so any association of frames to time would have to be done locally by the Visualizer. We don't have an example for this but you can get the relative time between frames by using the "frame periodicity in ms" value configured in the frameCfg command.

    It's the 5th argument in the frameCfg command as shown in the following command where the frame periodicity is 100ms.

    frameCfg 0 1 32 0 100 1 0

    (Refer mmWave SDK user guide for more details)

    In this example, the difference between successive frames is 100ms. The Visualizer configures this value in the frameCfg command based on the Frame Rate (fps) slider. You can also associate the PC time with the first frame output and get the absolute time for each frame based on this information but you'll need to modify the mmWaveDemoVisualizer code if you want to do this.

    Regards

    -Nitin

  • Ok thanks,
    the frame periodicity means the difference between successive frames, which means if i know my total frames i can then estimate the elapsed time to receive all the frames