X-Git-Url: http://challenge-bot.com/repos/?p=3501%2Fstronghold-2016;a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fsubsystems%2FIntakeArm.java;h=856db2bb139c5c23b0639783df255486eff9814b;hp=1870799debfc45f510217aded8ae180c73417dba;hb=2781cca0354e26f8c5a6150d6b5179d300d479e1;hpb=027452180cc75fa58cd6305d9eb351ec64b2345f diff --git a/src/org/usfirst/frc/team3501/robot/subsystems/IntakeArm.java b/src/org/usfirst/frc/team3501/robot/subsystems/IntakeArm.java index 1870799d..856db2bb 100755 --- a/src/org/usfirst/frc/team3501/robot/subsystems/IntakeArm.java +++ b/src/org/usfirst/frc/team3501/robot/subsystems/IntakeArm.java @@ -34,6 +34,16 @@ public class IntakeArm extends Subsystem { Constants.IntakeArm.RIGHT_REVERSE); } + public void retractPistons() { + leftIntake.set(Constants.IntakeArm.RETRACT); + rightIntake.set(Constants.IntakeArm.RETRACT); + } + + public void extendPistons() { + leftIntake.set(Constants.IntakeArm.EXTEND); + rightIntake.set(Constants.IntakeArm.EXTEND); + } + /*** * This method sets the voltage of the motor to intake the ball. The voltage * values are constants in Constants class