Skip to content

Commit

Permalink
used the correct method to get maximum drivetrain speed
Browse files Browse the repository at this point in the history
  • Loading branch information
willitcode committed Mar 25, 2024
1 parent 96a810e commit dca0fd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/subsystems/Drive.java
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public ChassisSpeeds getTargetSpeeds(
headingX,
headingY,
drive.getPose().getRotation().getRadians(),
Constants.Drive.MAX_SPEED);
getMaximumSpeed());
}

/**
Expand Down

0 comments on commit dca0fd9

Please sign in to comment.