Open close of the gripper from "X" to "right_bumper"

This commit is contained in:
2024-11-05 16:39:42 -08:00
parent 5c84d0d7c8
commit 83da8e0de0

View File

@ -83,7 +83,7 @@ public class DevTeleop extends OpMode {
} }
public void thePickup(ClawSubsystem claw) { public void thePickup(ClawSubsystem claw) {
if (currentGamepad1.x && !previousGamepad1.x) { if (currentGamepad1.right_bumper && !previousGamepad1.right_bumper) {
claw.switchState(); claw.switchState();
} }