1 package org
.usfirst
.frc
.team3501
.robot
.subsystems
;
3 import org
.usfirst
.frc
.team3501
.robot
.Constants
;
5 import com
.ctre
.CANTalon
;
7 import edu
.wpi
.first
.wpilibj
.command
.Subsystem
;
12 public class Intake
extends Subsystem
{
13 public static Intake intake
= null;
14 private CANTalon intakeWheel
;
15 public static final double INTAKE_SPEED
= 0;
17 // create speed of intake whee
19 intakeWheel
= new CANTalon(Constants
.Intake
.INTAKE_ROLLER_PORT
);
22 public static Intake
getIntake() {
24 intake
= new Intake();
30 protected void initDefaultCommand() {
34 public void setSpeed(double speed
) {
35 intakeWheel
.set(speed
);