![]() |
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. |
Re: Problem with Joystick Throttle
Try using a different axis.
System.out.println(joystick.getRawAxis(3)); I think valid axis are 1-6 |
Re: Problem with Joystick Throttle
joystick.getRawAxis(3) correctly returns the throttle in Java for the provided ATTACK3 joysticks.
|
| All times are GMT -5. The time now is 07:35 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi