View Single Post
  #2   Spotlight this post!  
Unread 06-08-2012, 10:16
Djur's Avatar
Djur Djur is offline
WPILib
AKA: Sam Carlberg
no team
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Massachusetts
Posts: 182
Djur will become famous soon enough
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)
Reply With Quote