summaryrefslogtreecommitdiff
path: root/src/org/usfirst/frc/team4272/robot2017/Teleop.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/usfirst/frc/team4272/robot2017/Teleop.java')
-rw-r--r--src/org/usfirst/frc/team4272/robot2017/Teleop.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/usfirst/frc/team4272/robot2017/Teleop.java b/src/org/usfirst/frc/team4272/robot2017/Teleop.java
index b55a42b..4eae31d 100644
--- a/src/org/usfirst/frc/team4272/robot2017/Teleop.java
+++ b/src/org/usfirst/frc/team4272/robot2017/Teleop.java
@@ -89,8 +89,8 @@ public class Teleop {
/* climber */
control.climber = oi.xbox.getY(Hand.kLeft);
- if (control.climber <= 0.2) {
- control.climber = 0;
+ if (oi.xbox.getTriggerAxis(Hand.kLeft) > 0.5) {
+ control.climber = 0.2;
}
/* GED */