Quote:
Originally Posted by Hadi379
We are currently running into problems with our directional angle as well. I've attached a photo of the angles we are getting in regards to the joystick position.
I feel like the problem is somewhere after we convert from radians to degrees....
|
What are you using to compute the angle? It looks like you have a sign error in the 270-360 quadrant. That might be an indication that you're using the ATAN function instead of ATAN2.
The "Re/Im to r/theta" vi will do all the heavy lifting of converting from Cartesian to polar coordinates.