]> git.taranathan.com Git - FRC2026.git/commitdiff
Update PS5ControllerDriverConfig.java
authormixxlto <maxtan0626@gmail.com>
Tue, 10 Feb 2026 00:16:27 +0000 (16:16 -0800)
committermixxlto <maxtan0626@gmail.com>
Tue, 10 Feb 2026 00:16:27 +0000 (16:16 -0800)
src/main/java/frc/robot/controls/PS5ControllerDriverConfig.java

index 3ac13db3d69fe3793fefc143ff715a42ac7c3f3d..ba896246553e5ddafe827795074dd4129dfb24aa 100644 (file)
@@ -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)),