From 7b7022d307b1857e454398c29fcbe991208e3b4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E9=87=87=E5=80=A2?= Date: Thu, 29 Jan 2026 18:35:35 +0800 Subject: [PATCH 01/13] =?UTF-8?q?Shooter=20Subsystem=20=E5=88=9D=E7=A8=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/frc/robot/subsystems/ShooterSubsystem.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main/java/frc/robot/subsystems/ShooterSubsystem.java b/src/main/java/frc/robot/subsystems/ShooterSubsystem.java index 67086a3..4bfcbc3 100644 --- a/src/main/java/frc/robot/subsystems/ShooterSubsystem.java +++ b/src/main/java/frc/robot/subsystems/ShooterSubsystem.java @@ -4,21 +4,27 @@ package frc.robot.subsystems; +import edu.wpi.first.wpilibj.motorcontrol.PWMSparkMax; import edu.wpi.first.wpilibj2.command.SubsystemBase; public class ShooterSubsystem extends SubsystemBase { /** Creates a new ShooterSubsystem. */ public ShooterSubsystem() {} - private void shoot() { + private final PWMSparkMax shooter = new PWMSparkMax(0); + private void shoot() { + shooter.set(0.6); } + + private void feed() { } private void stopShooter() { + shooter.set(0); } From 09d8545b8922edf7f9d026adffd9eef01e11010f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E9=87=87=E5=80=A2?= Date: Thu, 29 Jan 2026 20:54:40 +0800 Subject: [PATCH 02/13] Shooter Subsystem 2 --- .vscode/launch.json | 12 +- .../robot/subsystems/ShooterSubsystem.java | 5 +- vendordeps/REVLib.json | 133 ++++++++++++++++++ 3 files changed, 145 insertions(+), 5 deletions(-) create mode 100644 vendordeps/REVLib.json diff --git a/.vscode/launch.json b/.vscode/launch.json index c9c9713..8848125 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -4,18 +4,24 @@ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ - + { + "type": "java", + "name": "Main", + "request": "launch", + "mainClass": "frc.robot.Main", + "projectName": "2026Overlooking" + }, { "type": "wpilib", "name": "WPILib Desktop Debug", "request": "launch", - "desktop": true, + "desktop": true }, { "type": "wpilib", "name": "WPILib roboRIO Debug", "request": "launch", - "desktop": false, + "desktop": false } ] } diff --git a/src/main/java/frc/robot/subsystems/ShooterSubsystem.java b/src/main/java/frc/robot/subsystems/ShooterSubsystem.java index 4bfcbc3..99142aa 100644 --- a/src/main/java/frc/robot/subsystems/ShooterSubsystem.java +++ b/src/main/java/frc/robot/subsystems/ShooterSubsystem.java @@ -4,14 +4,15 @@ package frc.robot.subsystems; -import edu.wpi.first.wpilibj.motorcontrol.PWMSparkMax; +import com.revrobotics.spark.SparkLowLevel.MotorType; +import com.revrobotics.spark.SparkMax; import edu.wpi.first.wpilibj2.command.SubsystemBase; public class ShooterSubsystem extends SubsystemBase { /** Creates a new ShooterSubsystem. */ public ShooterSubsystem() {} - private final PWMSparkMax shooter = new PWMSparkMax(0); + private final SparkMax shooter = new SparkMax(0, null); private void shoot() { shooter.set(0.6); diff --git a/vendordeps/REVLib.json b/vendordeps/REVLib.json new file mode 100644 index 0000000..d35e593 --- /dev/null +++ b/vendordeps/REVLib.json @@ -0,0 +1,133 @@ +{ + "fileName": "REVLib.json", + "name": "REVLib", + "version": "2026.0.1", + "frcYear": "2026", + "uuid": "3f48eb8c-50fe-43a6-9cb7-44c86353c4cb", + "mavenUrls": [ + "https://maven.revrobotics.com/" + ], + "jsonUrl": "https://software-metadata.revrobotics.com/REVLib-2026.json", + "javaDependencies": [ + { + "groupId": "com.revrobotics.frc", + "artifactId": "REVLib-java", + "version": "2026.0.1" + } + ], + "jniDependencies": [ + { + "groupId": "com.revrobotics.frc", + "artifactId": "REVLib-driver", + "version": "2026.0.1", + "skipInvalidPlatforms": true, + "isJar": false, + "validPlatforms": [ + "windowsx86-64", + "linuxarm64", + "linuxx86-64", + "linuxathena", + "linuxarm32", + "osxuniversal" + ] + }, + { + "groupId": "com.revrobotics.frc", + "artifactId": "RevLibBackendDriver", + "version": "2026.0.1", + "skipInvalidPlatforms": true, + "isJar": false, + "validPlatforms": [ + "windowsx86-64", + "linuxarm64", + "linuxx86-64", + "linuxathena", + "linuxarm32", + "osxuniversal" + ] + }, + { + "groupId": "com.revrobotics.frc", + "artifactId": "RevLibWpiBackendDriver", + "version": "2026.0.1", + "skipInvalidPlatforms": true, + "isJar": false, + "validPlatforms": [ + "windowsx86-64", + "linuxarm64", + "linuxx86-64", + "linuxathena", + "linuxarm32", + "osxuniversal" + ] + } + ], + "cppDependencies": [ + { + "groupId": "com.revrobotics.frc", + "artifactId": "REVLib-cpp", + "version": "2026.0.1", + "libName": "REVLib", + "headerClassifier": "headers", + "sharedLibrary": false, + "skipInvalidPlatforms": true, + "binaryPlatforms": [ + "windowsx86-64", + "linuxarm64", + "linuxx86-64", + "linuxathena", + "linuxarm32", + "osxuniversal" + ] + }, + { + "groupId": "com.revrobotics.frc", + "artifactId": "REVLib-driver", + "version": "2026.0.1", + "libName": "REVLibDriver", + "headerClassifier": "headers", + "sharedLibrary": false, + "skipInvalidPlatforms": true, + "binaryPlatforms": [ + "windowsx86-64", + "linuxarm64", + "linuxx86-64", + "linuxathena", + "linuxarm32", + "osxuniversal" + ] + }, + { + "groupId": "com.revrobotics.frc", + "artifactId": "RevLibBackendDriver", + "version": "2026.0.1", + "libName": "BackendDriver", + "sharedLibrary": true, + "skipInvalidPlatforms": true, + "binaryPlatforms": [ + "windowsx86-64", + "linuxarm64", + "linuxx86-64", + "linuxathena", + "linuxarm32", + "osxuniversal" + ] + }, + { + "groupId": "com.revrobotics.frc", + "artifactId": "RevLibWpiBackendDriver", + "version": "2026.0.1", + "libName": "REVLibWpi", + "sharedLibrary": true, + "skipInvalidPlatforms": true, + "binaryPlatforms": [ + "windowsx86-64", + "linuxarm64", + "linuxx86-64", + "linuxathena", + "linuxarm32", + "osxuniversal" + ] + } + ] +} \ No newline at end of file From 29c40d7f23eacc37ef2a2ea790e371b5cfd647dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E9=87=87=E5=80=A2?= Date: Fri, 30 Jan 2026 19:44:25 +0800 Subject: [PATCH 03/13] [Shooter] style: restore launch.json to original version --- .vscode/launch.json | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 8848125..c9c9713 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -4,24 +4,18 @@ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ - { - "type": "java", - "name": "Main", - "request": "launch", - "mainClass": "frc.robot.Main", - "projectName": "2026Overlooking" - }, + { "type": "wpilib", "name": "WPILib Desktop Debug", "request": "launch", - "desktop": true + "desktop": true, }, { "type": "wpilib", "name": "WPILib roboRIO Debug", "request": "launch", - "desktop": false + "desktop": false, } ] } From 3ee42c13bb7a82fa8dd84c0c2c91ad827eebccf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E9=87=87=E5=80=A2?= Date: Sun, 8 Feb 2026 14:45:19 +0800 Subject: [PATCH 04/13] =?UTF-8?q?[Shooter]=20feat:=E6=96=B0=E5=A2=9Efeedfo?= =?UTF-8?q?ward?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/frc/robot/Constants.java | 10 +++++++ .../robot/subsystems/ShooterSubsystem.java | 29 ++++++++++++------- 2 files changed, 28 insertions(+), 11 deletions(-) diff --git a/src/main/java/frc/robot/Constants.java b/src/main/java/frc/robot/Constants.java index e5fbceb..8b74b98 100644 --- a/src/main/java/frc/robot/Constants.java +++ b/src/main/java/frc/robot/Constants.java @@ -6,5 +6,15 @@ /** Add your docs here. */ public class Constants { + public class ShooterConstants{ + public static final int shooterMotorID = 0; + public static final double shooterMotorSpeed = 0.6; + public static final double feedforwardKs = 0; + public static final double feedforwardKv = 0; + public static final double feedforwardKa = 0; + public static final int encoderChannelA = 0; + public static final int encoderChannelB = 0; + + } } diff --git a/src/main/java/frc/robot/subsystems/ShooterSubsystem.java b/src/main/java/frc/robot/subsystems/ShooterSubsystem.java index 99142aa..4f6ffc7 100644 --- a/src/main/java/frc/robot/subsystems/ShooterSubsystem.java +++ b/src/main/java/frc/robot/subsystems/ShooterSubsystem.java @@ -5,28 +5,35 @@ package frc.robot.subsystems; import com.revrobotics.spark.SparkLowLevel.MotorType; +import com.ctre.phoenix.motorcontrol.ControlMode; +import com.ctre.phoenix.motorcontrol.can.VictorSPX; import com.revrobotics.spark.SparkMax; + +import edu.wpi.first.math.controller.SimpleMotorFeedforward; +import edu.wpi.first.wpilibj.Encoder; +import edu.wpi.first.wpilibj.motorcontrol.MotorController; import edu.wpi.first.wpilibj2.command.SubsystemBase; +import frc.robot.Constants.ShooterConstants; public class ShooterSubsystem extends SubsystemBase { /** Creates a new ShooterSubsystem. */ - public ShooterSubsystem() {} - - private final SparkMax shooter = new SparkMax(0, null); - - private void shoot() { - shooter.set(0.6); + public ShooterSubsystem() { } - + private final VictorSPX shooterMotor = new VictorSPX(ShooterConstants.shooterMotorID); + private final Encoder shooterEncoder = new Encoder(ShooterConstants.encoderChannelA, ShooterConstants.encoderChannelB); + private final SimpleMotorFeedforward feedforward = new SimpleMotorFeedforward(ShooterConstants.feedforwardKs, ShooterConstants.feedforwardKv, ShooterConstants.feedforwardKa); - private void feed() { + private void shoot() { + //shooterMotor.set(ShooterConstants.shooterMotorSpeed); + double targetVelocity = 4000; + double feedforwardVoltage = feedforward.calculate(targetVelocity); + shooterMotor.set(); } - - private void stopShooter() { - shooter.set(0); + private void stopShooter() { + shooterMotor.set(0); } @Override From 78cbc4bb54083a9fe1b3d24e4a20ef06c44f182b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E9=87=87=E5=80=A2?= Date: Sun, 8 Feb 2026 15:44:33 +0800 Subject: [PATCH 05/13] [Shooter] style: adjust constants formatting --- src/main/java/frc/robot/Constants.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/frc/robot/Constants.java b/src/main/java/frc/robot/Constants.java index 8b74b98..479f68c 100644 --- a/src/main/java/frc/robot/Constants.java +++ b/src/main/java/frc/robot/Constants.java @@ -6,7 +6,7 @@ /** Add your docs here. */ public class Constants { - public class ShooterConstants{ + public static final class ShooterConstants { public static final int shooterMotorID = 0; public static final double shooterMotorSpeed = 0.6; public static final double feedforwardKs = 0; From a17daf8128df19dc1e4472987c603a6543c57237 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E9=87=87=E5=80=A2?= Date: Sun, 8 Feb 2026 15:50:39 +0800 Subject: [PATCH 06/13] =?UTF-8?q?[Shooter]=20style:=20=E8=AA=BF=E6=95=B4?= =?UTF-8?q?=E7=B8=AE=E6=8E=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/frc/robot/Constants.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/main/java/frc/robot/Constants.java b/src/main/java/frc/robot/Constants.java index 479f68c..9f885d2 100644 --- a/src/main/java/frc/robot/Constants.java +++ b/src/main/java/frc/robot/Constants.java @@ -6,15 +6,15 @@ /** Add your docs here. */ public class Constants { - public static final class ShooterConstants { - public static final int shooterMotorID = 0; - public static final double shooterMotorSpeed = 0.6; - public static final double feedforwardKs = 0; - public static final double feedforwardKv = 0; - public static final double feedforwardKa = 0; - public static final int encoderChannelA = 0; - public static final int encoderChannelB = 0; + public static final class ShooterConstants { + public static final int shooterMotorID = 0; + public static final double shooterMotorSpeed = 0.6; + public static final double feedforwardKs = 0; + public static final double feedforwardKv = 0; + public static final double feedforwardKa = 0; + public static final int encoderChannelA = 0; + public static final int encoderChannelB = 0; - } + } } From 206838ece417a1c4fe7ed1eccd5b40e49bf53ef4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E9=87=87=E5=80=A2?= Date: Sun, 8 Feb 2026 16:17:53 +0800 Subject: [PATCH 07/13] [Shooter] feat: add target velocity to Constants and fix import formatting --- .../java/frc/robot/subsystems/ShooterSubsystem.java | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/main/java/frc/robot/subsystems/ShooterSubsystem.java b/src/main/java/frc/robot/subsystems/ShooterSubsystem.java index 4f6ffc7..6fbceef 100644 --- a/src/main/java/frc/robot/subsystems/ShooterSubsystem.java +++ b/src/main/java/frc/robot/subsystems/ShooterSubsystem.java @@ -4,15 +4,16 @@ package frc.robot.subsystems; -import com.revrobotics.spark.SparkLowLevel.MotorType; import com.ctre.phoenix.motorcontrol.ControlMode; import com.ctre.phoenix.motorcontrol.can.VictorSPX; +import com.revrobotics.spark.SparkLowLevel.MotorType; import com.revrobotics.spark.SparkMax; import edu.wpi.first.math.controller.SimpleMotorFeedforward; import edu.wpi.first.wpilibj.Encoder; import edu.wpi.first.wpilibj.motorcontrol.MotorController; import edu.wpi.first.wpilibj2.command.SubsystemBase; + import frc.robot.Constants.ShooterConstants; public class ShooterSubsystem extends SubsystemBase { @@ -21,13 +22,13 @@ public ShooterSubsystem() { } private final VictorSPX shooterMotor = new VictorSPX(ShooterConstants.shooterMotorID); - private final Encoder shooterEncoder = new Encoder(ShooterConstants.encoderChannelA, ShooterConstants.encoderChannelB); - private final SimpleMotorFeedforward feedforward = new SimpleMotorFeedforward(ShooterConstants.feedforwardKs, ShooterConstants.feedforwardKv, ShooterConstants.feedforwardKa); - + private final Encoder shooterEncoder = new Encoder(ShooterConstants.encoderChannelA, + ShooterConstants.encoderChannelB); + private final SimpleMotorFeedforward feedforward = new SimpleMotorFeedforward(ShooterConstants.feedforwardKs, + ShooterConstants.feedforwardKv, ShooterConstants.feedforwardKa); private void shoot() { - //shooterMotor.set(ShooterConstants.shooterMotorSpeed); - double targetVelocity = 4000; + double targetVelocity = ShooterConstants.targetVelocity; double feedforwardVoltage = feedforward.calculate(targetVelocity); shooterMotor.set(); } From b5018ff45014f3ffed2f1ed127f922258fd61052 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E9=87=87=E5=80=A2?= Date: Sun, 8 Feb 2026 16:27:42 +0800 Subject: [PATCH 08/13] =?UTF-8?q?[Shooter]=20style:=20=E8=AA=BF=E6=95=B4im?= =?UTF-8?q?port=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/frc/robot/subsystems/ShooterSubsystem.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/frc/robot/subsystems/ShooterSubsystem.java b/src/main/java/frc/robot/subsystems/ShooterSubsystem.java index 6fbceef..1e8bdc3 100644 --- a/src/main/java/frc/robot/subsystems/ShooterSubsystem.java +++ b/src/main/java/frc/robot/subsystems/ShooterSubsystem.java @@ -8,12 +8,10 @@ import com.ctre.phoenix.motorcontrol.can.VictorSPX; import com.revrobotics.spark.SparkLowLevel.MotorType; import com.revrobotics.spark.SparkMax; - import edu.wpi.first.math.controller.SimpleMotorFeedforward; import edu.wpi.first.wpilibj.Encoder; import edu.wpi.first.wpilibj.motorcontrol.MotorController; import edu.wpi.first.wpilibj2.command.SubsystemBase; - import frc.robot.Constants.ShooterConstants; public class ShooterSubsystem extends SubsystemBase { From 17cb7fec2ea4f353de4e59fdd31c1a8cbf459425 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E9=87=87=E5=80=A2?= Date: Sun, 8 Feb 2026 17:46:56 +0800 Subject: [PATCH 09/13] [Shooter] feat: add setShooterVoltage method --- src/main/java/frc/robot/subsystems/ShooterSubsystem.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/java/frc/robot/subsystems/ShooterSubsystem.java b/src/main/java/frc/robot/subsystems/ShooterSubsystem.java index 1e8bdc3..f911410 100644 --- a/src/main/java/frc/robot/subsystems/ShooterSubsystem.java +++ b/src/main/java/frc/robot/subsystems/ShooterSubsystem.java @@ -25,10 +25,15 @@ public ShooterSubsystem() { private final SimpleMotorFeedforward feedforward = new SimpleMotorFeedforward(ShooterConstants.feedforwardKs, ShooterConstants.feedforwardKv, ShooterConstants.feedforwardKa); + private void setShooterVoltage(double voltage) { + shooterMotor.set(ControlMode.PercentOutput, voltage / shooterMotor.getBusVoltage()); + + } + private void shoot() { double targetVelocity = ShooterConstants.targetVelocity; double feedforwardVoltage = feedforward.calculate(targetVelocity); - shooterMotor.set(); + shooterMotor.set(ControlMode.PercentOutput, feedforwardVoltage); } private void stopShooter() { From 88cf09dd651e4ba4bfdcd28cde355dd3d5fac2f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E9=87=87=E5=80=A2?= Date: Sun, 8 Feb 2026 21:57:04 +0800 Subject: [PATCH 10/13] =?UTF-8?q?[Shooter]feat:=20=E6=96=B0=E5=A2=9EgetSho?= =?UTF-8?q?oterVelocity=E8=88=87isShooterAtSpeed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../robot/subsystems/ShooterSubsystem.java | 23 +++++++++++-------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/src/main/java/frc/robot/subsystems/ShooterSubsystem.java b/src/main/java/frc/robot/subsystems/ShooterSubsystem.java index f911410..c2d321a 100644 --- a/src/main/java/frc/robot/subsystems/ShooterSubsystem.java +++ b/src/main/java/frc/robot/subsystems/ShooterSubsystem.java @@ -6,38 +6,43 @@ import com.ctre.phoenix.motorcontrol.ControlMode; import com.ctre.phoenix.motorcontrol.can.VictorSPX; -import com.revrobotics.spark.SparkLowLevel.MotorType; -import com.revrobotics.spark.SparkMax; import edu.wpi.first.math.controller.SimpleMotorFeedforward; import edu.wpi.first.wpilibj.Encoder; -import edu.wpi.first.wpilibj.motorcontrol.MotorController; import edu.wpi.first.wpilibj2.command.SubsystemBase; import frc.robot.Constants.ShooterConstants; public class ShooterSubsystem extends SubsystemBase { /** Creates a new ShooterSubsystem. */ - public ShooterSubsystem() { - } - private final VictorSPX shooterMotor = new VictorSPX(ShooterConstants.shooterMotorID); private final Encoder shooterEncoder = new Encoder(ShooterConstants.encoderChannelA, ShooterConstants.encoderChannelB); private final SimpleMotorFeedforward feedforward = new SimpleMotorFeedforward(ShooterConstants.feedforwardKs, ShooterConstants.feedforwardKv, ShooterConstants.feedforwardKa); + public ShooterSubsystem() { + shooterEncoder.setDistancePerPulse((double) 1 / 2048); + } + private void setShooterVoltage(double voltage) { shooterMotor.set(ControlMode.PercentOutput, voltage / shooterMotor.getBusVoltage()); - } private void shoot() { double targetVelocity = ShooterConstants.targetVelocity; double feedforwardVoltage = feedforward.calculate(targetVelocity); - shooterMotor.set(ControlMode.PercentOutput, feedforwardVoltage); + setShooterVoltage(feedforwardVoltage); } private void stopShooter() { - shooterMotor.set(0); + shooterMotor.set(ControlMode.PercentOutput, 0); + } + + private double getShooterVelocity() { + return shooterEncoder.getRate(); + } + + private boolean isShooterAtSpeed() { + return getShooterVelocity() >= ShooterConstants.targetVelocity; } @Override From 1200384c145be0416ac7b658a1d7f32969301754 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E9=87=87=E5=80=A2?= Date: Sun, 8 Feb 2026 22:00:49 +0800 Subject: [PATCH 11/13] =?UTF-8?q?[Shooter]=20feat:=20targetVelocity?= =?UTF-8?q?=E5=8A=A0=E5=85=A5constants?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/frc/robot/Constants.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/frc/robot/Constants.java b/src/main/java/frc/robot/Constants.java index 9f885d2..6dacce5 100644 --- a/src/main/java/frc/robot/Constants.java +++ b/src/main/java/frc/robot/Constants.java @@ -14,6 +14,7 @@ public static final class ShooterConstants { public static final double feedforwardKa = 0; public static final int encoderChannelA = 0; public static final int encoderChannelB = 0; + public static final double targetVelocity = 4000; } From 4bc5236571064e57fb7f79a39eb63eb9ef0b8f6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E9=87=87=E5=80=A2?= Date: Sun, 8 Feb 2026 22:05:59 +0800 Subject: [PATCH 12/13] =?UTF-8?q?[Shooter]=20style:=20=E5=88=AA=E9=99=A4?= =?UTF-8?q?=E7=A9=BA=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/frc/robot/Constants.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/frc/robot/Constants.java b/src/main/java/frc/robot/Constants.java index 6dacce5..c4056a8 100644 --- a/src/main/java/frc/robot/Constants.java +++ b/src/main/java/frc/robot/Constants.java @@ -15,7 +15,6 @@ public static final class ShooterConstants { public static final int encoderChannelA = 0; public static final int encoderChannelB = 0; public static final double targetVelocity = 4000; - } } From dfb7e41572b870bd53a37d65cfa26e0843d1f3a4 Mon Sep 17 00:00:00 2001 From: Hannahjjj97 Date: Mon, 9 Feb 2026 00:12:39 +0800 Subject: [PATCH 13/13] =?UTF-8?q?[Constants]=20style:=20=E6=9B=B4=E6=AD=A3?= =?UTF-8?q?=E7=B8=AE=E6=8E=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/frc/robot/Constants.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/frc/robot/Constants.java b/src/main/java/frc/robot/Constants.java index c9b751b..4542da6 100644 --- a/src/main/java/frc/robot/Constants.java +++ b/src/main/java/frc/robot/Constants.java @@ -6,7 +6,7 @@ /** Add your docs here. */ public class Constants { - public static final class IntakeConstants { + public static final class IntakeConstants { public static final int intakeMotorId = 10; public static final int pivotLeftId = 11; public static final int pivotRightId = 12;