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() {
+ }
}
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() {
+ }
}
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() {
+ }
}
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() {
+ }
}
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() {
+ }
}
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() {
+ }
}
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() {
+ }
}
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() {
+ }
}
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() {
+ }
}
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() {
+ }
}
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() {
+ }
}
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() {
+ }
}
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() {
+ }
}
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() {
+ }
}
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() {
+ }
}
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() {
+ }
}
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() {
+ }
}
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() {
+ }
}
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() {
+ }
}
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() {
+ }
}
\r
import edu.wpi.first.wpilibj.command.Subsystem;\r
\r
-public class DefenseArm extends Subsystem{\r
- \r
- public DefenseArm(){\r
- \r
+public class DefenseArm extends Subsystem {\r
+\r
+ public DefenseArm() {\r
+\r
}\r
\r
@Override\r
protected void initDefaultCommand() {\r
- // TODO Auto-generated method stub\r
- \r
}\r
}\r
\r
import edu.wpi.first.wpilibj.command.Subsystem;\r
\r
-public class IntakeArm extends Subsystem{\r
- \r
- public IntakeArm(){\r
- \r
+public class IntakeArm extends Subsystem {\r
+\r
+ public IntakeArm() {\r
+\r
}\r
\r
@Override\r
protected void initDefaultCommand() {\r
- // TODO Auto-generated method stub\r
- \r
+\r
}\r
}\r
\r
import edu.wpi.first.wpilibj.command.Subsystem;\r
\r
-public class Scaler extends Subsystem{\r
- //fields: the pneumatics\r
- \r
- public Scaler(){\r
- \r
+public class Scaler extends Subsystem {\r
+\r
+ public Scaler() {\r
+\r
}\r
\r
@Override\r
protected void initDefaultCommand() {\r
- // TODO Auto-generated method stub\r
- \r
+\r
}\r
}\r
\r
import edu.wpi.first.wpilibj.command.Subsystem;\r
\r
-public class Shooter extends Subsystem{\r
- \r
- public Shooter(){\r
- \r
+public class Shooter extends Subsystem {\r
+\r
+ public Shooter() {\r
+\r
}\r
\r
@Override\r
protected void initDefaultCommand() {\r
- // TODO Auto-generated method stub\r
- \r
+\r
}\r
}\r