add compressor on/off
[3501/3501-spark-go] / src / org / usfirst / frc / team3501 / robot / commands / CommandBase.java
index 2fc40282410d3e372aaab25850f537fcf8af7dea..45bb43b36699bb0b5a08af651abf4dc633b6d206 100644 (file)
@@ -14,6 +14,8 @@ public abstract class CommandBase extends Command {
     protected static Arm arm;
     protected static Claw claw;
 
+    protected static Pneumatics pneumatics;
+
     public CommandBase(String commandName) {
         super(commandName);
 
@@ -22,6 +24,8 @@ public abstract class CommandBase extends Command {
         drivetrain = Robot.drivetrain;
         arm        = Robot.arm;
         claw       = Robot.claw;
+
+        pneumatics = Robot.pneumatics;
     }
 
     protected void initialize() {}