From: mixxlto Date: Tue, 10 Feb 2026 00:16:27 +0000 (-0800) Subject: Update PS5ControllerDriverConfig.java X-Git-Url: https://git.taranathan.com/?a=commitdiff_plain;h=306ff396db90940759a034e454eb958a1710fcb7;p=FRC2026.git Update PS5ControllerDriverConfig.java --- diff --git a/src/main/java/frc/robot/controls/PS5ControllerDriverConfig.java b/src/main/java/frc/robot/controls/PS5ControllerDriverConfig.java index 3ac13db..ba89624 100644 --- a/src/main/java/frc/robot/controls/PS5ControllerDriverConfig.java +++ b/src/main/java/frc/robot/controls/PS5ControllerDriverConfig.java @@ -22,9 +22,11 @@ import frc.robot.constants.FieldConstants; import frc.robot.subsystems.drivetrain.Drivetrain; import frc.robot.subsystems.shooter.Shooter; import frc.robot.subsystems.shooter.ShooterConstants; +import frc.robot.subsystems.spindexer.Spindexer; import frc.robot.subsystems.turret.Turret; import frc.robot.subsystems.hood.Hood; import frc.robot.subsystems.hood.HoodConstants; +import frc.robot.subsystems.intake.Intake; import lib.controllers.PS5Controller; import lib.controllers.PS5Controller.PS5Axis; import lib.controllers.PS5Controller.PS5Button; @@ -38,6 +40,8 @@ public class PS5ControllerDriverConfig extends BaseDriverConfig { private Shooter shooter; private Turret turret; private Hood hood; + private Intake intake; + private Spindexer spindexer; private Pose2d alignmentPose = null; private Command turretAutoShoot; @@ -71,6 +75,10 @@ public class PS5ControllerDriverConfig extends BaseDriverConfig { interrupted->getDrivetrain().setStateDeadband(true), ()->false, getDrivetrain()).withTimeout(2)); + if(intake != null){ + + } + // driver.get(PS5Button.LB).onTrue( // new SequentialCommandGroup( // new InstantCommand(()-> shooter.setShooter(-ShooterConstants.SHOOTER_VELOCITY)),