]> git.taranathan.com Git - FRC2026.git/commitdiff
not using spindexer for now
authormaxwtan <100314265+MaxwellTTan20@users.noreply.github.com>
Fri, 27 Feb 2026 06:35:18 +0000 (22:35 -0800)
committermaxwtan <100314265+MaxwellTTan20@users.noreply.github.com>
Fri, 27 Feb 2026 06:35:18 +0000 (22:35 -0800)
src/main/java/frc/robot/commands/gpm/Superstructure.java

index f5707b098589dd3434c36cfdc020fafc5d79d14d..73145cbcdef0aab937089a343ba791ac9a4d0f95 100644 (file)
@@ -195,7 +195,7 @@ public class Superstructure extends Command {
         turret.setFieldRelativeTarget(new Rotation2d(0.0), 0.0);
         hood.setFieldRelativeTarget(Rotation2d.fromDegrees(HoodConstants.MAX_ANGLE), 0.0);
         shooter.setShooter(0.0);
-        spindexer.stopSpindexer();
+        //spindexer.stopSpindexer();
     }
 
     @Override
@@ -220,11 +220,11 @@ public class Superstructure extends Command {
 
             shooter.setShooter(ShotInterpolation.exitVelocityMap.get(goalState.exitVel()));
 
-            if (phaseManager.shouldFeed()) {
-                spindexer.maxSpindexer();
-            } else {
-                spindexer.stopSpindexer();
-            }
+            // if (phaseManager.shouldFeed()) {
+            //     spindexer.maxSpindexer();
+            // } else {
+            //     spindexer.stopSpindexer();
+            // }
         }
 
         SmartDashboard.putNumber("Turret Calculated Setpoint", turretSetpoint);