Skip to content
This repository was archived by the owner on May 11, 2025. It is now read-only.

Commit ad070f4

Browse files
authored
Merge pull request #194 from AusTINCANsProgrammingTeam/cc4-tweaks
tweak climb rate
2 parents a236255 + cb5c1b7 commit ad070f4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/main/java/frc/robot/subsystems/ClimbSubsystem.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,18 +155,18 @@ public void enableClimb() {
155155
if (joystickAxis > 0.1 || joystickAxis < -0.1) {
156156
if (joystickAxis > 0) {
157157
if (climbHeightOne <= Constants.climbHeightMax) {
158-
climbHeightOne = climbHeightOne + (joystickAxis / 10 * 4);
158+
climbHeightOne = climbHeightOne + (joystickAxis / 10 * 8);
159159
}
160160
if (climbHeightTwo <= Constants.climbHeightMax) {
161-
climbHeightTwo = climbHeightTwo + (joystickAxis / 10 * 4);
161+
climbHeightTwo = climbHeightTwo + (joystickAxis / 10 * 8);
162162
}
163163
}
164164
if (joystickAxis < 0) {
165165
if (climbHeightOne >= 0) {
166-
climbHeightOne = climbHeightOne + (joystickAxis / 10 * 4);
166+
climbHeightOne = climbHeightOne + (joystickAxis / 10 * 6);
167167
}
168168
if (climbHeightTwo >= 0) {
169-
climbHeightTwo = climbHeightTwo + (joystickAxis / 10 * 4);
169+
climbHeightTwo = climbHeightTwo + (joystickAxis / 10 * 6);
170170
}
171171
}
172172
}

0 commit comments

Comments
 (0)