Be careful when using limit switches, eh?
On our bot, we had three switches on our lift system; one at the bottom, top, and middle (height for grabbing 2X ball).
Now the problem with our lift is that if we kept trying to run the motor to lift it up past its max, it would bend the shafts. So we tossed the limit switch at the top so when it tripped we couldn't make it go any higher even if we tried. Our programmer decided to allow the lift to raise up again when we dropped it down to trip the middle limit switch (God knows WHY he did it THIS way... -_-
Anyhow, in one of our matches, our robot fell backwards quite a bit and the top limit switched tripped from hitting the PVC tubing of the stationary goal. Because it tripped (when our lift was all the way down) we couldn't raise the lift up at all (we couldn't trip the middle switch) and couldn't hang.
So after that we forced our programmer to put in an override switch on the joystick.
So whatever it is you're doing with limit switches, you might want to consider using a button or something to override the code if need be.
