View Single Post
  #12   Spotlight this post!  
Unread 20-09-2011, 02:15
flameout flameout is offline
AKA Ryan Van Why
FRC #0957 (SWARM)
Team Role: Alumni
 
Join Date: Sep 2009
Rookie Year: 2009
Location: Oregon
Posts: 168
flameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to all
Re: Disabling PWM outputs w/out disabling entire bot.

Quote:
Why not calibrate the Victors, then have a switch that sets all outputs to 127 rather than the joysticks.
The joysticks don't read "127" when they're centered -- outputting "127" would cause the robot to move. It's not tough to find out exactly what needs to be output to stop the motors, but if (when) the joysticks drift, re-calibrating would require a code download to adjust for the new bias (not a big deal, unless the issue's discovered 5 min. before a presentation or something).

Quote:
I'm starting to think that you're over-complicating the issue, then complaining when the solutions are complicated. No matter how you slice this pie, its going to take a little work, some added parts, or both.
I'm comparing the solutions proposed with the solution I came up with (conditionally calling Generate_Pwms()). In terms of maintainability (which suffers (even if only a little) if I need to compensate for the joysticks' biases) and reliability (which suffers (even if only a little) with electrical solutions (I am referring to using a relay)), conditionally calling Generate_Pwms() appears (to me) to be the best solution so far.

Thanks for all the great solutions.