Blue basket auto comp 2 updates
This commit is contained in:
@ -38,6 +38,7 @@ public class BlueBasketAuto extends OpMode {
|
||||
path2 = new HighBasketAutoPath2();
|
||||
comp = new CometBotTeleopCompetition(hardwareMap, telemetry, gamepad1, gamepad2);
|
||||
comp.initCloseClaw();
|
||||
runtime = new ElapsedTime();
|
||||
}
|
||||
|
||||
|
||||
@ -50,9 +51,12 @@ public class BlueBasketAuto extends OpMode {
|
||||
runtime.reset();
|
||||
case 1:
|
||||
if (runtime.seconds() > 5) {
|
||||
path2.moveToPath1(follower);
|
||||
|
||||
comp.highBucketDrop();
|
||||
state = 2;
|
||||
}
|
||||
case 2:
|
||||
|
||||
default:
|
||||
System.out.println("default");
|
||||
}
|
||||
|
Reference in New Issue
Block a user