View Full Version : Joystick values (?)
beefy1
12-23-2008, 11:14 AM
what are the joystick values when I use GetX(), GetY() functions of the wpilib library?
Kingofl337
12-23-2008, 11:26 AM
GetY and GetX will return a float from 1 to -1 with 0 being in the center.
So, roughly 3/4 forward should return around .75 ish, in reality though the
number will probably be like .75124 if you use cout or printf.
vBulletin® v3.6.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.