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.

AWR1843BOOST: Automated Parking GUI freezes after working for around 3 minutes

Part Number: AWR1843BOOST

Hello,

In Automated Parking example with indoor environment, the MATLAB GUI freezes after short amount of time and gives the following error: 

each time I run the GUI it freezes after short amount of time, is that because rich cloud points or what?

Why that error happens and How to handle this error theoretically?

Thanks,

Mostafa

  • Hi,

    Yes, usually this type of errors happen because the Matlab processing/display is too slow.

    In order to improve the behavior one would need to improve the processing either by decreasing the amount of data or by optimizing the processing speed

    • displaying the point cloud only for alternative frames would improve the behavior
    • Increasing the frame period (in the demo config)
    • using a more powerful PC

    thank you

    Cesar

  • Hello Cesar,

    • Increasing the frame period (in the demo config)

    As you mentioned above, Do you mean SUBFRAME_USRR_PERIODICITY_VAL macro in line 91 in pa_config_chirp_design_USRR20.h file?

    if yes, so does that affect the velocity resolution? it's mentioned in this document page 5: Automated Parking System Reference Design Using 77- GHz mmWave Sensor that velocity resolution determined by the total chirping time within one frame.

    if no, so could you refer me correct one?

    Thanks,

    Mostafa

  • Yes, you can double the value in line 91.

    This will not affect the velocity resolution since increasing the frame duration does not increase the total chirping time which is defined by the duration of the chirp and the total number of chirps

    thank you

    Cesar

  • Hello, 

    I doubled SUBFRAME_USRR_PERIODICITY_VAL, even I changed it to 30000000  and again it gives me error in getTlv function get called.

    Although this way of (reducing frame periodicity) slow down my application, and I don't want that, 

    • displaying the point cloud only for alternative frames would improve the behavior

    I don't understand this well, could explain more?

    Thanks,

    Mostafa

  • Hi,

    If increasing the frame duration does not improve the behavior, this means that the problem is not with the processing time in Matlab Gui.

    I have tested the demo on my PC for one hour and did not have any problems.

    This means that the issue is probably with Matlab running on your specific PC.

    If you have the capability to run this directly with Matlab (not using the .exe), you could try that.

    If you have the cability to use a different computer, I would also try that o understand if behavior is different.

    Thank you

    Cesar

  • Hello,

    I am working on Automotive toolbox 3-2-0 version.

    I already run the .m file directly.

    I tried on different PC and more powerful be for I create this thread.

    Thanks,

    Mostafa

  • Maybe you could try to modify the matlab gui to not display the data and check if the gui code still freezes.

    Unfortunately we are not able to reproduce the issue with our equipment.

    Thank you

    Cesar

  • Hi,

    I will close this thread

    thank you

    Cesar