Quote:
Originally Posted by virtuald
Yeah, the docs aren't super clear on that, I'll need to update. When AxisType is specified, what it really means is pass in one of the constants that is defined in the class, or you can also just pass in a number. So something like...
Code:
joystick = wpilib.Joystick(0)
rightX = joystick.getAxis(4)
rightY = joystick.getAxis(5)
That might work. It might not.
|
The joystick didn't work sadly. Is that the best way to do it or is there other ways? Thanks!