X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fsubsystems%2FIntake.java;h=b008518e5673897bfd6e33c0c6f6cca02c7cfef1;hb=d1930cd9ed9720c44bc9471b7741f4218f5da842;hp=ed47fa702a80446343a32362991cb40fa3e8e41a;hpb=9d31eab2633c58781fae0e346b2eae542595d7af;p=3501%2F2017steamworks diff --git a/src/org/usfirst/frc/team3501/robot/subsystems/Intake.java b/src/org/usfirst/frc/team3501/robot/subsystems/Intake.java index ed47fa7..b008518 100644 --- a/src/org/usfirst/frc/team3501/robot/subsystems/Intake.java +++ b/src/org/usfirst/frc/team3501/robot/subsystems/Intake.java @@ -16,6 +16,8 @@ public class Intake extends Subsystem { public static final double INTAKE_SPEED = 1; public static final double REVERSE_SPEED = -1; + private int intakeCameraFeed = 1; + public Intake() { intakeWheel = new CANTalon(Constants.Intake.INTAKE_ROLLER_PORT); } @@ -63,6 +65,14 @@ public class Intake extends Subsystem { setSpeed(0); } + public int getIntakeCameraFeed() { + return this.intakeCameraFeed; + } + + public void setIntakeCameraFeed(int intakeCamFeed) { + this.intakeCameraFeed = intakeCamFeed; + } + /*** * Purpose is to release all balls from the ball container to the outside of * the robot. Reverses intake wheel by setting wheel speed to reverse speed.