diff --git a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/cometbots/CometBotTeleopCompetition.java b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/cometbots/CometBotTeleopCompetition.java index 4aefd4d..df66154 100644 --- a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/cometbots/CometBotTeleopCompetition.java +++ b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/cometbots/CometBotTeleopCompetition.java @@ -252,6 +252,18 @@ public class CometBotTeleopCompetition { } } + public void lowerSkyHook() { + if (this.currentGP2.dpad_down && !this.previousGP2.dpad_down) { + hook.lowerHook(1.00); + } + } + + public void raiseSkyHook() { + if (this.currentGP2.dpad_up && !this.previousGP2.dpad_up) { + hook.raiseHook(1.00); + } + } + /* Type: PS4 Controller: 2 @@ -294,18 +306,16 @@ public class CometBotTeleopCompetition { } } - public void lowerSkyHook() { - hook.raiseHook(currentGP2.left_trigger); + + + + + + + } - public void raiseSkyHook() { - hook.lowerHook(currentGP2.right_trigger * 2.0); - - - } - -}