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.

CCS/IWR6843ISK-ODS: C math sinus wrong?

Part Number: IWR6843ISK-ODS

Tool/software: Code Composer Studio

Hello,

At the moment i'm trying to create a Fall Detection program with the "People Counting" demo code.

But i'm kinda stuck with calculating the Z coordinate of a object.

First i thought that i made a mistake in my code, but after several tests i think i found the mistake in the "sinf(float)" math function:

Normally when you put 90 into a sin function you get the number 1.

But i get a 0.8939 instead of a 1.

When i calculated the actual angle i got a different number then the original 90 degree.

Did i make a mistake somewhere? or did use the wrong sin function?

I use this libraries to use in my program:

Regards,

Max