Change shooter to function off of two pistons, remove punch, shooter motors, and...
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / shooter / ResetCatapult.java
1 package org.usfirst.frc.team3501.robot.commands.shooter;
2
3 import org.usfirst.frc.team3501.robot.Robot;
4
5 import edu.wpi.first.wpilibj.command.Command;
6
7 public class ResetCatapult extends Command {
8
9 public ResetCatapult() {
10 requires(Robot.shooter);
11 }
12
13 @Override
14 protected void initialize() {
15 Robot.shooter.resetCatapult();
16 }
17
18 @Override
19 protected void execute() {
20
21 }
22
23 @Override
24 protected boolean isFinished() {
25 return true;
26 }
27
28 @Override
29 protected void end() {
30
31 }
32
33 @Override
34 protected void interrupted() {
35
36 }
37
38 }