Do you guys think this would work?
Code:
robotInit(){
boolean = false;
}
autonomousPeriodic(){
boolean = true;
}
teleopInit(){
if(boolean == true){
shoulder.set(shoulderDocked);
elbow.set(elbowDocked);
}
boolean = false;
}
The thing is I'd need to reset the roboRio if I wanted to ever test autonomous and teleop NOT in practice mode.