From 0fc951128abcb5915eabf14378d3c472c5860503 Mon Sep 17 00:00:00 2001 From: avidcoder27 Date: Fri, 6 Dec 2024 14:46:26 -0500 Subject: [PATCH] DriveCommands.score() cancels self --- src/main/java/frc/team5115/commands/DriveCommands.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/frc/team5115/commands/DriveCommands.java b/src/main/java/frc/team5115/commands/DriveCommands.java index 2f83357..ba5ed6c 100644 --- a/src/main/java/frc/team5115/commands/DriveCommands.java +++ b/src/main/java/frc/team5115/commands/DriveCommands.java @@ -28,7 +28,7 @@ public static Command score(Dispenser dispenser, Arm arm, Drivetrain drivetrain) return drivetrain .alignPoseA() .andThen(quickScore(dispenser, arm, drivetrain)) - .withInterruptBehavior(InterruptionBehavior.kCancelIncoming); + .withInterruptBehavior(InterruptionBehavior.kCancelSelf); } public static Command quickScore(Dispenser dispenser, Arm arm, Drivetrain drivetrain) {