From 3949e64c7707b53081a60daaf8e1118ebee41ea7 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 7 Apr 2017 10:32:31 -0400 Subject: add compressor inhibitor --- src/org/usfirst/frc/team4272/robot2017/Teleop.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/org/usfirst/frc/team4272/robot2017/Teleop.java') diff --git a/src/org/usfirst/frc/team4272/robot2017/Teleop.java b/src/org/usfirst/frc/team4272/robot2017/Teleop.java index 4dc3627..b55a42b 100644 --- a/src/org/usfirst/frc/team4272/robot2017/Teleop.java +++ b/src/org/usfirst/frc/team4272/robot2017/Teleop.java @@ -96,6 +96,9 @@ public class Teleop { /* GED */ control.gedOut = oi.xbox.getTriggerAxis(Hand.kRight) > 0.5; + /* compressor */ + control.compressorEnabled = !oi.xbox.getAButton(); + return control; } } -- cgit v1.2.3