add claw toggle and winch tensioning
[3501/3501-spark-go] / src / org / usfirst / frc / team3501 / robot / subsystems / Claw.java
index 5c9ae5b6c9e3e3b7adaca6426d26c806221869d7..a4c4cb46f44fdd62a890eed4cd6589aa6307e3ff 100644 (file)
@@ -22,5 +22,13 @@ public class Claw extends Subsystem {
         piston.set(RobotMap.CLOSED);
     }
 
+    public boolean isOpen() {
+        return piston.get().equals(RobotMap.OPEN);
+    }
+
+    public boolean isClosed() {
+        return piston.get().equals(RobotMap.CLOSED);
+    }
+
     public void initDefaultCommand() {}
 }