From fbc398c03233e34094efa676e2784e135025bb91 Mon Sep 17 00:00:00 2001 From: SahasKoyada Date: Wed, 4 Mar 2026 21:55:51 -0500 Subject: [PATCH] Drive works and controls work --- src/main/java/frc/robot/RobotContainer.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index 5072e6e..64fc92b 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -231,7 +231,8 @@ public RobotContainer() { ); autoChooser.addOption("Drive Simple FF Characterization", DriveCommands.feedforwardCharacterization(drive) - );} + ); + configureButtonBindings();} /* autoChooser.addOption("Mid Climb", Commands.sequence( @@ -337,16 +338,16 @@ private void configureButtonBindings() { //operator.y().whileTrue(transfer.runPercent(0.6)); //Transfer operator.y().whileTrue(Commands.parallel(indexer.runPercent(0.8), transfer.runPercent(-0.6))); //indexer and spindexer up - operator.x().whileTrue(Commands.parallel(transfer.runPercent(-0.6), intake.rollersIn())); //spindex and Intake + operator.x().whileTrue(Commands.parallel(transfer.runPercent(-0.6), intake.rollersOut())); //spindex and Intake operator.a().whileTrue(Commands.parallel(transfer.runPercent(0.6), indexer.runPercent(-0.6))); //Transfer and indexer out - operator.b().whileTrue(intake.rollersOut()); //outtake + operator.b().whileTrue(intake.rollersIn()); //outtake //operator.povUp().onTrue(hubLock); // reapplys hublock if switched off //operator.povUp().onTrue(Commands.runOnce(() -> turret.setDefaultCommand(hubLock()))); //operator.povUp().whileTrue - operator.povUp().whileTrue(Commands.parallel(indexer.runPercent(0.8),transfer.runPercent(0.8),intake.rollersIn())); + operator.povUp().whileTrue(Commands.parallel(indexer.runPercent(0.8),transfer.runPercent(-0.8),intake.rollersOut())); //intake and transfer in, indexer up - operator.povDown().whileTrue(Commands.parallel(indexer.runPercent(0.8),transfer.runPercent(-0.8),intake.rollersOut())); + operator.povDown().whileTrue(Commands.parallel(indexer.runPercent(-0.8),transfer.runPercent(0.8),intake.rollersIn())); //intake and transfer out, indexer down operator.povRight().onTrue(intake.retractIn());//intake comes in operator.povLeft().onTrue(intake.deployOut());//intake goes out