Skip to content

Commit

Permalink
soft limit change on elevator
Browse files Browse the repository at this point in the history
  • Loading branch information
cherriae committed Oct 29, 2024
1 parent 010b44b commit 17b4958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/subsystems/ElevatorSubsystem.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public ElevatorSubsystem() {

SoftwareLimitSwitchConfigs softLimits = new SoftwareLimitSwitchConfigs();

softLimits.ForwardSoftLimitThreshold = 0.5 * Physical.ELEVATOR_GEAR_RATIO / Physical.ELEVATOR_DISTANCE_PER_ROTATION;
softLimits.ForwardSoftLimitThreshold = 0.55 * Physical.ELEVATOR_GEAR_RATIO / Physical.ELEVATOR_DISTANCE_PER_ROTATION;
softLimits.ReverseSoftLimitThreshold = 0;

softLimits.ForwardSoftLimitEnable = true;
Expand Down

0 comments on commit 17b4958

Please sign in to comment.