make code for pid fly wheel control
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / subsystems / Shooter.java
index ba0f51cefbf86e775efeb159feab757f2439eb78..f39f1ff2754e284dcc4f38124e7465131a913b13 100644 (file)
@@ -7,6 +7,7 @@ import com.ctre.CANTalon;
 import edu.wpi.first.wpilibj.command.Subsystem;
 
 public class Shooter extends Subsystem {
+  public double wheelP = 0.005, wheelI = 0.001, wheelD = -0.003;
   private static Shooter shooter;
   private final CANTalon flyWheel, indexWheel;
 
@@ -72,4 +73,8 @@ public class Shooter extends Subsystem {
   protected void initDefaultCommand() {
 
   }
+
+  public double getShooterSpeed() {
+    return 1.0;
+  }
 }