Quote:
Originally Posted by cvitullo
My team is using the throttle on the Attack 3 joystick for our kicker speed control, but for some reason it's only returning -1, 0, or 1. Never anything else, despite being an analog input. Anyone else have this problem?
We're passing it to a Victor (also, does anyone know the values a victor takes in? I can't find them anywhere) after a bit of math to convert it.
|
Sounds like you are storing the joystick axis data in an integer variable. Make sure you store it in a float or a double.