View Single Post
  #1   Spotlight this post!  
Unread 13-06-2010, 21:16
isaacdl isaacdl is offline
I have a white hat..it's just dirty
AKA: Isaac Dontje Lindell
FRC #3018 (Nordic Storm)
 
Join Date: Oct 2009
Rookie Year: 2010
Location: St. Peter
Posts: 32
isaacdl is an unknown quantity at this point
range of joystick input?

I'm setting up a throttle control for our bot, using the Z axis (throttle control). The code I'm using to get the value of the Z axis is:

Code:
throttleSpeed = rightStick.getZ() ;
(throttleSpeed is type double.) I need to know what range the value of throttleSpeed could be. Is it -1 to 1, or 0 to 1, or 1 - 255, or something completely different?