From 5884d7298971d03d26480d7540e37e3d2f0c60ee Mon Sep 17 00:00:00 2001 From: maxwtan <100314265+MaxwellTTan20@users.noreply.github.com> Date: Sat, 7 Feb 2026 10:44:39 -0800 Subject: [PATCH] a --- .../java/frc/robot/subsystems/shooter/FlywheelPhase.java | 1 + src/main/java/frc/robot/subsystems/shooter/Shooter.java | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/src/main/java/frc/robot/subsystems/shooter/FlywheelPhase.java b/src/main/java/frc/robot/subsystems/shooter/FlywheelPhase.java index f088f11..7b43ecf 100644 --- a/src/main/java/frc/robot/subsystems/shooter/FlywheelPhase.java +++ b/src/main/java/frc/robot/subsystems/shooter/FlywheelPhase.java @@ -3,4 +3,5 @@ package frc.robot.subsystems.shooter; public enum FlywheelPhase { MAX, CONSTANT_TORQUE, + START_UP } diff --git a/src/main/java/frc/robot/subsystems/shooter/Shooter.java b/src/main/java/frc/robot/subsystems/shooter/Shooter.java index c3febf3..b46d7f3 100644 --- a/src/main/java/frc/robot/subsystems/shooter/Shooter.java +++ b/src/main/java/frc/robot/subsystems/shooter/Shooter.java @@ -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 -- 2.39.5