View Single Post
  #11   Spotlight this post!  
Unread 31-01-2010, 16:16
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: The 2nd Joystick must DIE

Quote:
Originally Posted by Joe Ross View Post
The help implies that some of the inputs should be in degrees. However, when I dug in, it looks like it limits the values to -1 to 1, which implies they should not be degrees, but joystick values. Am I reading that right??
I assume you are talking about digging into the HolonomicDrive VI. It takes 3 inputs... Magnitude (which is from 0.0 - 1.0), Direction (which is in degrees) and Rotation (which is -1.0 to 1.0, but has errant documentation claiming it is in degrees/sec).

Quote:
Originally Posted by Joe Ross View Post
Also, wouldn't putting the gyro in as an input cause positive feedback? Shouldn't that also be a joystick value?
Who's putting the Gyro in? I'm guessing you mean into the Direction input. The Gyro only comes into play if you want field oriented control, in which case you would subtract the gyro angle from the desired direction coming from the cartesian to polar conversion.

-Joe