X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fsubsystems%2FShooter.java;fp=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fsubsystems%2FShooter.java;h=07eb10145c0dd2aa782eb76545cf55afeabcace0;hb=f2139d95459dffbe3a48dd62ab6408e04ffaf2df;hp=820bc6a85c25f2429f5cf9c90153d48475914190;hpb=d1930cd9ed9720c44bc9471b7741f4218f5da842;p=3501%2F2017steamworks diff --git a/src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java b/src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java index 820bc6a..07eb101 100644 --- a/src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java +++ b/src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java @@ -21,7 +21,7 @@ public class Shooter extends Subsystem { private static final double RPM_THRESHOLD = 10; private static final double DEFAULT_INDEXING_MOTOR_VALUE = -0.75; - private static final double DEFAULT_SHOOTING_SPEED = 3100; // rpm + private static final double DEFAULT_SHOOTING_SPEED = 2700; // rpm private static final double SHOOTING_SPEED_INCREMENT = 50; private static final int ACCEPTABLE_SHOOTING_DEVIATION = 300; @@ -39,6 +39,11 @@ public class Shooter extends Subsystem { piston = new DoubleSolenoid(Constants.Shooter.MODULE_NUMBER, Constants.Shooter.PISTON_FORWARD, Constants.Shooter.PISTON_REVERSE); + + /* + * piston = new DoubleSolenoid(Constants.Shooter.MODULE_NUMBER, + * Constants.Shooter.PISTON); + */ } /**