Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Holonomic drive angle? (http://www.chiefdelphi.com/forums/showthread.php?t=81600)

Hadi379 05-02-2010 09:06

Re: Holonomic drive angle?
 
1 Attachment(s)
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....

dwodrich 05-02-2010 09:10

Re: Holonomic drive angle?
 
Those appear to be the right angles to feed to the Holo.vi
***edit the first 180 appear to be correct.

Alan Anderson 05-02-2010 09:39

Re: Holonomic drive angle?
 
Quote:

Originally Posted by Hadi379 (Post 913849)
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.


All times are GMT -5. The time now is 07:53.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi