Skip to content

Commit

Permalink
Remove possible pathfinding on CD Controller
Browse files Browse the repository at this point in the history
  • Loading branch information
Lithiuman committed May 31, 2024
1 parent 7af7192 commit 1d36b14
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -306,13 +306,10 @@ private void configureDriverController() {
}

private void configureCoDriverController() {
CO_DRIVER_CONTROLLER
.back()
.onTrue(
Util.pathfindToPose(Util.getAllianceAmp())
.andThen(
new PrepRevAmp(ELEVATOR, WRIST)
.andThen(new InstantCommand(() -> isAmpPrepped = true))));

// CO_DRIVER_CONTROLLER
// .leftBumper()
// .onTrue(Util.pathfindToPose(Util.findNearestPoseToTrapClimbs(getPose())));
CO_DRIVER_CONTROLLER.start().onTrue(new StopAll(WRIST, SHOOTER, INTAKE, ELEVATOR));
CO_DRIVER_CONTROLLER.rightBumper().onTrue(new PoopNote(SHOOTER, 2500));

Expand Down

0 comments on commit 1d36b14

Please sign in to comment.