The code supplied is not going to work at all. The operatorControl() function is only called once, so it's necessary to surround all of the control logic in a while loop
Code:
while(isEnabled() && isOperatorControl()) {
// code goes here
}
__________________
2013 MUC DC 3rd Place, FRC DC Regional, FRC Chesapeake Regional
2012 FRC DC Regional, FRC Chesapeake Regional
ERHS Robotics Club
- FRC Team 53 "Area 53"
www.erhsroboticsclub.org