]> git.taranathan.com Git - FRC2026.git/commitdiff
a
authormaxwtan <100314265+MaxwellTTan20@users.noreply.github.com>
Sat, 7 Feb 2026 18:44:39 +0000 (10:44 -0800)
committermaxwtan <100314265+MaxwellTTan20@users.noreply.github.com>
Sat, 7 Feb 2026 18:44:39 +0000 (10:44 -0800)
src/main/java/frc/robot/subsystems/shooter/FlywheelPhase.java
src/main/java/frc/robot/subsystems/shooter/Shooter.java

index f088f11bffe63572d1f6351c33f17a34263b0842..7b43ecf7bcdc3a77d8d162e8ec023f68322d8abd 100644 (file)
@@ -3,4 +3,5 @@ package frc.robot.subsystems.shooter;
 public enum FlywheelPhase {
     MAX,
     CONSTANT_TORQUE,
+    START_UP
 }
index c3febf3f692c4d9d6f9b96ba7555efca7e5bd714..b46d7f32e7f0e26e1898748d2ba10031fbd0b0af 100644 (file)
@@ -42,6 +42,12 @@ public class Shooter extends SubsystemBase implements ShooterIO {
     // for tracking current phase: used to adjust the setting
     private FlywheelPhase phase;
 
+    public enum FlywheelPhase {
+        MAX,
+        CONSTANT_TORQUE,
+        START_UP
+    }    
+
     public Shooter(){
         TalonFXConfiguration config = new TalonFXConfiguration();
         config.Slot0.kP = 676767.0; //tune p value