Skip to content

Commit

Permalink
[Robot] Make intake not stay down
Browse files Browse the repository at this point in the history
  • Loading branch information
rmheuer committed Apr 1, 2024
1 parent 971ddd9 commit affd18c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -246,11 +246,13 @@ public void periodic() {
robot.intake.setReverse(false);
robot.shooter.setFlywheelControl(ShooterSubsystem.FlywheelControl.SHOOT); // Always aim with note when not teleop

robot.drive.setEstimatorIgnoreVision(DriverStation.isAutonomous());
robot.drive.setEstimatorIgnoreVision(DriverStation.isAutonomous());

return;
}

if (!operator.a.isPressed())
robot.intake.set(IntakeSubsystem.State.OFF);

boolean forceToSubwoofer = forceSubwooferDebounce.calculate(driver.dpad.left.isPressed());
boolean forceToStageCorner = forceStageCornerDebounce.calculate(driver.dpad.right.isPressed());
Expand Down

0 comments on commit affd18c

Please sign in to comment.