Whoopsie
This commit is contained in:
parent
b5ff67b528
commit
c4b62d9a98
|
@ -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)) {
|
||||||
|
|
Loading…
Reference in New Issue