X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommands%2Fintakearm%2FRunIntake.java;h=c69b350631e777c30fa65a792f8d1a2928092f18;hb=ba29a57aaf0f4175ef20d4ee64ac7ad8c799327d;hp=42ed83fc3f38b5a0c0970f52aa1103fe6c0af63a;hpb=43338192ef5ba0ab179068dfffc5fb609217d36f;p=3501%2Fstronghold-2016 diff --git a/src/org/usfirst/frc/team3501/robot/commands/intakearm/RunIntake.java b/src/org/usfirst/frc/team3501/robot/commands/intakearm/RunIntake.java index 42ed83fc..c69b3506 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/intakearm/RunIntake.java +++ b/src/org/usfirst/frc/team3501/robot/commands/intakearm/RunIntake.java @@ -17,8 +17,10 @@ public class RunIntake extends Command { protected void initialize() { if (direction == Constants.IntakeArm.IN) Robot.intakeArm.intakeBall(); - else + else if (direction == Constants.IntakeArm.OUT) Robot.intakeArm.outputBall(); + else + Robot.intakeArm.stopRollers(); } @Override