From 5d99d9443043ba17847c00b3bc608cb3b43b2a4b Mon Sep 17 00:00:00 2001 From: robotics3 Date: Tue, 26 Mar 2024 16:16:22 -0700 Subject: [PATCH] I type --- .../main/java/org/firstinspires/ftc/teamcode/Name.java | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 a22c527fb..41fe4feb8 100644 --- a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Name.java +++ b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Name.java @@ -40,6 +40,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();