Add Intake subsystem, filled in methods for Intake commands
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / subsystems / Intake.java
1 package org.usfirst.frc.team3501.robot.subsystems;
2
3 import com.ctre.CANTalon;
4
5 import edu.wpi.first.wpilibj.command.Subsystem;
6
7 /**
8 * @author Meeta
9 */
10 public class Intake extends Subsystem {
11 public static Intake intake = null;
12 protected double speed = 0;
13 private CANTalon intakeWheel;
14
15 // create speed of intake whee
16 public Intake() {
17
18 }
19
20 public static Intake getIntake() {
21 if (intake == null) {
22 intake = new Intake();
23 }
24 return intake;
25 }
26
27 @Override
28 protected void initDefaultCommand() {
29
30 }
31
32 public void setSpeed(double speed) {
33 this.speed = speed;
34 }
35
36 }