diff --git a/TeamCode/src/main/java/org/timecrafters/testing/states/PrototypeTeleOPState.java b/TeamCode/src/main/java/org/timecrafters/testing/states/PrototypeTeleOPState.java index 8fb0de3..29acf50 100644 --- a/TeamCode/src/main/java/org/timecrafters/testing/states/PrototypeTeleOPState.java +++ b/TeamCode/src/main/java/org/timecrafters/testing/states/PrototypeTeleOPState.java @@ -360,7 +360,7 @@ public class PrototypeTeleOPState extends CyberarmState { } if (engine.gamepad2.dpad_up) { - if (robot.HighRiserLeft.getPosition() < 0.9) { + if (robot.HighRiserLeft.getPosition() < 1.0) { if (System.currentTimeMillis() - lastStepTime >= 150) { lastStepTime = System.currentTimeMillis(); robot.HighRiserLeft.setPosition(robot.HighRiserLeft.getPosition() + 0.05); @@ -380,7 +380,7 @@ public class PrototypeTeleOPState extends CyberarmState { } if (engine.gamepad2.y) { - if (robot.HighRiserLeft.getPosition() < 0.84) { + if (robot.HighRiserLeft.getPosition() < 0.9) { if (System.currentTimeMillis() - lastStepTime >= 150) { lastStepTime = System.currentTimeMillis(); robot.HighRiserLeft.setPosition(robot.HighRiserLeft.getPosition() + 0.05);