diff --git a/2019robot/src/main/java/org/usfirst/frc4388/robot/commands/DeployBallIntake.java b/2019robot/src/main/java/org/usfirst/frc4388/robot/commands/DeployBallIntake.java index 363fe8f..f8a9944 100644 --- a/2019robot/src/main/java/org/usfirst/frc4388/robot/commands/DeployBallIntake.java +++ b/2019robot/src/main/java/org/usfirst/frc4388/robot/commands/DeployBallIntake.java @@ -6,16 +6,16 @@ import edu.wpi.first.wpilibj.command.Command; public class DeployBallIntake extends Command { - public boolean IsUp; + public boolean deployed; - public DeployBallIntake(boolean IsUp) { - this.IsUp=IsUp; + public DeployBallIntake(boolean deployed) { + this.deployed = deployed; requires(Robot.pnumatics); } @Override protected void initialize() { - Robot.pnumatics.setBallIntake(IsUp); + Robot.pnumatics.setBallIntake(deployed); } @Override