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.

AWR1642BOOST: AWR1642 :velocity calculation of SRR demo code.

Part Number: AWR1642BOOST
Other Parts Discussed in Thread: AWR1642

Hi,

we are using AWR1642 SRR(short range) code . we are trying for python script which takes uart log input and displays object information(same like what srrvisualization in matlab is doing)

our script was working for mmw demo code but it seems there is a frame format change in SRR output.

More precisely ,the object information in uart log is like this:

2 bytes /* Doppler idx*/

2 bytes /* peak value*/

2 bytes /* x range*/

2 bytes /* y range*/

In script ,we are calculating velocity of object in KM/H in following way:

Doppler = byte1+ (byte2*256)         /* byte1,byte2 of Doppler idx*/

if Doppler>32767:

   Doppler = Doppler - 65536;

Doppler = Doppler/128;                /* xyzq format is 7*/

Doppler = Doppler *3.6;               /* To convert speed into km/h from m/s*/

Does our above calculation holds good for every frame?

Do we need to consider any other parameters here like Doppler resolution,sub frame no ..etc since SRR code is having both SRR,USRR range also ?

Thanks,

P Tulasi Krishna.