Go to Post So perhaps those that are so eager to complain might realize that if they spent a little less time complaining and a little more time analyzing the problem and developing solutions, then they might have a little less to complain about. - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 22:14.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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