Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Joystick values (?) (http://www.chiefdelphi.com/forums/showthread.php?t=70797)

beefy1 23-12-2008 11:14

Joystick values (?)
 
what are the joystick values when I use GetX(), GetY() functions of the wpilib library?

Kingofl337 23-12-2008 11:26

Re: Joystick values (?)
 
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.


All times are GMT -5. The time now is 17:33.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi