View Single Post
  #10   Spotlight this post!  
Unread 16-03-2014, 11:12
18mfogwell's Avatar
18mfogwell 18mfogwell is offline
Registered User
AKA: Michelle Fogwell
FRC #4460 (Green MASHine)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Pennsylvania
Posts: 42
18mfogwell is an unknown quantity at this point
Re: Netbeans programming ONE motor on axis of Logitech Attack 3

Quote:
Originally Posted by Whippet View Post
Ah, ok. Every joystick axis has a number attached attached to it. The joystick.Get command basically checks a database for which axis number matches x, y, z, or the other axis names. I prefer to use getRawAxis because I know exactly the axis number I am calling for. It's really a matter of preference. If you prefer, you can use joystick.getAxis(y) to return the same value.
Is there one numbers that is always associated with x or y?
Reply With Quote