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

Commit

Permalink
fix(arm): Manual control goes bye-bye.
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenheroux committed Apr 4, 2024
1 parent d5fa243 commit 9a58060
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package frc.robot;

import edu.wpi.first.math.MathUtil;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
import edu.wpi.first.wpilibj2.command.Command;
import edu.wpi.first.wpilibj2.command.button.CommandXboxController;
Expand Down Expand Up @@ -85,7 +84,6 @@ private void configureBindings() {
operatorController.a().onTrue(superstructure.ampPosition());
operatorController.b().onTrue(superstructure.ampShoot());
operatorController.x().onTrue(superstructure.stow());
operatorController.y().whileTrue(arm.setVoltage(() -> 3 * MathUtil.applyDeadband(-operatorController.getLeftY(), 0.1)));

operatorController.povUp().onTrue(superstructure.eject());
}
Expand Down

0 comments on commit 9a58060

Please sign in to comment.