Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
clean up no longer needed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Ernie3 committed Mar 7, 2024
1 parent 246b7cf commit 9743b96
Showing 1 changed file with 0 additions and 45 deletions.
45 changes: 0 additions & 45 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -182,51 +182,6 @@ private void configureXboxControllerBindings() {
}
}, RobotContainer.shooter));

// Arm
// var handoffArm = driverController.a();
// handoffArm.onTrue(
// new SetIntakeState(IntakeState.kDown)
// .andThen(new SetShooterState(ShooterState.kIntake).alongWith(new
// SetArmState(ArmState.kIntake)))
// );

// var stowArm = driverController.b();
// stowArm.onTrue(
// (new SetArmState(ArmState.kStow).alongWith(new
// SetShooterState(ShooterState.kIntake)))
// .andThen(new SetIntakeState(IntakeState.kUp))
// );

// var ampArm = driverController.y();
// ampArm.onTrue(new SetArmState(ArmState.kAmp).alongWith(new
// SetShooterState(ShooterState.kAmp)));

// var subwooferArm = new Trigger(() -> driverController.getHID().getXButton()
// && RobotContainer.intake.isIntakeDown());
// subwooferArm.onTrue(new
// SetArmState(ArmState.kShootFromSubwoofer).alongWith(new
// SetShooterState(ShooterState.kShootFromSubwoofer)));

// var armPodium = new Trigger(() ->
// driverController.getHID().getRightStickButton() &&
// RobotContainer.intake.isIntakeDown());
// armPodium.onTrue(new SetArmState(ArmState.kShootFromPodium).alongWith(new
// SetShooterState(ShooterState.kShootFromPodium)));

// Intake
// var retractIntake = new Trigger(() -> driverController.getHID().getPOV() == 0
// && RobotContainer.arm.isArmClearingIntake());
// retractIntake.onTrue(new SetIntakeState(IntakeState.kUp));

// var deployIntake = new Trigger(() -> driverController.getHID().getPOV() ==
// 180 && RobotContainer.arm.isArmClearingIntake());
// deployIntake.onTrue(new SetIntakeState(IntakeState.kDown));

// var midIntakePovLeft = driverController.povLeft();
// midIntakePovLeft.onTrue(new SetIntakeState(IntakeState.kMid));
// var midIntakePovRight = driverController.povRight();
// midIntakePovRight.onTrue(new SetIntakeState(IntakeState.kMid));

var intakeNote = new Trigger(
() -> Math.abs(driverController.getHID().getLeftTriggerAxis()) > 0.9 && !RobotContainer.shooter.hasNote());
intakeNote.onTrue(new InstantCommand(() -> {
Expand Down

0 comments on commit 9743b96

Please sign in to comment.