View Single Post
  #1   Spotlight this post!  
Unread 16-01-2015, 20:37
ToMoPAnae's Avatar
ToMoPAnae ToMoPAnae is offline
Registered User
AKA: Patrick Fischer
FRC #3620 (Average Joes)
Team Role: Driver
 
Join Date: Jan 2015
Rookie Year: 2015
Location: St. Joseph
Posts: 8
ToMoPAnae is a glorious beacon of lightToMoPAnae is a glorious beacon of lightToMoPAnae is a glorious beacon of lightToMoPAnae is a glorious beacon of lightToMoPAnae is a glorious beacon of light
Xbox controller right analog stick not being read.

The right analog stick is not being read. We tried all axes and hands available but the left joystick is being read for both the left and right hand. It worked fine in 2014. We read the number of axes and it said that there were 6 axes available. We are using Java. The joysticks appear in the driver station and both are read correctly there, but the .get methods on the joystick object do not work for the right joystick. Has anyone else had this problem? If so, how did you fix it?

We fixed the problem. You need to use .getRawAxis(AxisNumber) and input the correct axis number. 4 for the X axis for the right joystick and 5 was the Y axis for the right joystick.

Last edited by ToMoPAnae : 17-01-2015 at 10:10. Reason: Found solution