This commit is contained in:
Aarav
2023-03-23 18:20:00 -06:00
parent 4e922e5f35
commit 9401c830c3
@@ -337,7 +337,7 @@ public class RobotContainer {
// place high
new POVButton(getDeadbandedOperatorController(), 0)
.onTrue(new ConditionalCommand(
new InstantCommand(() -> queuePlacement.accept(placeCubeHigh)),
new InstantCommand(() -> queuePlacement.accept(placeConeHigh)),
emptyCommand.asProxy(),
() -> readyForPlacement == true)
);
@@ -345,7 +345,7 @@ public class RobotContainer {
// place mid
new POVButton(getDeadbandedOperatorController(), 270)
.onTrue(new ConditionalCommand(
new InstantCommand(() -> queuePlacement.accept(placeCubeMid)),
new InstantCommand(() -> queuePlacement.accept(placeConeMid)),
emptyCommand.asProxy(),
() -> readyForPlacement == true)
);