在TI提供的高精度测量程序中,峰值搜索是硬件实现的,我想实现自己的峰值搜索,就像level_sense_demo程序中的那样
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.
您好,感谢您的解答,对这个问题,我想知道demo中,M2的数据格式(MMW_HWA_1D_OUT_PING),及如何在M2中搜索range数据。
这是我的range计算程序,您看正确吗?
fft_out=(int16_t *)MMW_HWA_1D_OUT_PING;
for (idx = 0; idx < 990; idx ++)
{
temp = *fft_out;
chirp_result[idx] += (temp * temp);
temp=*(fft_out+1);
chirp_result[idx] += (temp * temp);
fft_out+=8;
}
M2的数据格式(MMW_HWA_1D_OUT_PING)
MmwDemo_findPeaks代码很好的解释了这个问题。
及如何在M2中搜索range数据
不太理解你的意思。获取目标的距离位置,需要先找到目标位于的range index然后计算。具体请参考下面的论坛讨论:
我的意思是:如何在M2数据中搜索我需要的range index,然后进行zoom fft,以获取更高精度,我只需要1D运算,获得距离数据就行,速度和角度不需要
MmwDemo_findPeaks这个在哪个C文件中? 我没找到!谢谢!
MmwDemo_findPeaks这个在哪个C文件中?
C:\ti\mmwave_industrial_toolbox_4_9_0\labs\level_sensing\14xx_high_accuracy\pjt\data_path.c