|
Re: How do I program a joystick deadband?
I'd just suggest changing the name of your "turn" method to something less confusing, such as "getCompensatedValue" or "getBetterValue" (or anything better you can think of). If you call "turn(Xbox)", then you may be confused why the robot's not turning  Other than that, you should be good. Good luck!
__________________
WPILib dev (RobotBuilder, SmartDashboard, GRIP)
|