Hi, when I read the code below, I think I find some errors. My SDK version is 2.0.
The code is part of the function MmwDemo_XYestimation. Please pay attention to the line 781. According to the line 761 and line 772, leftSearchIdx is bigger than rightSearchIdx. So rightSearchIdx - leftSearchIdx is less than zero. And secondSearchLen will always be numAngleBins. Besides, according to the context, I think the loop in line 785 should begin with the smaller one of the two. So I wonder whether these two variables are written reversed( We should switch the two variables.)?
Thank you!