X-Git-Url: http://challenge-bot.com/repos/?p=3501%2Fstronghold-2016;a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommands%2Fshooter%2FStartShooter.java;fp=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommands%2Fshooter%2FStartShooter.java;h=45e126341107e7b41848a7c2eed5d10e6deb8230;hp=0000000000000000000000000000000000000000;hb=1e41dfe4e5913508b81298ba64e6d879b6739f39;hpb=93241e25b57f6a7e7f64207682246957cd47e353 diff --git a/src/org/usfirst/frc/team3501/robot/commands/shooter/StartShooter.java b/src/org/usfirst/frc/team3501/robot/commands/shooter/StartShooter.java new file mode 100644 index 00000000..45e12634 --- /dev/null +++ b/src/org/usfirst/frc/team3501/robot/commands/shooter/StartShooter.java @@ -0,0 +1,38 @@ +package org.usfirst.frc.team3501.robot.commands.shooter; + +import org.usfirst.frc.team3501.robot.Robot; + +import edu.wpi.first.wpilibj.command.Command; + +/** + * + */ +public class StartShooter extends Command { + + public StartShooter() { + + } + + // default shooter speed is used to shoot when in front of the batter + @Override + protected void initialize() { + Robot.shooter.setSpeed(0.5); + } + + @Override + protected void execute() { + } + + @Override + protected boolean isFinished() { + return true; + } + + @Override + protected void end() { + } + + @Override + protected void interrupted() { + } +}