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

Commit

Permalink
zeroArmSensor > ZeroEndEffector
Browse files Browse the repository at this point in the history
  • Loading branch information
3LucasZ committed Oct 8, 2023
1 parent 8c54b47 commit 2fe51f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import frc.robot.Constants.FeatureFlags;
import frc.robot.arm.Arm;
import frc.robot.arm.commands.SetArmVoltage;
import frc.robot.arm.commands.ZeroArmSensor;
import frc.robot.auto.AutoConstants;
import frc.robot.auto.AutoPaths;
import frc.robot.auto.pathgeneration.commands.AutoIntakePrep;
Expand Down Expand Up @@ -330,7 +331,7 @@ public void configureElevator() {
armSubsystem,
SetEndEffectorState.EndEffectorPreset.DOUBLE_SUBSTATION_CUBE),
this::isCurrentPieceCone));
operator.a().onTrue(new ZeroEndEffector(elevatorSubsystem, armSubsystem)); // zero
operator.a().onTrue(new ZeroArmSensor(armSubsystem)); // zero
driver // zero/cube/fallen cone
.leftBumper()
.onTrue(new ZeroEndEffector(elevatorSubsystem, armSubsystem));
Expand Down

0 comments on commit 2fe51f9

Please sign in to comment.