diff --git a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Autonomoustest.java b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Autonomoustest.java index d7154b7..03a07a8 100644 --- a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Autonomoustest.java +++ b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Autonomoustest.java @@ -258,7 +258,7 @@ public class Autonomoustest extends LinearOpMode { driveForward(26); int blueleft = readColorLeft(); int blueright = readColorRight(); - double backboard = 29; + // double backboard = 29; -- not used if (blueleft > 50 ) { //telemetry.addData("color sensor","left"); @@ -398,7 +398,7 @@ public class Autonomoustest extends LinearOpMode { // onto the next step, use (isBusy() || isBusy()) in the loop test. while (opModeIsActive() && (runtime.seconds() < timeoutS) && - (leftDrive.isBusy() && rightDrive.isBusy() && backleftDrive.isBusy() && backrightDrive.isBusy() && backrightDrive.isBusy())) { + (leftDrive.isBusy() && rightDrive.isBusy() && backleftDrive.isBusy() && backrightDrive.isBusy())) { // Display it for the driver. telemetry.addData("Running to", " %7d :%7d", newLeftTarget, newRightTarget);