summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/org/usfirst/frc/team4272/robot2016/Teleop.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/org/usfirst/frc/team4272/robot2016/Teleop.java b/src/org/usfirst/frc/team4272/robot2016/Teleop.java
index 6794a81..0238aac 100644
--- a/src/org/usfirst/frc/team4272/robot2016/Teleop.java
+++ b/src/org/usfirst/frc/team4272/robot2016/Teleop.java
@@ -24,12 +24,16 @@ public class Teleop {
/* Ball intake/shooter */
if (oi.lStick.getTrigger()) {
- control.fBall = control.bBall = -1;
+ /* intake */
+ control.fBall = control.bBall = -.6;
} else if (oi.rStick.getTrigger()) {
+ /* outtake */
control.fBall = 1;
if (oi.rStick.getRawButton(3)) {
control.bBall = 1;
}
+ } else {
+ control.fBall = control.bBall = 0;
}
/* Take pictures */