projects
/
3501
/
3501-spark-go
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add compressor on/off
[3501/3501-spark-go]
/
src
/
org
/
usfirst
/
frc
/
team3501
/
robot
/
commands
/
CommandBase.java
diff --git
a/src/org/usfirst/frc/team3501/robot/commands/CommandBase.java
b/src/org/usfirst/frc/team3501/robot/commands/CommandBase.java
index 2fc40282410d3e372aaab25850f537fcf8af7dea..45bb43b36699bb0b5a08af651abf4dc633b6d206 100644
(file)
--- a/
src/org/usfirst/frc/team3501/robot/commands/CommandBase.java
+++ b/
src/org/usfirst/frc/team3501/robot/commands/CommandBase.java
@@
-14,6
+14,8
@@
public abstract class CommandBase extends Command {
protected static Arm arm;
protected static Claw claw;
protected static Arm arm;
protected static Claw claw;
+ protected static Pneumatics pneumatics;
+
public CommandBase(String commandName) {
super(commandName);
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;
drivetrain = Robot.drivetrain;
arm = Robot.arm;
claw = Robot.claw;
+
+ pneumatics = Robot.pneumatics;
}
protected void initialize() {}
}
protected void initialize() {}