Blue basket auto comp 2 updates

This commit is contained in:
2024-12-19 15:56:45 -08:00
parent 2720d596b5
commit dbc53bdcd0

View File

@ -38,6 +38,7 @@ public class BlueBasketAuto extends OpMode {
path2 = new HighBasketAutoPath2(); path2 = new HighBasketAutoPath2();
comp = new CometBotTeleopCompetition(hardwareMap, telemetry, gamepad1, gamepad2); comp = new CometBotTeleopCompetition(hardwareMap, telemetry, gamepad1, gamepad2);
comp.initCloseClaw(); comp.initCloseClaw();
runtime = new ElapsedTime();
} }
@ -50,9 +51,12 @@ public class BlueBasketAuto extends OpMode {
runtime.reset(); runtime.reset();
case 1: case 1:
if (runtime.seconds() > 5) { if (runtime.seconds() > 5) {
path2.moveToPath1(follower);
comp.highBucketDrop();
state = 2; state = 2;
} }
case 2:
default: default:
System.out.println("default"); System.out.println("default");
} }