|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Problem with Joystick Throttle
I am having a problem with the throttle on my team's joystick. We recently switched from C++ to Java and everything seems to be working fine except for the throttle. It seems to be returning a value of 0.8984375 no matter what it is set to. For instance,
System.out.println(joystick.getThrottle()); returns [cRIO] 0.8984375 every time. Has anyone been experiencing a similar problem? Thanks. |
|
#2
|
||||
|
||||
|
Re: Problem with Joystick Throttle
Try using a different axis.
System.out.println(joystick.getRawAxis(3)); I think valid axis are 1-6 |
|
#3
|
|||
|
|||
|
Re: Problem with Joystick Throttle
joystick.getRawAxis(3) correctly returns the throttle in Java for the provided ATTACK3 joysticks.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [FTC]: Problem with Code or Problem with Bluetooth? | VeedotJaydot | FIRST Tech Challenge | 3 | 01-27-2009 06:22 PM |
| Problem with the joystick | Asmos | NI LabVIEW | 5 | 01-23-2009 09:40 AM |
| Help with programing saitekx36f joystick and throttle | sonicx059 | Programming | 4 | 01-21-2008 08:30 PM |
| problem with joystick buttons (top left one) | Richomundo | Programming | 5 | 02-15-2004 05:16 PM |
| joystick problem | archiver | 2000 | 12 | 06-23-2002 11:08 PM |