Skip to content

Commit 6967234

Browse files
committed
fixed elevator gearing and change DIO pins for stages
1 parent f5ccdf0 commit 6967234

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/frc/robot/Constants/Constants.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,10 +205,10 @@ public static final class CAN {
205205
}
206206

207207
public static final class DIO {
208-
public static final int HANG_ENCODER = 0;
208+
public static final int HANG_ENCODER = 10;
209+
public static final int CORAL_BEAM_BREAK = 0;
209210
public static final int ELEVATOR_FLOOR_LIMIT = 1;
210211
public static final int ELEVATOR_CEIL_LIMIT = 2;
211-
public static final int CORAL_BEAM_BREAK = 3;
212212
public static final int MANIPULATOR_ENCODER = 4;
213213
}
214214

@@ -285,13 +285,13 @@ public static final class HANG { // Adjust these as needed
285285

286286
public static final boolean SAFETIES_ENABLED = true;
287287
public static final class ELEVATOR {
288-
public static final double GEARING = (7.5);
288+
public static final double GEARING = 6.3;
289289
public static final Distance CYCLE_HEIGHT = Inches.of(2.16 * Math.PI); // CALCULATE
290290
public static final Distance TOLERANCE = Inches.of(0.5);
291291
public static final Distance Bhobe_HEIGHT = Inches.of(1);
292292

293293
public static final class PROFILE {
294-
public static final double kP = 4.5;
294+
public static final double kP = 9.0;
295295
public static final double kS = 0.1;
296296
}
297297

0 commit comments

Comments
 (0)