Skip to content
This repository has been archived by the owner on Apr 20, 2024. It is now read-only.

Commit

Permalink
add constants from robotconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
rhetorr committed Feb 15, 2024
1 parent 774f3b6 commit ce367ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/frc/robot/elevator/ElevatorSubsystem.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ public class ElevatorSubsystem extends LifecycleSubsystem {
private static final double TOLERANCE = 0.0;

// Add to config
private static double minHeight = 0.0;
private static double maxHeight = 0.0;
private static double minHeight = RobotConfig.get().elevator().maxHeight();
private static double maxHeight = RobotConfig.get().elevator().minHeight();

// Homing
private boolean preMatchHomingOccured = false;
Expand Down

0 comments on commit ce367ac

Please sign in to comment.