Skip to content

Commit

Permalink
Qual 35: update auto and re-enable softlimits on climberarms
Browse files Browse the repository at this point in the history
  • Loading branch information
Lu-han-wang committed Apr 4, 2024
1 parent 8aee482 commit e05d744
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public ClimberSubsystem() {
rightClimber.setSoftLimit(SoftLimitDirection.kReverse, 0);
leftClimber.setSoftLimit(SoftLimitDirection.kForward, 34);
rightClimber.setSoftLimit(SoftLimitDirection.kForward, 34);
setSoftLimit(false);
setSoftLimit(true);
leftClimber.setIdleMode(IdleMode.kBrake);
rightClimber.setIdleMode(IdleMode.kBrake);
leftClimberEncoder.setPositionConversionFactor((5.0 * 4.0) / 100.0); // 20:1 gear reduction
Expand Down

0 comments on commit e05d744

Please sign in to comment.