First off you need to read the documentation on Switches in Java and then take a look at your code.
https://docs.oracle.com/javase/tutor...ts/switch.html
Now, on to the first code segment where I see issues.
Code:
public void autonomousPeriodic() {
switch (autoSelected) {
case "doNothing":
break;
default:
case defaultAuto:
LowBarAuton();
//encoderAuto();
break;
// case "spybot":
// SpyBotAuton();
// break;
// case "rampWithStuff":
// RampAuton();
// break;
}
}
Your default case needs to be at the end of the switch statement I believe, and you need a "break;" after the "default:".
You do that correctly in your LowBarAuton() method. Your programmer has assumed that the case "defaultAuto" was set to the default case and I do not believe it has been.