Dear support team,
We are now referring your gesture recognition demo for our development and we would like to make a question for the source code.
Here doppler bins near to zero doppler area are replaced by 0.
In the first "for" loop to positive doppler area, number of bins replaced to 0 is posdopplerbin_start.
But in the second "for" loop to negative area, number of bins replaced to 0 is absolute value of negdopplerbin_start +1 due to ">=".
We suppose below modification may be preferred to match those numbers.
original ) for (j = obj->numDopplerBins - 1; j >= (obj->numDopplerBins) + (gfeatures->negdopplerbin_start) - 1; j--)
preferred ) for (j = obj->numDopplerBins - 1; j > (obj->numDopplerBins) + (gfeatures->negdopplerbin_start) - 1; j--)
We are fine if we can confirm your opinion.
**********
\mmwave_industrial_toolbox_4_7_0\labs\gesture_recognition\68xx_multi_gesture_and_motion_det\src\dss
gesture.c : line 307
//zero out the doppler bins around zero
for (k = 0; k < (gfeatures->rangebin_stop) + 1; k++)
{
tempptr = detMatrix + k*(obj->numDopplerBins);
for (j = 0; j < (gfeatures->posdopplerbin_start); j++)
{
tempptr[j] = 0;
}
for (j = obj->numDopplerBins - 1; j >= (obj->numDopplerBins) + (gfeatures->negdopplerbin_start) - 1; j--)
{
tempptr[j] = 0;
}
}
**********
Best regards,
Taka