Using Trigonometric functions
prabhat
Posts: 4
Hi all,
I have been trying to compute inverse kinematics and hence using an object called SPIN_TrigPack. But I tried to verify the functions and see that it gives some absurd results. Then I read more and see that the arguments are in Qs15_16 ivalue format. What is that. For eg. Qs15_16 ivalue for 0.707 is 46333. Can anyone please help me with this
Thank you
Prabhat
I have been trying to compute inverse kinematics and hence using an object called SPIN_TrigPack. But I tried to verify the functions and see that it gives some absurd results. Then I read more and see that the arguments are in Qs15_16 ivalue format. What is that. For eg. Qs15_16 ivalue for 0.707 is 46333. Can anyone please help me with this
Thank you
Prabhat
Comments
2^16 * 0.707 == 46333.952 (rounded down as integer math always does is 46333)