This commit is contained in:
Scott Barnes 2023-11-04 12:20:38 -05:00
parent b5ff67b528
commit c4b62d9a98
1 changed files with 1 additions and 6 deletions

View File

@ -30,11 +30,6 @@ public class MainTeleOp extends OpMode {
telemetry.addData("Status", "Initialized"); telemetry.addData("Status", "Initialized");
} }
// Gamepad 2 - Arm Control
// RT - Hanger Raise
// RB - Hanger Lift Robot
// DPad Left/Right - Gantry Left/Right
// DPad Up/Down - Lift Up/Down
@Override @Override
public void loop() { public void loop() {
// Drive // Drive
@ -89,7 +84,7 @@ public class MainTeleOp extends OpMode {
this.robot.getGantry().deposit(); this.robot.getGantry().deposit();
} else if (!previousScrewIntake && screwIntake) { } else if (!previousScrewIntake && screwIntake) {
this.robot.getGantry().intake(); this.robot.getGantry().intake();
} else if (screwReset) { } else if (!previousScrewReset && screwReset) {
this.robot.getGantry().resetScrew(); this.robot.getGantry().resetScrew();
} }
if ((!previousSlideUp && slideUp) || (!previousSlideDown && slideDown)) { if ((!previousSlideUp && slideUp) || (!previousSlideDown && slideDown)) {