Quote:
Originally Posted by dougwilliams
I'm wondering if there's some strange mode when both triggers are pressed and the code fires off two simultaneous commands, one forward driving the motor and one reverse driving the motor.
|
Maybe put in something that checks the trigger for "pulling the boulder in" first and if that is activated, don't bother checking the second one? Only activate the "pushing the boulder out" if that is the only trigger being pressed. This is assuming that you want a "known fail-safe" where you aren't throwing a boulder out accidentally at a random time but holding onto it instead.
Basically pick one direction as the dominant one to eliminate the dual-trigger issue by ignoring whether the recessive is being pressed or not.
*Yay, Gregor Mendel reference*