From af1095cf50dc3c5f7dbf3a48080d6c49faf8bcbf Mon Sep 17 00:00:00 2001 From: OnDYCLaptop Date: Tue, 5 May 2026 16:20:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E7=9F=A5=E9=81=93=E6=98=AF=E4=B8=AA?= =?UTF-8?q?=E5=95=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/deploy/pathplanner/autos/Shoot and Depot Blue.auto | 6 ++++++ src/main/java/frc/robot/Constants.java | 2 +- src/main/java/frc/robot/RobotContainer.java | 5 +---- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/main/deploy/pathplanner/autos/Shoot and Depot Blue.auto b/src/main/deploy/pathplanner/autos/Shoot and Depot Blue.auto index 8a69dcd..a561867 100644 --- a/src/main/deploy/pathplanner/autos/Shoot and Depot Blue.auto +++ b/src/main/deploy/pathplanner/autos/Shoot and Depot Blue.auto @@ -142,6 +142,12 @@ } ] } + }, + { + "type": "path", + "data": { + "pathName": "blue depot go 1" + } } ] } diff --git a/src/main/java/frc/robot/Constants.java b/src/main/java/frc/robot/Constants.java index b2962fe..93516d6 100644 --- a/src/main/java/frc/robot/Constants.java +++ b/src/main/java/frc/robot/Constants.java @@ -17,7 +17,7 @@ public final class Constants { CrossingTrench } public class Shooter { - public static final double conveyorSpeed = 25; + public static final double conveyorSpeed = 150; public static final double conveyorSpeedForAuto = 10; public static final Slot0Configs flyWheelSlot0Configs = new Slot0Configs() .withKP(0.0).withKI(0).withKD(0) diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index d095d8f..6f66f1d 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -70,7 +70,7 @@ public class RobotContainer { private final SendableChooser autoChooser; private final Trigger enableTrigger = new Trigger(DriverStation::isEnabled); - private final Trigger teleopStartTrigger = new Trigger(DriverStation::isTeleopEnabled); + public RobotContainer() { @@ -184,9 +184,6 @@ public class RobotContainer { controllerupper.start().onTrue(Commands.runOnce(() -> shooterControls.resetBackboardCommand())); } - /* ====================== */ - /* LED 绑定 */ - /* ====================== */ private void bingdingLED() { LedBindings.bindModeIndicators(leds);