From cc8b126e7587a9ecf2e1834810b3069711b5cbf9 Mon Sep 17 00:00:00 2001 From: carlos Date: Tue, 3 Sep 2024 15:57:13 -0700 Subject: [PATCH] Set correct wheel direction --- .../java/org/firstinspires/ftc/teamcode/MecanumDrive.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/MecanumDrive.java b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/MecanumDrive.java index 143a079..7f87393 100644 --- a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/MecanumDrive.java +++ b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/MecanumDrive.java @@ -227,8 +227,10 @@ public final class MecanumDrive { // TODO: reverse motor directions if needed // leftFront.setDirection(DcMotorSimple.Direction.REVERSE); - rightFront.setDirection(DcMotorSimple.Direction.REVERSE); - rightBack.setDirection(DcMotorSimple.Direction.REVERSE); + rightFront.setDirection(DcMotorSimple.Direction.FORWARD); + rightBack.setDirection(DcMotorSimple.Direction.FORWARD); + leftFront.setDirection(DcMotorSimple.Direction.REVERSE); + leftBack.setDirection(DcMotorSimple.Direction.REVERSE); // TODO: make sure your config has an IMU with this name (can be BNO or BHI)