Skip to content

Commit

Permalink
Clean up stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
GreenTomato5 committed Oct 14, 2024
1 parent 99c0f4a commit 52758d6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/java/frc/robot/subsystems/drive/Drive.java
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public Drive(

lastHeadingRadians = poseEstimator.getEstimatedPosition().getRotation().getRadians();
headingCorrectionEnabled = true;
// TODO: Tune

headingCorrectionController = new PIDController(
Constants.Drive.HEADING_CORRECTION_PID.kP,
Constants.Drive.HEADING_CORRECTION_PID.kI,
Expand Down Expand Up @@ -119,8 +119,6 @@ public void runState() {
// Can't run in auto otherwise it will constantly tell drive not to drive in
// auto (and thats not
// good)
// Logger.recordOutput("driveState", getState());
// TODO: TURN ON HEADING CORRECTION LATER
if (DriverStation.isTeleop() && getState() != DriveStates.AUTO_ALIGN) {
drive(
this,
Expand Down

0 comments on commit 52758d6

Please sign in to comment.