From: niyatisriram Date: Wed, 10 Feb 2016 04:41:26 +0000 (-0800) Subject: add method calls to stop rollers X-Git-Url: http://challenge-bot.com/repos/?p=3501%2Fstronghold-2016;a=commitdiff_plain;h=1828f5f6819c77d698ba8124cb0a9ee5bfeeeb89 add method calls to stop rollers --- diff --git a/src/org/usfirst/frc/team3501/robot/commands/ExpelBall.java b/src/org/usfirst/frc/team3501/robot/commands/ExpelBall.java index 00ad7426..19ff6279 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/ExpelBall.java +++ b/src/org/usfirst/frc/team3501/robot/commands/ExpelBall.java @@ -27,7 +27,7 @@ public class ExpelBall extends Command { @Override protected void end() { - + Robot.intakeArm.stopRollers(); } @Override diff --git a/src/org/usfirst/frc/team3501/robot/commands/IntakeBall.java b/src/org/usfirst/frc/team3501/robot/commands/IntakeBall.java index 55039a5e..37b55bc6 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/IntakeBall.java +++ b/src/org/usfirst/frc/team3501/robot/commands/IntakeBall.java @@ -29,6 +29,7 @@ public class IntakeBall extends Command { @Override protected void end() { + Robot.intakeArm.stopRollers(); } diff --git a/src/org/usfirst/frc/team3501/robot/commands/ToggleBallRollerExpel.java b/src/org/usfirst/frc/team3501/robot/commands/ToggleBallRollerExpel.java index d769ace1..05c524bc 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/ToggleBallRollerExpel.java +++ b/src/org/usfirst/frc/team3501/robot/commands/ToggleBallRollerExpel.java @@ -30,12 +30,11 @@ public class ToggleBallRollerExpel extends Command { @Override protected void end() { - + Robot.intakeArm.stopRollers(); } @Override protected void interrupted() { - + end(); } - } diff --git a/src/org/usfirst/frc/team3501/robot/commands/ToggleBallRollerIntake.java b/src/org/usfirst/frc/team3501/robot/commands/ToggleBallRollerIntake.java index 223e789c..a8b96d86 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/ToggleBallRollerIntake.java +++ b/src/org/usfirst/frc/team3501/robot/commands/ToggleBallRollerIntake.java @@ -30,12 +30,12 @@ public class ToggleBallRollerIntake extends Command { @Override protected void end() { - + Robot.intakeArm.stopRollers(); } @Override protected void interrupted() { - + end(); } }