Skip to content

Commit b76b349

Browse files
committed
Tune Hood Constants
1 parent 221180a commit b76b349

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -276,12 +276,12 @@ public static final class VisionConstants {
276276
public static final int kShooterIndex = 2;
277277
public static final int kHoodIndex = 3;
278278
// + is left
279-
public static final double kHorizAngleCorrection = 3;
279+
public static final double kHorizAngleCorrection = 2.5;
280280
// + is further along track and lower
281-
public static final int kHoodInchesCorrectionR1 = 0; // 8-15 feet
282-
public static final int kHoodInchesCorrectionR2 = 0; // 15-19 feet
283-
public static final int kHoodInchesCorrectionR3 = 0; // 19-25 feet
284-
public static final int kHoodInchesCorrectionR4 = 0; // 25+ feet
281+
public static final int kHoodInchesCorrectionR1 = 20; // 8-15 feet
282+
public static final int kHoodInchesCorrectionR2 = 13; // 15-19 feet (old 10)
283+
public static final int kHoodInchesCorrectionR3 = 10; // 19-25 feet
284+
public static final int kHoodInchesCorrectionR4 = 20; // 25+ feet
285285
public static final int kHoodTicksPerInchR1 = 40; // 8-15 feet
286286
public static final int kHoodTicksPerInchR2 = 75; // 15-19 feet
287287
public static final int kHoodTicksPerInchR3 = 75; // 19-25 feet
@@ -304,7 +304,7 @@ public static class CompConstants {
304304
public static final double kMinStringPotZero = 0;
305305

306306
// Hood
307-
public static final int kHoodZeroTicks = 2008; // gut check: 162
307+
public static final int kHoodZeroTicks = 2118; // gut check: 162
308308

309309
// Camera
310310
public static final String kCameraId = "A0";

0 commit comments

Comments
 (0)