diff --git a/src/main/java/frc/robot/subsystems/BasePilotable.java b/src/main/java/frc/robot/subsystems/BasePilotable.java index 2ff3688..69d9347 100644 --- a/src/main/java/frc/robot/subsystems/BasePilotable.java +++ b/src/main/java/frc/robot/subsystems/BasePilotable.java @@ -31,7 +31,7 @@ public double getangle() { return gyroscope.getAngle(); } public void drive(double y, double x, double rot){ - mecanum.driveCartesian(y, x, rot, 0); + mecanum.driveCartesian(y, x, rot, getangle()); } public void resetgyro(){ try { gyroscope.reset(); } catch( Exception e) {DriverStation.reportError("bye bye", true); }