Skip to content

Commit 11ef1bd

Browse files
authored
Merge pull request #241 from strykeforce/hotfix-19-5-1
Hotfix 19-5-0
2 parents 5b0b716 + 876796e commit 11ef1bd

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/main/java/frc/team2767/deepspace/command/sequences/pickup/CoconutPickupAutoRetryCommand.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ public class CoconutPickupAutoRetryCommand extends Command {
1717
private static final double WAIT_TIME = 1000; // ms
1818
private static final double DOWN_TIMEOUT = 1500;
1919
private static final double RESET_HEIGHT = 20.25;
20-
private static final double STRING_COMPRESSED_LENGTH = 223.0; // full length is 252
21-
private static double DOWN_SPEED = -0.35;
20+
private static final double STRING_COMPRESSED_LENGTH = 230.0; // full length is 252, was 223
21+
private static double DOWN_SPEED = -0.37; // was 35
2222
private PickupState state;
2323
private double initialPressure;
2424
private double startSealTime;

src/main/kotlin/frc/team2767/deepspace/command/HealthCheckCommand.kt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,34 +118,34 @@ class HealthCheckCommand : Command() {
118118
name = "elevator position tests"
119119
talons = Robot.ELEVATOR.talons
120120

121-
val elevatorDownCurrentRange = 0.5..3.0
122-
val elevatorUpCurrentRange = 0.5..3.0
121+
val elevatorDownCurrentRange = 0.25..1.5
122+
val elevatorUpCurrentRange = 2.0..3.5
123123

124124
positionTalon {
125125
encoderTarget = 10_000
126126
encoderGoodEnough = 100
127127
}
128128

129129
positionTest {
130-
percentOutput = 0.2
130+
percentOutput = 0.23
131131

132132
encoderChangeTarget = 15_000
133133
encoderGoodEnough = 500
134134
encoderTimeOutCount = 5000
135135

136136
currentRange = elevatorUpCurrentRange
137-
speedRange = 200..300
137+
speedRange = 250..450
138138
}
139139

140140
positionTest {
141-
percentOutput = -0.2
141+
percentOutput = -0.183
142142

143143
encoderChangeTarget = 15_000
144144
encoderGoodEnough = 500
145145
encoderTimeOutCount = 5000
146146

147147
currentRange = elevatorDownCurrentRange
148-
speedRange = -900..-750
148+
speedRange = -750..-550
149149
}
150150
}
151151

0 commit comments

Comments
 (0)