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.

IWR1642BOOST: Is it possible to change the "Entrance/Exit" side of the PeopleCounting Demo?

Part Number: IWR1642BOOST
Other Parts Discussed in Thread: CODECOMPOSER

Hello,

For the people counting demo, is it possible to change the Entrance and Exit side to the Left and Right wall? We'd like to utilize the Static2free parameter to determine a "long time no motion" event for the objects within the space, however, we notice that when we increased this parameter to say, 10 seconds, it also lengthened the time it takes to free up objects that exited through the Left and Right wall. I believe exit2free parameter is only applicable to the Front and Back side and not on the left and right wall. So when an object exited thru the Left or Right wall, the demo counts it as "static" object and applies the 10 second free up time, which shouldn't be the case.

(In our case, people can exit the space through the left and right wall).

Please help!

Thanks,

  • Hi Mary,

    Currently, there is not a configuration setting to change this, so you will need to modify the GTrack software. Inside the People Counting lab, there is a Gtrack folder: mmwave_industrial_toolbox_2_5_2\labs\lab0011-pplcount\lab0011_pplcount_pjt\radarDemo\chains\RadarReceiverPeopleCounting\mmw_PCDemo\gtrack\src.  Inside this folder, find gtrackUnitEvent.c and see line 105, where the decision is made to determine if the track is in the exit zone. You can modify this.

    Regards,

    Justin

  • Hi Justin,

    This is helpful. I will modify this part.

    I guess my next question is how I should import this change to the mss or dss project? I was able to compile and burn pplcnt_16xx_dss/mss projects using the CodeComposerStudio but I'm not sure how to integrate changes made in the gTrack folder. 

    Thanks,

  • Hello,

    It seems like I need to rebuild the gtrack project and create new version of libgtrack_xwr16xx.ae674 and libgtrack_xwr16xx.aer4f.
    I tried modifying the gtrackUnitEvent.c in CodeComposer but it's not being included in the build for pplcnt_16xx_mss project. I spent some time trying to create a new CCS project to rebuild the gtrack files but to no avail as I am not an expert in this area. Please let me know how to proceed.
  • Hi,

    Upon searching in the forum, I tried to build the gtrack project under the mmwave_sdk_02_01_00_04 folder using the SDK User guide on Windows to create the lib images. I was able to create new libgtrack_xwr16xx.ae674 and   libgtrack_xwr16xx.aer4f images. I then copied it to lab0011-pplcount\lab0011_pplcount_pjt\radarDemo\chains\RadarReceiverPeopleCounting\mmw_PCDemo\gtrack\lib folder to replace the original ones. However, I see the following errors when I proceeded to build the pplcount_16xx_mss project:

    When I checked the gtrack src files under the mmwave_sdk_02_01_00_04 folder, the filenames are different (and so is the code) from the src files in mmwave_industrial_toolbox_2_5_0.

    I then tried to directly compile instead the gtrack project in mmwave_industrial_toolbox_2_5_0, but I am seeing the following make errors:

    Please let me know what I missed.

  • Hi Mary,

    To compile the GTrack version found in the People Counting demo folder:

    1. Copy the People Count GTrack folder, mmwave_industrial_toolbox_2_5_2\labs\lab0011-pplcount\lab0011_pplcount_pjt\radarDemo\chains\RadarReceiverPeopleCounting\mmw_PCDemo\gtrack, into the SDK folder, mmwave_sdk_02_00_00_04\packages\ti\alg.
    2. Open the makefile in the GTrack folder
      1. Comment lines 13, 14, and 15 with the '#' symbol
    3. Use the Setenv.bat script in SDK/packages/scripts/windows/setenv.bat
    4. Navigate back to the gtrack folder - gmake lib

    Regards,

    Justin

  • Hi Justin,

    Thanks a lot! I was able to compile now.

    I'd like to add that initially it was looking for mmwave_sdk_01_02_00_05 folder for the gtrack.h file. So I had to create this folder under C:\ti with the gtrack header files in it so I can compile. After that, it worked perfectly.

    Thanks again!