View Single Post
  #8   Spotlight this post!  
Unread 20-09-2011, 00:14
PAR_WIG1350's Avatar
PAR_WIG1350 PAR_WIG1350 is offline
Registered User
AKA: Alan Wells
FRC #1350 (Rambots)
Team Role: Alumni
 
Join Date: Dec 2009
Rookie Year: 2009
Location: Rhode Island
Posts: 1,190
PAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond repute
Re: Disabling PWM outputs w/out disabling entire bot.

Quote:
Originally Posted by flameout View Post
Because I'd be spending a large amount of time calibrating the joysticks in software -- it takes around 25 minutes to download new code and I'd have to "tweak" the center values several times to get it right (I could also display binary through the OI's LEDs to calibrate them, needing only 2 downloads). If a joystick's calibration changes (they're not exactly new, and I'm already noticing drift), or a joystick is replaced, I'd have to do it all over again.

That is a good idea, though; I'd just rather not calibrate them in software.

Thanks for the help.

Edit: To clarify, I think it's the "correct" solution, but I also think that it's more difficult to maintain than my "solution."
But you aren't calibrating the joysticks, your calibrating the victors.

To fix the joystick drift issues, designate a button that, when pressed, makes the current value the new center and, thus, send 127. Offset from center determines offset from 127.
__________________

Last edited by PAR_WIG1350 : 20-09-2011 at 00:19.