helloworld

This commit is contained in:
GZod01 2024-04-01 17:08:48 +02:00
parent 60d01e81f5
commit 8e0e66a855

View file

@ -391,15 +391,15 @@ public class WEROBOT_FTC2024_New_carlike extends LinearOpMode {
}
}
public void nextMode(){
this.RobotMode toNextMode;
RobotMode toNextMode;
switch(this.mode){
case (this.RobotMode.ESSAIFRANCK):
case (ESSAIFRANCK):
toNextMode = this.RobotMode.ELINA;
break;
case (this.RobotMode.ELINA):
case (ELINA):
toNextMode = this.RobotMode.NORMAL;
break;
case (this.RobotMode.NORMAL):
case (NORMAL):
toNextMode = this.RobotMode.TANK;
break;
default: