From bab3f890fb9f0c93af3813a1242905807906e57e Mon Sep 17 00:00:00 2001 From: EdwardFaucher Date: Tue, 29 Nov 2022 18:06:01 -0500 Subject: [PATCH] dtfycg --- src/main/java/frc/robot/subsystems/BasePilotable.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/frc/robot/subsystems/BasePilotable.java b/src/main/java/frc/robot/subsystems/BasePilotable.java index b922d33..48a5cc9 100644 --- a/src/main/java/frc/robot/subsystems/BasePilotable.java +++ b/src/main/java/frc/robot/subsystems/BasePilotable.java @@ -29,11 +29,10 @@ public double getangle() { return gyroscope.getAngle(); } public void drive(double y, double x, double rot){ - mecanum.driveCartesian(y, x, rot, getangle()); + mecanum.driveCartesian(y, x, rot, 0); } /** Creates a new BasePilotable. */ public BasePilotable() { - avantDroit.setInverted(false); arriereDroit.setInverted(true); avantGauche.setInverted(true); }