reset place after place

This commit is contained in:
aarav18
2023-03-16 23:24:30 -06:00
parent f93047dc4a
commit 3d8ea49aed
@@ -105,7 +105,7 @@ public class RobotContainer {
public SequentialCommandGroup place = null;
private Consumer<SequentialCommandGroup> queuePlacement = (scg) -> {
place = scg.andThen(new InstantCommand(() -> readyForPlacement = false), new InstantCommand(() -> isPole = null));
place = scg.andThen(new InstantCommand(() -> readyForPlacement = false), new InstantCommand(() -> isPole = null), new InstantCommand(() -> place = null));
};
// TODO: find actual values
@@ -217,7 +217,6 @@ public class RobotContainer {
// .onFalse(new InstantCommand());
// * Operator Buttons
// align (pole)
new JoystickButton(getDeadbandedOperatorController(), XboxController.A_BUTTON)