Open close of the gripper from "X" to "right_bumper"
This commit is contained in:
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user