Skip to content

Commit

Permalink
rid of get maximum speed methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack-Haefele committed Feb 1, 2024
1 parent c996d4a commit 95ed78e
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/main/java/frc/robot/subsystems/Drive.java
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,7 @@ public ChassisSpeeds getTargetSpeeds(
headingX,
headingY,
drive.getPose().getRotation().getRadians(),
getMaximumSpeed());
}

private double getMaximumSpeed() {
return Constants.Drive.MAX_SPEED;
}

private double getMaximumAngularSpeed() {
return Constants.Drive.MAX_ANGULAR_SPEED;
Constants.Drive.MAX_SPEED);
}

/** Runs every scheduler run. */
Expand Down

0 comments on commit 95ed78e

Please sign in to comment.