From f21e65b401a96a45d0cec83b3443464bfb107c14 Mon Sep 17 00:00:00 2001 From: shainachen Date: Wed, 11 Jan 2017 20:39:02 -0800 Subject: [PATCH] Create skeleton commands for shooter --- .../robot/commands/shooter/RunFlyWheel.java | 21 +++++++++++++++++++ .../shooter/RunFlyWheelContinuous.java | 21 +++++++++++++++++++ .../robot/commands/shooter/RunIndexWheel.java | 21 +++++++++++++++++++ .../shooter/RunIndexWheelContinuous.java | 21 +++++++++++++++++++ 4 files changed, 84 insertions(+) diff --git a/src/org/usfirst/frc/team3501/robot/commands/shooter/RunFlyWheel.java b/src/org/usfirst/frc/team3501/robot/commands/shooter/RunFlyWheel.java index 6a6e950..de0045f 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/shooter/RunFlyWheel.java +++ b/src/org/usfirst/frc/team3501/robot/commands/shooter/RunFlyWheel.java @@ -12,6 +12,27 @@ import edu.wpi.first.wpilibj.command.Command; */ public class RunFlyWheel extends Command { + // Called just before this Command runs the first time + @Override + protected void initialize() { + } + + // Called repeatedly when this Command is scheduled to run + @Override + protected void execute() { + } + + // Called once after isFinished returns true + @Override + protected void end() { + } + + // Called when another command which requires one or more of the same + // subsystems is scheduled to run + @Override + protected void interrupted() { + } + @Override protected boolean isFinished() { // TODO Auto-generated method stub diff --git a/src/org/usfirst/frc/team3501/robot/commands/shooter/RunFlyWheelContinuous.java b/src/org/usfirst/frc/team3501/robot/commands/shooter/RunFlyWheelContinuous.java index c294938..ef0c2e3 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/shooter/RunFlyWheelContinuous.java +++ b/src/org/usfirst/frc/team3501/robot/commands/shooter/RunFlyWheelContinuous.java @@ -7,6 +7,27 @@ import edu.wpi.first.wpilibj.command.Command; */ public class RunFlyWheelContinuous extends Command { + // Called just before this Command runs the first time + @Override + protected void initialize() { + } + + // Called repeatedly when this Command is scheduled to run + @Override + protected void execute() { + } + + // Called once after isFinished returns true + @Override + protected void end() { + } + + // Called when another command which requires one or more of the same + // subsystems is scheduled to run + @Override + protected void interrupted() { + } + @Override protected boolean isFinished() { // TODO Auto-generated method stub diff --git a/src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheel.java b/src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheel.java index 74a7d70..bf884e0 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheel.java +++ b/src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheel.java @@ -12,6 +12,27 @@ import edu.wpi.first.wpilibj.command.Command; */ public class RunIndexWheel extends Command { + // Called just before this Command runs the first time + @Override + protected void initialize() { + } + + // Called repeatedly when this Command is scheduled to run + @Override + protected void execute() { + } + + // Called once after isFinished returns true + @Override + protected void end() { + } + + // Called when another command which requires one or more of the same + // subsystems is scheduled to run + @Override + protected void interrupted() { + } + @Override protected boolean isFinished() { // TODO Auto-generated method stub diff --git a/src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheelContinuous.java b/src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheelContinuous.java index 77ebe24..412b473 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheelContinuous.java +++ b/src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheelContinuous.java @@ -7,6 +7,27 @@ import edu.wpi.first.wpilibj.command.Command; */ public class RunIndexWheelContinuous extends Command { + // Called just before this Command runs the first time + @Override + protected void initialize() { + } + + // Called repeatedly when this Command is scheduled to run + @Override + protected void execute() { + } + + // Called once after isFinished returns true + @Override + protected void end() { + } + + // Called when another command which requires one or more of the same + // subsystems is scheduled to run + @Override + protected void interrupted() { + } + @Override protected boolean isFinished() { // TODO Auto-generated method stub -- 2.30.2