diff --git a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Name.java b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Name.java index 8b6d7f737..b1e90157b 100644 --- a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Name.java +++ b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Name.java @@ -43,6 +43,16 @@ public class Name extends LinearOpMode { MovementLibrary.setDirectionForward(rightHandWheel, rightLegWheel, leftHandWheel,leftLegWheel); + //from this + DcMotor[] motors = {rightHandWheel, leftHandWheel, rightLegWheel, leftLegWheel}; + + //thismotors + MovementLibrary.setDirectionForward(motors); + + // Wait for the game to start (driver presses {Play + waitForStart(); + + // Wait for the game to start (driver presses PLAY) waitForStart();