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); }