View Full Version : Joystick values (?)
what are the joystick values when I use GetX(), GetY() functions of the wpilib library?
Kingofl337
23-12-2008, 11:26
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-2017, Jelsoft Enterprises Ltd.