@@ -64,7 +64,7 @@ public static DriverXbox getInstance() {
6464
6565 @ Override
6666 public void setupTeleopButtons () {
67- /*COMP BINDINGS */
67+ /*COMP BINDINGS */
6868 // Spit Coral
6969 controller .y ().whileTrue (new SetRollersVoltage (3.5 ));
7070
@@ -136,8 +136,8 @@ public void setupTeleopButtons() {
136136 // controller.rightTrigger().whileTrue(new AlgaeRoller.IntakeCommand());
137137 // controller.leftTrigger().whileTrue(new CoralRollerSubsystem.SetVoltageCommand(12));
138138
139- controller .rightTrigger ().whileTrue (new InstantCommand (() -> RobotContainer .modeFast = false ));
140- controller .rightTrigger ().whileFalse (new InstantCommand (() -> RobotContainer .modeFast = true ));
139+ // controller.rightTrigger().whileTrue(new InstantCommand(() -> RobotContainer.modeFast = false));
140+ // controller.rightTrigger().whileFalse(new InstantCommand(() -> RobotContainer.modeFast = true));
141141 // controller.leftBumper().onTrue(new LineupCommand());
142142
143143 /*Algae Pivot TEsting */
@@ -150,30 +150,30 @@ public void setupTeleopButtons() {
150150 // controller.y().onTrue(new SetArmState(RushinatorPivot.State.kTestPos));
151151 // controller.a().onTrue(new SetArmState(RushinatorPivot.State.kTestPos2));
152152
153- controller .x ().onTrue (RobotCommands .coralPrime (
154- RushinatorPivot .State .kStowTravel , ElevatorSubsystem .State .kZero , RushinatorWrist .State .kTravelRight )
155- );
153+ // controller.x().onTrue(RobotCommands.coralPrime(
154+ // RushinatorPivot.State.kStowTravel, ElevatorSubsystem.State.kZero, RushinatorWrist.State.kTravelRight)
155+ // );
156156
157- controller .povUp ().onTrue (RobotCommands .coralPrime (
158- RushinatorPivot .State .kScore , ElevatorSubsystem .State .kZero , RushinatorWrist .State .kTravelMid )
159- );
157+ // controller.povUp().onTrue(RobotCommands.coralPrime(
158+ // RushinatorPivot.State.kScore, ElevatorSubsystem.State.kZero, RushinatorWrist.State.kTravelMid)
159+ // );
160160
161- controller .b ().onTrue (RobotCommands .coralPrime (
162- RushinatorPivot .State .kStowTravel , ElevatorSubsystem .State .kCoralL3 , RushinatorWrist .State .kTravelRight )
163- );
161+ // controller.b().onTrue(RobotCommands.coralPrime(
162+ // RushinatorPivot.State.kStowTravel, ElevatorSubsystem.State.kCoralL3, RushinatorWrist.State.kTravelRight)
163+ // );
164164
165- controller .y ().onTrue (RobotCommands .coralPrime (
166- RushinatorPivot .State .kStowTravel , ElevatorSubsystem .State .kCoralL4 , RushinatorWrist .State .kTravelRight )
167- );
165+ // controller.y().onTrue(RobotCommands.coralPrime(
166+ // RushinatorPivot.State.kStowTravel, ElevatorSubsystem.State.kCoralL4, RushinatorWrist.State.kTravelRight)
167+ // );
168168
169- controller .rightBumper ().whileTrue (new ConditionalCommand (
170- RobotCommands .coralPrimeShoot (RushinatorPivot .State .kScore , RushinatorWrist .State .kScoreRightWrist ),
171- RobotCommands .coralPrimeShoot (RushinatorPivot .State .kScore , RushinatorWrist .State .kScoreLeftWrist ),
172- () -> RushinatorWrist .kLastState == RushinatorWrist .State .kTravelRight ||
173- RushinatorWrist .kLastState == RushinatorWrist .State .kScoreRightWrist ||
174- RushinatorWrist .kLastState == RushinatorWrist .State .kGroundMid ||
175- RushinatorWrist .kLastState == RushinatorWrist .State .kHPMid )
176- );
169+ // controller.rightBumper().whileTrue(new ConditionalCommand(
170+ // RobotCommands.coralPrimeShoot(RushinatorPivot.State.kScore, RushinatorWrist.State.kScoreRightWrist),
171+ // RobotCommands.coralPrimeShoot(RushinatorPivot.State.kScore, RushinatorWrist.State.kScoreLeftWrist),
172+ // () -> RushinatorWrist.kLastState == RushinatorWrist.State.kTravelRight ||
173+ // RushinatorWrist.kLastState == RushinatorWrist.State.kScoreRightWrist ||
174+ // RushinatorWrist.kLastState == RushinatorWrist.State.kGroundMid ||
175+ // RushinatorWrist.kLastState == RushinatorWrist.State.kHPMid)
176+ // );
177177 // controller.rightBumper().whileTrue(new SetRollersVoltage(0.0));
178178
179179 // controller.a().whileTrue(RobotCommands.coralPrime(
@@ -206,7 +206,7 @@ public void setupTeleopButtons() {
206206 // controller.leftBumper().onTrue(AutonMaster.getInstance().getTestPathFindingCommand());
207207
208208 // controller.y().onTrue(new InstantCommand(() -> CommandSwerveDrivetrain.getInstance().zeroHeading()));
209- controller .leftTrigger ().onTrue (CommandSwerveDrivetrain .getInstance ().runOnce (()-> CommandSwerveDrivetrain .getInstance ().seedFieldCentric ()));
209+ // controller.leftTrigger().onTrue(CommandSwerveDrivetrain.getInstance().runOnce(()-> CommandSwerveDrivetrain.getInstance().seedFieldCentric()));
210210 }
211211
212212 @ Override
0 commit comments