add variables
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / commands / shooter / StartUpFlyWheel.java
CommitLineData
afc49207
T
1package org.usfirst.frc.team3501.robot.commands.shooter;
2
5ba0f018
CZ
3import org.usfirst.frc.team3501.robot.Robot;
4import org.usfirst.frc.team3501.robot.subsystems.Shooter;
5import org.usfirst.frc.team3501.robot.utils.PIDController;
6
afc49207
T
7import edu.wpi.first.wpilibj.command.Command;
8
9/**
10 *
11 */
12public class StartUpFlyWheel extends Command {
5ba0f018
CZ
13 private Shooter shooter = Robot.getShooter();
14 private PIDController wheelController;
15 private double wheelP;
16 private double wheelI;
17 private double wheelD;
18 private double motorVal;
19 private double target;
20
21 public StartUpFlyWheel() {
22 // Use requires() here to declare subsystem dependencies
23 // eg. requires(chassis);
24 requires(shooter);
25 }
26
27 // Called just before this Command runs the first time
28 protected void initialize() {
29
30 }
31
32 // Called repeatedly when this Command is scheduled to run
33 protected void execute() {
34 }
35
36 // Make this return true when this Command no longer needs to run execute()
37 protected boolean isFinished() {
38 return false;
39 }
40
41 // Called once after isFinished returns true
42 protected void end() {
43 }
44
45 // Called when another command which requires one or more of the same
46 // subsystems is scheduled to run
47 protected void interrupted() {
48 }
afc49207 49}