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.

IWR6843ISK-ODS: overhead people counting example failed

Part Number: IWR6843ISK-ODS
Other Parts Discussed in Thread: UNIFLASH

Recently, I'm using "overhead people counting" binary file to do human behavior research. After I used uniflash to load image, I execute mmWave_People_Counting_GUI.exe and choose "Overhead People Counting" as config type to see the result. The command always returns "read fail: not enough data", it seems that the device doesn't return any data. It would return the point clouds information if I choose "3D people counting" as config type. Also, I can't set the the parameters called profileCfg in cfg file. Since I want a higher resolution, the device stuck. All these problems shown as follow:

The command always displays "overhead people counting"

After I set new profilecfg, the device stuck.

By the way, I mount the sensor on the wall, just change the sensorPosition and boundaryBox commands in the CFG file to match. Is there any I should notice but I ignore, please mind me.

  • Hi Charles,

    Thanks for your question. 

    If you go to this lab link below, there is a matlab GUI optimized for Overhead Detection and should have default test binary and configuration files. 

    https://dev.ti.com/tirex/explore/node?node=AICyRTzXDdQggQdD-gZSPw__VLyFKFf__LATEST&r=VLyFKFf__4.5.1&r=VLyFKFf__4.6.0&r=VLyFKFf__4.7.0

    For more information on changing the specific parameters of the configuration file please look at these documents.

    https://dev.ti.com/tirex/explore/node?node=AEdNr6XV-uJkInkTP0HOAw__VLyFKFf__LATEST&r=VLyFKFf__4.5.1&r=VLyFKFf__4.6.0&r=VLyFKFf__4.7.0

    https://dev.ti.com/tirex/explore/node?node=AHZY4H1u04B21l9zTRElvQ__VLyFKFf__LATEST&r=VLyFKFf__4.5.1&r=VLyFKFf__4.6.0&r=VLyFKFf__4.7.0

    The python GUI should also be able to support overhead detection but I need to double check a few things and look into the issues you were seeing and I will get back to you when I have an answer. Thank you for your patience. What binary and configuration file were you using with the python GUI?

    Thanks,

    Alex Chan

  • Hi Alexander, 

    I was using "overhead_3d_people_count_demo_default.bin" and the configuration file was "pc_6843_3d_ods_overhead_3m_radial.cfg" while using Python GUI. The parameters I change are compRangeBiasAndRxChanPhase, staticBoundaryBox, boundaryBox and sensorPosition. 

    And indeed, the matlab code of overhead people counting is work. 

    I back to review the chirp profile of configuration file again, it seems that I met memory issue. Once I want a better(lower) resolution I increase sampling number, a higher sampling rate and a bigger chirp slope, the program just stuck. 

    Since original range resolution of default cfg is 0.084m, I want 0.054m range resolution. The chirp profile I set shown as follow:


    profileCfg 0 60 35 6 43.0 0 0 75 1 125 3433 0 0 48
    chirpCfg 0 0 0 0 0 0 0 1
    chirpCfg 1 1 0 0 0 0 0 2
    chirpCfg 2 2 0 0 0 0 0 4
    frameCfg 0 2 96 0 100 1 0


    Can you give some advice of setting resolution to 0.054m without memory problem in overhead people counting example?

  • Hi Charles,

    Sorry for the delayed response. 

    So to use the overhead demo with the python gui, you will need to set the config type to "3D people counting" the older "legacy overhead" option is not the correct one. We will need to update that in the user guides thank you for helping us realize this and sorry for the inconvenience. 

    Ensure that under Plot Controls the orientation is set to "Overhead Mount". Ensure the sensor position parameters also are set correctly in the configuration. 

    Sorry just to clarify, you are seeing the memory issues when you are running in the matlab gui correct? 

    Make sure your computer is also on max performance when running any GUIs to allow the best performance. If you have a laptop ensure it is plugged in to not drain battery and be able to handle max settings for the duration of the experiment. 

    Thanks,

    Alex Chan

  • Hi Alexander, 

    Thank for your reply.

    I tested both of Matlab GUI and Python GUI recently, I have no problem with them. Although I still mounted the sensor on the wall, I set the configuration based on my sensor position and the result of point clouds were correct !

    My meaning of memory issue is about memory limitation of the sensor. According to my configuration, the radar data cube might be too large so the sensor cannot process the data. I tested by the default overhead people counting cfg file. In the default file, the sampling number is 64, I set a smaller value like 63 the sensor still work but when I set a larger value like 65 the sensor just stuck. 

    Can you give me advice if I want set my resolution to 0.054m without memory problem?

  • Hi Charles,

    Please see this programming chirp parameters user guide on page 7 under section 3 "Chirp Configurations for Common Applications, there are various chirp configurations with typical applications with varying range resolutions. You can try ensuring your settings match with the table parameters. 

    https://www.ti.com/lit/an/swra553a/swra553a.pdf?ts=1643059482647&ref_url=https%253A%252F%252Fwww.google.com%252F

    I am looking into this more and will get back to you as soon as possible thank you for your patience.

    Thanks,

    Alex Chan