spindex fix

This commit is contained in:
2026-02-28 12:27:53 -06:00
parent fb9cbb1c71
commit 37dca729f0
2 changed files with 9 additions and 9 deletions

View File

@@ -54,7 +54,7 @@ public class AutoActions {
public static double firstSpindexShootPos = spinStartPos; public static double firstSpindexShootPos = spinStartPos;
private boolean shootForward = true; private boolean shootForward = true;
public int motif = 0; public int motif = 0;
double spinEndPos = ServoPositions.spinEndPos; double spinEndPos = 0.95;
private boolean intaking = false; private boolean intaking = false;
public AutoActions(Robot rob, MecanumDrive dri, MultipleTelemetry tel, Servos ser, Flywheel fly, Spindexer spi, Targeting tar, Targeting.Settings tS, Turret tur, Light lig) { public AutoActions(Robot rob, MecanumDrive dri, MultipleTelemetry tel, Servos ser, Flywheel fly, Spindexer spi, Targeting tar, Targeting.Settings tS, Turret tur, Light lig) {
this.robot = rob; this.robot = rob;

View File

@@ -5,19 +5,19 @@ import com.acmerobotics.dashboard.config.Config;
@Config @Config
public class ServoPositions { public class ServoPositions {
public static double spindexer_intakePos1 = 0.18; //0.13; public static double spindexer_intakePos1 = 0.26; //0.13;
public static double spindexer_intakePos2 = 0.37; //0.33;//0.5; public static double spindexer_intakePos2 = 0.45; //0.33;//0.5;
public static double spindexer_intakePos3 = 0.56; //0.53;//0.66; public static double spindexer_intakePos3 = 0.63; //0.53;//0.66;
public static double spindexer_outtakeBall3 = 0.84; //0.65; //0.24; public static double spindexer_outtakeBall3 = 0.91; //0.65; //0.24;
public static double spindexer_outtakeBall3b = 0.27; //0.65; //0.24; public static double spindexer_outtakeBall3b = 0.35; //0.65; //0.24;
public static double spindexer_outtakeBall2 = 0.66; //0.46; //0.6; public static double spindexer_outtakeBall2 = 0.73; //0.46; //0.6;
public static double spindexer_outtakeBall1 = 0.47; //0.27; //0.4; public static double spindexer_outtakeBall1 = 0.54; //0.27; //0.4;
public static double spinStartPos = 0.05; public static double spinStartPos = 0.05;
public static double spinEndPos = 0.95; public static double spinEndPos = 0.6;
public static double shootAllSpindexerSpeedIncrease = 0.0095; public static double shootAllSpindexerSpeedIncrease = 0.0095;