From 5585bd3152a10ee382cf7d1fc6b75299f96689a7 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 20 Jan 2016 19:23:26 -0800 Subject: [PATCH] Clean up all unnecessary comments --- .../frc/team3501/robot/commands/Aim.java | 42 ++++++++----------- .../frc/team3501/robot/commands/Align.java | 42 ++++++++----------- .../frc/team3501/robot/commands/ClampBar.java | 42 ++++++++----------- .../frc/team3501/robot/commands/Detect.java | 42 ++++++++----------- .../frc/team3501/robot/commands/Drive.java | 42 ++++++++----------- .../robot/commands/DriveForDistance.java | 41 ++++++++---------- .../team3501/robot/commands/ExtendLift.java | 42 ++++++++----------- .../frc/team3501/robot/commands/Intake.java | 42 ++++++++----------- .../robot/commands/LiftPortcullis.java | 42 ++++++++----------- .../team3501/robot/commands/LiftRobot.java | 42 ++++++++----------- .../robot/commands/LowerChevalDeFrise.java | 42 ++++++++----------- .../robot/commands/LowerDrawBridge.java | 42 ++++++++----------- .../robot/commands/MoveBallToCradle.java | 42 ++++++++----------- .../robot/commands/MoveIntakeArm.java | 42 ++++++++----------- .../frc/team3501/robot/commands/Position.java | 42 ++++++++----------- .../team3501/robot/commands/RetractLift.java | 42 ++++++++----------- .../frc/team3501/robot/commands/Shoot.java | 42 ++++++++----------- .../frc/team3501/robot/commands/Stop.java | 42 ++++++++----------- .../team3501/robot/commands/TurnForAngle.java | 42 ++++++++----------- .../team3501/robot/commands/TurnForTime.java | 42 ++++++++----------- .../team3501/robot/subsystems/DefenseArm.java | 10 ++--- .../team3501/robot/subsystems/IntakeArm.java | 11 +++-- .../frc/team3501/robot/subsystems/Scaler.java | 12 +++--- .../team3501/robot/subsystems/Shooter.java | 11 +++-- 24 files changed, 379 insertions(+), 504 deletions(-) diff --git a/src/org/usfirst/frc/team3501/robot/commands/Aim.java b/src/org/usfirst/frc/team3501/robot/commands/Aim.java index 22f511af..b4c9f212 100755 --- a/src/org/usfirst/frc/team3501/robot/commands/Aim.java +++ b/src/org/usfirst/frc/team3501/robot/commands/Aim.java @@ -2,35 +2,29 @@ package org.usfirst.frc.team3501.robot.commands; import edu.wpi.first.wpilibj.command.Command; -/** - * - */ public class Aim extends Command { - public Aim() { - // Use requires() here to declare subsystem dependencies - // eg. requires(chassis); - } + public Aim() { + } - // Called just before this Command runs the first time - protected void initialize() { - } + @Override + protected void initialize() { + } - // Called repeatedly when this Command is scheduled to run - protected void execute() { - } + @Override + protected void execute() { + } - // Make this return true when this Command no longer needs to run execute() - protected boolean isFinished() { - return false; - } + @Override + protected boolean isFinished() { + return false; + } - // Called once after isFinished returns true - protected void end() { - } + @Override + protected void end() { + } - // Called when another command which requires one or more of the same - // subsystems is scheduled to run - protected void interrupted() { - } + @Override + protected void interrupted() { + } } diff --git a/src/org/usfirst/frc/team3501/robot/commands/Align.java b/src/org/usfirst/frc/team3501/robot/commands/Align.java index 9d1b1b14..3d28b696 100755 --- a/src/org/usfirst/frc/team3501/robot/commands/Align.java +++ b/src/org/usfirst/frc/team3501/robot/commands/Align.java @@ -2,35 +2,29 @@ package org.usfirst.frc.team3501.robot.commands; import edu.wpi.first.wpilibj.command.Command; -/** - * - */ public class Align extends Command { - public Align() { - // Use requires() here to declare subsystem dependencies - // eg. requires(chassis); - } + public Align() { + } - // Called just before this Command runs the first time - protected void initialize() { - } + @Override + protected void initialize() { + } - // Called repeatedly when this Command is scheduled to run - protected void execute() { - } + @Override + protected void execute() { + } - // Make this return true when this Command no longer needs to run execute() - protected boolean isFinished() { - return false; - } + @Override + protected boolean isFinished() { + return false; + } - // Called once after isFinished returns true - protected void end() { - } + @Override + protected void end() { + } - // Called when another command which requires one or more of the same - // subsystems is scheduled to run - protected void interrupted() { - } + @Override + protected void interrupted() { + } } diff --git a/src/org/usfirst/frc/team3501/robot/commands/ClampBar.java b/src/org/usfirst/frc/team3501/robot/commands/ClampBar.java index 44648a07..f571619c 100755 --- a/src/org/usfirst/frc/team3501/robot/commands/ClampBar.java +++ b/src/org/usfirst/frc/team3501/robot/commands/ClampBar.java @@ -2,35 +2,29 @@ package org.usfirst.frc.team3501.robot.commands; import edu.wpi.first.wpilibj.command.Command; -/** - * - */ public class ClampBar extends Command { - public ClampBar() { - // Use requires() here to declare subsystem dependencies - // eg. requires(chassis); - } + public ClampBar() { + } - // Called just before this Command runs the first time - protected void initialize() { - } + @Override + protected void initialize() { + } - // Called repeatedly when this Command is scheduled to run - protected void execute() { - } + @Override + protected void execute() { + } - // Make this return true when this Command no longer needs to run execute() - protected boolean isFinished() { - return false; - } + @Override + protected boolean isFinished() { + return false; + } - // Called once after isFinished returns true - protected void end() { - } + @Override + protected void end() { + } - // Called when another command which requires one or more of the same - // subsystems is scheduled to run - protected void interrupted() { - } + @Override + protected void interrupted() { + } } diff --git a/src/org/usfirst/frc/team3501/robot/commands/Detect.java b/src/org/usfirst/frc/team3501/robot/commands/Detect.java index 7aed6ad0..95ad0019 100755 --- a/src/org/usfirst/frc/team3501/robot/commands/Detect.java +++ b/src/org/usfirst/frc/team3501/robot/commands/Detect.java @@ -2,35 +2,29 @@ package org.usfirst.frc.team3501.robot.commands; import edu.wpi.first.wpilibj.command.Command; -/** - * - */ public class Detect extends Command { - public Detect() { - // Use requires() here to declare subsystem dependencies - // eg. requires(chassis); - } + public Detect() { + } - // Called just before this Command runs the first time - protected void initialize() { - } + @Override + protected void initialize() { + } - // Called repeatedly when this Command is scheduled to run - protected void execute() { - } + @Override + protected void execute() { + } - // Make this return true when this Command no longer needs to run execute() - protected boolean isFinished() { - return false; - } + @Override + protected boolean isFinished() { + return false; + } - // Called once after isFinished returns true - protected void end() { - } + @Override + protected void end() { + } - // Called when another command which requires one or more of the same - // subsystems is scheduled to run - protected void interrupted() { - } + @Override + protected void interrupted() { + } } diff --git a/src/org/usfirst/frc/team3501/robot/commands/Drive.java b/src/org/usfirst/frc/team3501/robot/commands/Drive.java index 0cb56c23..e96d2854 100755 --- a/src/org/usfirst/frc/team3501/robot/commands/Drive.java +++ b/src/org/usfirst/frc/team3501/robot/commands/Drive.java @@ -2,35 +2,29 @@ package org.usfirst.frc.team3501.robot.commands; import edu.wpi.first.wpilibj.command.Command; -/** - * - */ public class Drive extends Command { - public Drive(double speed) { - // Use requires() here to declare subsystem dependencies - // eg. requires(chassis); - } + public Drive(double speed) { + } - // Called just before this Command runs the first time - protected void initialize() { - } + @Override + protected void initialize() { + } - // Called repeatedly when this Command is scheduled to run - protected void execute() { - } + @Override + protected void execute() { + } - // Make this return true when this Command no longer needs to run execute() - protected boolean isFinished() { - return false; - } + @Override + protected boolean isFinished() { + return false; + } - // Called once after isFinished returns true - protected void end() { - } + @Override + protected void end() { + } - // Called when another command which requires one or more of the same - // subsystems is scheduled to run - protected void interrupted() { - } + @Override + protected void interrupted() { + } } diff --git a/src/org/usfirst/frc/team3501/robot/commands/DriveForDistance.java b/src/org/usfirst/frc/team3501/robot/commands/DriveForDistance.java index fdb952d6..2bf15b81 100755 --- a/src/org/usfirst/frc/team3501/robot/commands/DriveForDistance.java +++ b/src/org/usfirst/frc/team3501/robot/commands/DriveForDistance.java @@ -2,34 +2,29 @@ package org.usfirst.frc.team3501.robot.commands; import edu.wpi.first.wpilibj.command.Command; -/** - * - */ public class DriveForDistance extends Command { - public DriveForDistance(double distance, double speed) { - - } + public DriveForDistance(double distance, double speed) { + } - // Called just before this Command runs the first time - protected void initialize() { - } + @Override + protected void initialize() { + } - // Called repeatedly when this Command is scheduled to run - protected void execute() { - } + @Override + protected void execute() { + } - // Make this return true when this Command no longer needs to run execute() - protected boolean isFinished() { - return false; - } + @Override + protected boolean isFinished() { + return false; + } - // Called once after isFinished returns true - protected void end() { - } + @Override + protected void end() { + } - // Called when another command which requires one or more of the same - // subsystems is scheduled to run - protected void interrupted() { - } + @Override + protected void interrupted() { + } } diff --git a/src/org/usfirst/frc/team3501/robot/commands/ExtendLift.java b/src/org/usfirst/frc/team3501/robot/commands/ExtendLift.java index b32f0cbd..052569e0 100755 --- a/src/org/usfirst/frc/team3501/robot/commands/ExtendLift.java +++ b/src/org/usfirst/frc/team3501/robot/commands/ExtendLift.java @@ -2,35 +2,29 @@ package org.usfirst.frc.team3501.robot.commands; import edu.wpi.first.wpilibj.command.Command; -/** - * - */ public class ExtendLift extends Command { - public ExtendLift() { - // Use requires() here to declare subsystem dependencies - // eg. requires(chassis); - } + public ExtendLift() { + } - // Called just before this Command runs the first time - protected void initialize() { - } + @Override + protected void initialize() { + } - // Called repeatedly when this Command is scheduled to run - protected void execute() { - } + @Override + protected void execute() { + } - // Make this return true when this Command no longer needs to run execute() - protected boolean isFinished() { - return false; - } + @Override + protected boolean isFinished() { + return false; + } - // Called once after isFinished returns true - protected void end() { - } + @Override + protected void end() { + } - // Called when another command which requires one or more of the same - // subsystems is scheduled to run - protected void interrupted() { - } + @Override + protected void interrupted() { + } } diff --git a/src/org/usfirst/frc/team3501/robot/commands/Intake.java b/src/org/usfirst/frc/team3501/robot/commands/Intake.java index 8987a29a..3cef684d 100755 --- a/src/org/usfirst/frc/team3501/robot/commands/Intake.java +++ b/src/org/usfirst/frc/team3501/robot/commands/Intake.java @@ -2,35 +2,29 @@ package org.usfirst.frc.team3501.robot.commands; import edu.wpi.first.wpilibj.command.Command; -/** - * - */ public class Intake extends Command { - public Intake() { - // Use requires() here to declare subsystem dependencies - // eg. requires(chassis); - } + public Intake() { + } - // Called just before this Command runs the first time - protected void initialize() { - } + @Override + protected void initialize() { + } - // Called repeatedly when this Command is scheduled to run - protected void execute() { - } + @Override + protected void execute() { + } - // Make this return true when this Command no longer needs to run execute() - protected boolean isFinished() { - return false; - } + @Override + protected boolean isFinished() { + return false; + } - // Called once after isFinished returns true - protected void end() { - } + @Override + protected void end() { + } - // Called when another command which requires one or more of the same - // subsystems is scheduled to run - protected void interrupted() { - } + @Override + protected void interrupted() { + } } diff --git a/src/org/usfirst/frc/team3501/robot/commands/LiftPortcullis.java b/src/org/usfirst/frc/team3501/robot/commands/LiftPortcullis.java index bc93f771..d2405883 100755 --- a/src/org/usfirst/frc/team3501/robot/commands/LiftPortcullis.java +++ b/src/org/usfirst/frc/team3501/robot/commands/LiftPortcullis.java @@ -2,35 +2,29 @@ package org.usfirst.frc.team3501.robot.commands; import edu.wpi.first.wpilibj.command.Command; -/** - * - */ public class LiftPortcullis extends Command { - public LiftPortcullis() { - // Use requires() here to declare subsystem dependencies - // eg. requires(chassis); - } + public LiftPortcullis() { + } - // Called just before this Command runs the first time - protected void initialize() { - } + @Override + protected void initialize() { + } - // Called repeatedly when this Command is scheduled to run - protected void execute() { - } + @Override + protected void execute() { + } - // Make this return true when this Command no longer needs to run execute() - protected boolean isFinished() { - return false; - } + @Override + protected boolean isFinished() { + return false; + } - // Called once after isFinished returns true - protected void end() { - } + @Override + protected void end() { + } - // Called when another command which requires one or more of the same - // subsystems is scheduled to run - protected void interrupted() { - } + @Override + protected void interrupted() { + } } diff --git a/src/org/usfirst/frc/team3501/robot/commands/LiftRobot.java b/src/org/usfirst/frc/team3501/robot/commands/LiftRobot.java index dc316320..024958f4 100755 --- a/src/org/usfirst/frc/team3501/robot/commands/LiftRobot.java +++ b/src/org/usfirst/frc/team3501/robot/commands/LiftRobot.java @@ -2,35 +2,29 @@ package org.usfirst.frc.team3501.robot.commands; import edu.wpi.first.wpilibj.command.Command; -/** - * - */ public class LiftRobot extends Command { - public LiftRobot() { - // Use requires() here to declare subsystem dependencies - // eg. requires(chassis); - } + public LiftRobot() { + } - // Called just before this Command runs the first time - protected void initialize() { - } + @Override + protected void initialize() { + } - // Called repeatedly when this Command is scheduled to run - protected void execute() { - } + @Override + protected void execute() { + } - // Make this return true when this Command no longer needs to run execute() - protected boolean isFinished() { - return false; - } + @Override + protected boolean isFinished() { + return false; + } - // Called once after isFinished returns true - protected void end() { - } + @Override + protected void end() { + } - // Called when another command which requires one or more of the same - // subsystems is scheduled to run - protected void interrupted() { - } + @Override + protected void interrupted() { + } } diff --git a/src/org/usfirst/frc/team3501/robot/commands/LowerChevalDeFrise.java b/src/org/usfirst/frc/team3501/robot/commands/LowerChevalDeFrise.java index 77110d5b..790700bd 100755 --- a/src/org/usfirst/frc/team3501/robot/commands/LowerChevalDeFrise.java +++ b/src/org/usfirst/frc/team3501/robot/commands/LowerChevalDeFrise.java @@ -2,35 +2,29 @@ package org.usfirst.frc.team3501.robot.commands; import edu.wpi.first.wpilibj.command.Command; -/** - * - */ public class LowerChevalDeFrise extends Command { - public LowerChevalDeFrise() { - // Use requires() here to declare subsystem dependencies - // eg. requires(chassis); - } + public LowerChevalDeFrise() { + } - // Called just before this Command runs the first time - protected void initialize() { - } + @Override + protected void initialize() { + } - // Called repeatedly when this Command is scheduled to run - protected void execute() { - } + @Override + protected void execute() { + } - // Make this return true when this Command no longer needs to run execute() - protected boolean isFinished() { - return false; - } + @Override + protected boolean isFinished() { + return false; + } - // Called once after isFinished returns true - protected void end() { - } + @Override + protected void end() { + } - // Called when another command which requires one or more of the same - // subsystems is scheduled to run - protected void interrupted() { - } + @Override + protected void interrupted() { + } } diff --git a/src/org/usfirst/frc/team3501/robot/commands/LowerDrawBridge.java b/src/org/usfirst/frc/team3501/robot/commands/LowerDrawBridge.java index e0ee1e21..af0670cf 100755 --- a/src/org/usfirst/frc/team3501/robot/commands/LowerDrawBridge.java +++ b/src/org/usfirst/frc/team3501/robot/commands/LowerDrawBridge.java @@ -2,35 +2,29 @@ package org.usfirst.frc.team3501.robot.commands; import edu.wpi.first.wpilibj.command.Command; -/** - * - */ public class LowerDrawBridge extends Command { - public LowerDrawBridge() { - // Use requires() here to declare subsystem dependencies - // eg. requires(chassis); - } + public LowerDrawBridge() { + } - // Called just before this Command runs the first time - protected void initialize() { - } + @Override + protected void initialize() { + } - // Called repeatedly when this Command is scheduled to run - protected void execute() { - } + @Override + protected void execute() { + } - // Make this return true when this Command no longer needs to run execute() - protected boolean isFinished() { - return false; - } + @Override + protected boolean isFinished() { + return false; + } - // Called once after isFinished returns true - protected void end() { - } + @Override + protected void end() { + } - // Called when another command which requires one or more of the same - // subsystems is scheduled to run - protected void interrupted() { - } + @Override + protected void interrupted() { + } } diff --git a/src/org/usfirst/frc/team3501/robot/commands/MoveBallToCradle.java b/src/org/usfirst/frc/team3501/robot/commands/MoveBallToCradle.java index c869be5a..f94e5d4a 100755 --- a/src/org/usfirst/frc/team3501/robot/commands/MoveBallToCradle.java +++ b/src/org/usfirst/frc/team3501/robot/commands/MoveBallToCradle.java @@ -2,35 +2,29 @@ package org.usfirst.frc.team3501.robot.commands; import edu.wpi.first.wpilibj.command.Command; -/** - * - */ public class MoveBallToCradle extends Command { - public MoveBallToCradle() { - // Use requires() here to declare subsystem dependencies - // eg. requires(chassis); - } + public MoveBallToCradle() { + } - // Called just before this Command runs the first time - protected void initialize() { - } + @Override + protected void initialize() { + } - // Called repeatedly when this Command is scheduled to run - protected void execute() { - } + @Override + protected void execute() { + } - // Make this return true when this Command no longer needs to run execute() - protected boolean isFinished() { - return false; - } + @Override + protected boolean isFinished() { + return false; + } - // Called once after isFinished returns true - protected void end() { - } + @Override + protected void end() { + } - // Called when another command which requires one or more of the same - // subsystems is scheduled to run - protected void interrupted() { - } + @Override + protected void interrupted() { + } } diff --git a/src/org/usfirst/frc/team3501/robot/commands/MoveIntakeArm.java b/src/org/usfirst/frc/team3501/robot/commands/MoveIntakeArm.java index 53e4c249..8f19f39a 100755 --- a/src/org/usfirst/frc/team3501/robot/commands/MoveIntakeArm.java +++ b/src/org/usfirst/frc/team3501/robot/commands/MoveIntakeArm.java @@ -2,35 +2,29 @@ package org.usfirst.frc.team3501.robot.commands; import edu.wpi.first.wpilibj.command.Command; -/** - * - */ public class MoveIntakeArm extends Command { - public MoveIntakeArm() { - // Use requires() here to declare subsystem dependencies - // eg. requires(chassis); - } + public MoveIntakeArm() { + } - // Called just before this Command runs the first time - protected void initialize() { - } + @Override + protected void initialize() { + } - // Called repeatedly when this Command is scheduled to run - protected void execute() { - } + @Override + protected void execute() { + } - // Make this return true when this Command no longer needs to run execute() - protected boolean isFinished() { - return false; - } + @Override + protected boolean isFinished() { + return false; + } - // Called once after isFinished returns true - protected void end() { - } + @Override + protected void end() { + } - // Called when another command which requires one or more of the same - // subsystems is scheduled to run - protected void interrupted() { - } + @Override + protected void interrupted() { + } } diff --git a/src/org/usfirst/frc/team3501/robot/commands/Position.java b/src/org/usfirst/frc/team3501/robot/commands/Position.java index 82281257..e1a8c869 100755 --- a/src/org/usfirst/frc/team3501/robot/commands/Position.java +++ b/src/org/usfirst/frc/team3501/robot/commands/Position.java @@ -2,35 +2,29 @@ package org.usfirst.frc.team3501.robot.commands; import edu.wpi.first.wpilibj.command.Command; -/** - * - */ public class Position extends Command { - public Position(/*type of defense*/) { - // Use requires() here to declare subsystem dependencies - // eg. requires(chassis); - } + public Position() { + } - // Called just before this Command runs the first time - protected void initialize() { - } + @Override + protected void initialize() { + } - // Called repeatedly when this Command is scheduled to run - protected void execute() { - } + @Override + protected void execute() { + } - // Make this return true when this Command no longer needs to run execute() - protected boolean isFinished() { - return false; - } + @Override + protected boolean isFinished() { + return false; + } - // Called once after isFinished returns true - protected void end() { - } + @Override + protected void end() { + } - // Called when another command which requires one or more of the same - // subsystems is scheduled to run - protected void interrupted() { - } + @Override + protected void interrupted() { + } } diff --git a/src/org/usfirst/frc/team3501/robot/commands/RetractLift.java b/src/org/usfirst/frc/team3501/robot/commands/RetractLift.java index 92cc6d40..2d1e1e81 100755 --- a/src/org/usfirst/frc/team3501/robot/commands/RetractLift.java +++ b/src/org/usfirst/frc/team3501/robot/commands/RetractLift.java @@ -2,35 +2,29 @@ package org.usfirst.frc.team3501.robot.commands; import edu.wpi.first.wpilibj.command.Command; -/** - * - */ public class RetractLift extends Command { - public RetractLift() { - // Use requires() here to declare subsystem dependencies - // eg. requires(chassis); - } + public RetractLift() { + } - // Called just before this Command runs the first time - protected void initialize() { - } + @Override + protected void initialize() { + } - // Called repeatedly when this Command is scheduled to run - protected void execute() { - } + @Override + protected void execute() { + } - // Make this return true when this Command no longer needs to run execute() - protected boolean isFinished() { - return false; - } + @Override + protected boolean isFinished() { + return false; + } - // Called once after isFinished returns true - protected void end() { - } + @Override + protected void end() { + } - // Called when another command which requires one or more of the same - // subsystems is scheduled to run - protected void interrupted() { - } + @Override + protected void interrupted() { + } } diff --git a/src/org/usfirst/frc/team3501/robot/commands/Shoot.java b/src/org/usfirst/frc/team3501/robot/commands/Shoot.java index 7b424667..fbfafeb9 100755 --- a/src/org/usfirst/frc/team3501/robot/commands/Shoot.java +++ b/src/org/usfirst/frc/team3501/robot/commands/Shoot.java @@ -2,35 +2,29 @@ package org.usfirst.frc.team3501.robot.commands; import edu.wpi.first.wpilibj.command.Command; -/** - * - */ public class Shoot extends Command { - public Shoot() { - // Use requires() here to declare subsystem dependencies - // eg. requires(chassis); - } + public Shoot() { + } - // Called just before this Command runs the first time - protected void initialize() { - } + @Override + protected void initialize() { + } - // Called repeatedly when this Command is scheduled to run - protected void execute() { - } + @Override + protected void execute() { + } - // Make this return true when this Command no longer needs to run execute() - protected boolean isFinished() { - return false; - } + @Override + protected boolean isFinished() { + return false; + } - // Called once after isFinished returns true - protected void end() { - } + @Override + protected void end() { + } - // Called when another command which requires one or more of the same - // subsystems is scheduled to run - protected void interrupted() { - } + @Override + protected void interrupted() { + } } diff --git a/src/org/usfirst/frc/team3501/robot/commands/Stop.java b/src/org/usfirst/frc/team3501/robot/commands/Stop.java index 30d1c203..69c67d6e 100755 --- a/src/org/usfirst/frc/team3501/robot/commands/Stop.java +++ b/src/org/usfirst/frc/team3501/robot/commands/Stop.java @@ -2,35 +2,29 @@ package org.usfirst.frc.team3501.robot.commands; import edu.wpi.first.wpilibj.command.Command; -/** - * - */ public class Stop extends Command { - public Stop() { - // Use requires() here to declare subsystem dependencies - // eg. requires(chassis); - } + public Stop() { + } - // Called just before this Command runs the first time - protected void initialize() { - } + @Override + protected void initialize() { + } - // Called repeatedly when this Command is scheduled to run - protected void execute() { - } + @Override + protected void execute() { + } - // Make this return true when this Command no longer needs to run execute() - protected boolean isFinished() { - return false; - } + @Override + protected boolean isFinished() { + return false; + } - // Called once after isFinished returns true - protected void end() { - } + @Override + protected void end() { + } - // Called when another command which requires one or more of the same - // subsystems is scheduled to run - protected void interrupted() { - } + @Override + protected void interrupted() { + } } diff --git a/src/org/usfirst/frc/team3501/robot/commands/TurnForAngle.java b/src/org/usfirst/frc/team3501/robot/commands/TurnForAngle.java index 2825f583..d1b61a2a 100755 --- a/src/org/usfirst/frc/team3501/robot/commands/TurnForAngle.java +++ b/src/org/usfirst/frc/team3501/robot/commands/TurnForAngle.java @@ -2,35 +2,29 @@ package org.usfirst.frc.team3501.robot.commands; import edu.wpi.first.wpilibj.command.Command; -/** - * - */ public class TurnForAngle extends Command { - public TurnForAngle(double degrees) { - // Use requires() here to declare subsystem dependencies - // eg. requires(chassis); - } + public TurnForAngle(double degrees) { + } - // Called just before this Command runs the first time - protected void initialize() { - } + @Override + protected void initialize() { + } - // Called repeatedly when this Command is scheduled to run - protected void execute() { - } + @Override + protected void execute() { + } - // Make this return true when this Command no longer needs to run execute() - protected boolean isFinished() { - return false; - } + @Override + protected boolean isFinished() { + return false; + } - // Called once after isFinished returns true - protected void end() { - } + @Override + protected void end() { + } - // Called when another command which requires one or more of the same - // subsystems is scheduled to run - protected void interrupted() { - } + @Override + protected void interrupted() { + } } diff --git a/src/org/usfirst/frc/team3501/robot/commands/TurnForTime.java b/src/org/usfirst/frc/team3501/robot/commands/TurnForTime.java index 1b8e5232..e1987e7a 100755 --- a/src/org/usfirst/frc/team3501/robot/commands/TurnForTime.java +++ b/src/org/usfirst/frc/team3501/robot/commands/TurnForTime.java @@ -2,35 +2,29 @@ package org.usfirst.frc.team3501.robot.commands; import edu.wpi.first.wpilibj.command.Command; -/** - * - */ public class TurnForTime extends Command { - public TurnForTime(double seconds) { - // Use requires() here to declare subsystem dependencies - // eg. requires(chassis); - } + public TurnForTime(double seconds) { + } - // Called just before this Command runs the first time - protected void initialize() { - } + @Override + protected void initialize() { + } - // Called repeatedly when this Command is scheduled to run - protected void execute() { - } + @Override + protected void execute() { + } - // Make this return true when this Command no longer needs to run execute() - protected boolean isFinished() { - return false; - } + @Override + protected boolean isFinished() { + return false; + } - // Called once after isFinished returns true - protected void end() { - } + @Override + protected void end() { + } - // Called when another command which requires one or more of the same - // subsystems is scheduled to run - protected void interrupted() { - } + @Override + protected void interrupted() { + } } diff --git a/src/org/usfirst/frc/team3501/robot/subsystems/DefenseArm.java b/src/org/usfirst/frc/team3501/robot/subsystems/DefenseArm.java index 1f6c1ba7..51e5f7e0 100755 --- a/src/org/usfirst/frc/team3501/robot/subsystems/DefenseArm.java +++ b/src/org/usfirst/frc/team3501/robot/subsystems/DefenseArm.java @@ -2,15 +2,13 @@ package org.usfirst.frc.team3501.robot.subsystems; import edu.wpi.first.wpilibj.command.Subsystem; -public class DefenseArm extends Subsystem{ - - public DefenseArm(){ - +public class DefenseArm extends Subsystem { + + public DefenseArm() { + } @Override protected void initDefaultCommand() { - // TODO Auto-generated method stub - } } diff --git a/src/org/usfirst/frc/team3501/robot/subsystems/IntakeArm.java b/src/org/usfirst/frc/team3501/robot/subsystems/IntakeArm.java index 3461f173..f27eb665 100755 --- a/src/org/usfirst/frc/team3501/robot/subsystems/IntakeArm.java +++ b/src/org/usfirst/frc/team3501/robot/subsystems/IntakeArm.java @@ -2,15 +2,14 @@ package org.usfirst.frc.team3501.robot.subsystems; import edu.wpi.first.wpilibj.command.Subsystem; -public class IntakeArm extends Subsystem{ - - public IntakeArm(){ - +public class IntakeArm extends Subsystem { + + public IntakeArm() { + } @Override protected void initDefaultCommand() { - // TODO Auto-generated method stub - + } } diff --git a/src/org/usfirst/frc/team3501/robot/subsystems/Scaler.java b/src/org/usfirst/frc/team3501/robot/subsystems/Scaler.java index 79b332b0..183166cf 100755 --- a/src/org/usfirst/frc/team3501/robot/subsystems/Scaler.java +++ b/src/org/usfirst/frc/team3501/robot/subsystems/Scaler.java @@ -2,16 +2,14 @@ package org.usfirst.frc.team3501.robot.subsystems; import edu.wpi.first.wpilibj.command.Subsystem; -public class Scaler extends Subsystem{ - //fields: the pneumatics - - public Scaler(){ - +public class Scaler extends Subsystem { + + public Scaler() { + } @Override protected void initDefaultCommand() { - // TODO Auto-generated method stub - + } } diff --git a/src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java b/src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java index 3e98e5d3..ca09301c 100755 --- a/src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java +++ b/src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java @@ -2,15 +2,14 @@ package org.usfirst.frc.team3501.robot.subsystems; import edu.wpi.first.wpilibj.command.Subsystem; -public class Shooter extends Subsystem{ - - public Shooter(){ - +public class Shooter extends Subsystem { + + public Shooter() { + } @Override protected void initDefaultCommand() { - // TODO Auto-generated method stub - + } } -- 2.30.2