Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
final
Browse files Browse the repository at this point in the history
  • Loading branch information
jack60612 committed Jan 24, 2024
1 parent 40aa157 commit 1f79f54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/subsystems/DriveSubsystem.java
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ public void setWheelVelocities(DifferentialDriveWheelSpeeds speeds) {

// in meters, use averageDistance() to get average distance traveled, as an offset to set this
// function.
public void driveToPosition(double NewPosition) {
public void driveToPosition(final double NewPosition) {
m_backLeftPIDController.setReference(
NewPosition, CANSparkBase.ControlType.kPosition, DriveConstants.kDrivetrainPositionPIDSlot);
m_backRightPIDController.setReference(
Expand Down

0 comments on commit 1f79f54

Please sign in to comment.