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.

IWR6843ISK-ODS: Calculating Values from DataFormat

Part Number: IWR6843ISK-ODS

Hello,

I'm using the IWR6843ISK-ODS sensor together with the People Counting demo Code to create a Human Fall Detection system.

At the moment i placed my own method in the mss_main.c file around line 680.

This is the spot that sends the Data Format to the GUI using the UART and my own code uses it because i want to use the GPIO_2 Led:

But i'm a little stuck at calculating the range of the object.

I decompress the values from the Data Format and multiply the Range with the Range Unit.

But i'm only getting wrong values.

Am i using the wrong calculation? Or do i use the wrong object code?

(I'm using the objOut variable from the gMmwMssMCB.pointCloudToUart because somehow the gMmwMssMCB.trackerOutput.tList[gMmwMssMCB.trackerOutput.currentDescr] variable that gets Written to the UART is empty when i try to use it.)

Regards,

Max