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.

IWR6843AOPEVM: Multiple Gesture and Motion Detection LAB - Need to increase time delay in motion detection

Part Number: IWR6843AOPEVM


Tool/software:

I am referring lab provided in Industrial toolbox 4.12 version , I have tested lab "Multi gesture and motion detection " . 

I understand it detects presence and based on energy log it decides is there motion or not. 

My observation : if there is no motion for less than 5 second it detects No Presence. 

How to analyze this energy log ? I would like to wait for 30seconds before logic decides there is no motion once presence is detected. 

Any pointers ?

Also I would like to modify 4 detection range provided. what tool and configuration parameter I should be changing? How to fine tune for my custom application ?

thanks

  • Hello, 

    Sorry for the slow response. These parameters are not configurable in the configuration file so you will need to make changes in the example source code.

    How to analyze this energy log ? I would like to wait for 30seconds before logic decides there is no motion once presence is detected. 

    This is controlled by ENERGY_LOG_LENGTH in mss_data_path.h

    Also I would like to modify 4 detection range provided. what tool and configuration parameter I should be changing? How to fine tune for my custom application ?

     NUM_RANGE_BUCKETS_FOR_PERSON_DETECTION is defined in dss_data_path.h. 

    Best regards,

    Josh

  • I have already tried above suggested method and have not observed good results.

    My modifications: I kept only 3 index as 10,11,12 and which reduces number of range buckets to 3. so ideally range will be 0-1meter , 1-2 meter and 2-3meter something . how is energy_log_length need to vary ? at the moment its 32 and most of the places its divided by range_bucket. 

    what is energy_log_length =32 equivalent in time ? 

    if I need delay of 30sec , what is suggested value ?

    task_Sleep () more than 5 seconds causes exception . 

  • Hello, 

    Sorry for the delay and thanks for your patience. This demo you are modifying is an older demo so I am not very familiar with the source code and unfortunately the original author is actually no longer working at TI so it is difficult to find the exact answers you are looking for. 

    Based on the description of the logEnergy() function in mss_main.c, it seems that energy_log_length refers to a certain number of frames. So the default value being 32 frames would equate to about 1 second considering the hard coded frame length for the demo appears to be 33ms (33ms x 32 frames = 1056 ms). 

    Best regards,

    Josh