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: How change number of zones in Front mount Occupancy in config file

Part Number: AWR1843BOOST
Other Parts Discussed in Thread: AWR1843, IWR6843

Hello

I maximized number of zones in Front mount Occupancy to 19 inside Matlab as following but when modify od_demo_18xx_8zone.cfg, it gives me error message when I run the example.

My application is to get decisions of occupancies in a whole polar map.

 How could I modify number of zones in config file?

         zoneDef= {[7,10,1,14],[7,10,17,14],[7,10,33,14],...
                   [20,10,2,11],[20,10,13,11],[20,10,25,11],[20,10,36,11],...
                   [30,10,2,11],[30,10,13,11],[30,10,25,11],[30,10,36,11],...
                   [40,10,2,11],[40,10,13,11],[40,10,25,11],[40,10,36,11],...
                   [50,10,2,11],[50,10,13,11],[50,10,25,11],[50,10,36,11],...
                   [9,10,8,32],[24,10,8,32]};

Thanks, 

Mostafa

  • Hi,

    What end application are you trying to develop for? I just want to make sure that this demo is the best starting point before we begin debugging the specific issue here.

    Best Regards,
    Alec

  • Hello, 

    My application is to detect multiple objects at the same time, for each zone, it should be detected object. 

    beside my first inquiry, this example only detects non stationary objects such a human, What I want to di is to detect stationary and static objects.

    is it about cluster removal?

    Thanks,

    Mostafa

  • Mostafa, 

    My question was more directed towards what the use-case is here. This demo is tailored for incabin sensing (ie. inside of a vehicle) so there may be demos more suited to your use case depending on what the use-case is (such as the Area Scanner Demo from the Industrial Toolbox)

    Best Regards,
    Alec

  • Hello, 

    Thanks for suggesting me this demo.

    We chose Vehicle Occupancy Detection because it detects more than one person at the same time and that's what I need but for more than 5 persons 

    so I need to send 19 zones in configuration file rather than 8. I tried to send the 19 zones positions but that didn't work and gave me an error.

    The only change I did in "od_demo_18xx_8zone.cfg" is:

    zoneDef 21  7 10 1 14  7 10 17 14  7 10 33 14  20 10 2 11  20 10 13 11  20 10 25 11  20 10 36 11  30 10 2 11  30 10 13 11  30 10 25 11  30 10 36 11  40 10 2 11  40 10 13 11  40 10 25 11  40 10 36 11  50 10 2 11  50 10 13 11  50 10 25 11  50 10 36 11  9 10 8 32  24 10 8 32
    Is that true?

    Thanks,

    Mostafa

  • Mostafa,

    If you are trying to do static object detection, I would HIGHLY recommend you look at the Area Scanner demo located in the Industrial Toolbox. In order to make this Incabin demo work well for static objects, it would require significant changes to the data processing methodology. The Area Scanner demo is specifically made to support static object detection.

    Best Regards,
    Alec

  • Hello,

    I will check the Area Scanner demo, but does it support AWR1843 EVM model?

    I want to consider the moving objects first, by using Vehicle occupancy demo, so I need help in modifying number of zones to 19 instead of 6

    My application will be for a bus with 19 chairs.

    Thanks,

  • Mostafa,

    The Area scanner will likely be built for the IWR6843 EVM, which is the 60 GHz band indutrial version of the AWR1843EVM, but the code should be portable. 

    In terms of your issue with the 19 zones on this demo, you will need to provide a bit more information into what the exact error you are seeing is. 

    Best Regards,
    Alec

  • Hello,

    Regarding Area Scanner demo, User guide says this lab runs on AWI6843ISK, AWI6843ISK-ODS and WI6843OAP

    AWR1843 not mentioned

    I tried to run this demo on AWR1843 using Play Back mode and didn't work.

    This fixed view I get from visualizer.

  • Hello, 

    Can you guide me how to port the Area Scanner to AWR1843?

    Thanks,

    Mostafa

  • Hello,

    Regarding the vehicle occupancy demo. the following file is updated config file that gives error "Error: Invalid usage of the zoneDef command".

    od_demo_18xx_8zone.cfg

    and this is Matlab output on command window:

    Starting UI for Occupancy Detection Demo ....
    flushCfg
    Starting UI for Occupancy Detection Demo ....
    Opening configuration file chirp_configs\od_demo_18xx_8zone.cfg ...
    Serial port(s) already open. Re-initializing...
    
    comportnum_str =
    
    'COM5'
    
    
    comportnum_str =
    
    'COM4'
    
    Sending configuration to XWR1xxx chirp_configs\od_demo_18xx_8zone.cfg ...
    sensorStop
    Done
    flushCfg
    Done
    dfeDataOutputMode 1
    Done
    channelCfg 15 5 0
    Done
    adcCfg 2 1
    Done
    adcbufCfg -1 0 0 1 1
    Done
    profileCfg 0 77 250 10 40 0 0 98 1 64 2200 0 0 40
    Done
    chirpCfg 0 0 0 0 0 0 0 1
    Done
    chirpCfg 1 1 0 0 0 0 0 4
    Done
    chirpCfg 2 2 0 0 0 0 0 1
    Done
    chirpCfg 3 3 0 0 0 0 0 4
    Done
    frameCfg 0 3 128 0 160 1 0
    Done
    lowPower 0 1
    Done
    guiMonitor 0 0 16
    Done
    zoneDef 21 7 10 1 14 7 10 17 14 7 10 33 14 20 10 2 11 20 10 13 11 20 10 25 11 20 10 36 11 30 10 2 11 30 10 13 11 30 10 25 11 30 10 36 11 40 10 2 11 40 10 13 11 40 10 25 11 40 10 36 11 50 10 2 11 50 10 13 11 50 10 25 11 50 10 36 11 9 10 8 32 24 10 8 32
    
    VODDemo:/>zoneDef 21 7 10 1 14 7 10 17 14 7 10 33 14 20 10 2 11 20 10 13 11 20 10 25 11 20 10 36 11 30 10 2 11 30 10 13 11 30 10 25 11 30 10 36 11 40 10 2 11 40 10 13 11 40 10 25 11 40 10 36 11 50 10 2 11 50 10 13 11 50 10 25 11 50 10 36 11 9 10Error: Invalid usage of the zoneDef command
    >>

    Thanks,

    Mostafa

  • Mosatafa,

    Based on the error you are seeing in matlab, you should look at the zoneDef cli command in the cli source files that are included with the demo, they may not support the number of zones that you are attempting by default. This error indicates that your usage of the command doesn't align with what is expected. 

    Best Regards,
    Alec

  • Hello Alec,

    Will it generate an error related to the memory If I changed "ODDEMO_MAX_ZONES" in oddemo_common.h to 19?

    Thanks,

  • Mostafa,

    I tried this quickly on my side and did not see any immediate errors. However, since this is not something this lab was originally designed for, I would recommend you try it out and play with it on your side to see what does/does not work. Let me know if you have any further questions.

    Best Regards,
    Alec