X-Git-Url: http://challenge-bot.com/repos/?p=3501%2F2017steamworks;a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fsubsystems%2FShooter.java;h=f39f1ff2754e284dcc4f38124e7465131a913b13;hp=ba0f51cefbf86e775efeb159feab757f2439eb78;hb=381dad77be9ae65d463812e2c2ad852363084219;hpb=5ba0f0183b1719b28df181abea39839085c521bb diff --git a/src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java b/src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java index ba0f51c..f39f1ff 100644 --- a/src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java +++ b/src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java @@ -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; + } }