Skip to content

Commit

Permalink
Merge pull request #36 from frc937/fix-stop
Browse files Browse the repository at this point in the history
chopped off empty translation
  • Loading branch information
Jack-Haefele authored Feb 1, 2024
2 parents 537f290 + a97b061 commit 4dd5492
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/frc/robot/subsystems/Drive.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ public void driveFieldOriented(Translation2d translation, double z) {

/** Stops all motors in the subsystem. */
public void stop() {
drive.drive(
Constants.Drive.EMPTY_TRANSLATION, 0, false, false, Constants.Drive.EMPTY_TRANSLATION);
drive.drive(Constants.Drive.EMPTY_TRANSLATION, 0, false, false);
}

/** Points the wheels toward the inside and stops the wheels from moving in any direction. */
Expand Down

0 comments on commit 4dd5492

Please sign in to comment.