add all IntakeArm commands
authorYour Name <you@example.com>
Sun, 17 Jan 2016 01:24:59 +0000 (17:24 -0800)
committerYour Name <you@example.com>
Sun, 17 Jan 2016 01:24:59 +0000 (17:24 -0800)
src/org/usfirst/frc/team3501/robot/commands/Detect.java [new file with mode: 0755]
src/org/usfirst/frc/team3501/robot/commands/Intake.java [new file with mode: 0755]
src/org/usfirst/frc/team3501/robot/commands/MoveIntakeArm.java [new file with mode: 0755]
src/org/usfirst/frc/team3501/robot/commands/Stop.java [new file with mode: 0755]

diff --git a/src/org/usfirst/frc/team3501/robot/commands/Detect.java b/src/org/usfirst/frc/team3501/robot/commands/Detect.java
new file mode 100755 (executable)
index 0000000..7aed6ad
--- /dev/null
@@ -0,0 +1,36 @@
+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);
+    }
+
+    // Called just before this Command runs the first time
+    protected void initialize() {
+    }
+
+    // Called repeatedly when this Command is scheduled to run
+    protected void execute() {
+    }
+
+    // Make this return true when this Command no longer needs to run execute()
+    protected boolean isFinished() {
+        return false;
+    }
+
+    // Called once after isFinished returns true
+    protected void end() {
+    }
+
+    // Called when another command which requires one or more of the same
+    // subsystems is scheduled to run
+    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
new file mode 100755 (executable)
index 0000000..8987a29
--- /dev/null
@@ -0,0 +1,36 @@
+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);
+    }
+
+    // Called just before this Command runs the first time
+    protected void initialize() {
+    }
+
+    // Called repeatedly when this Command is scheduled to run
+    protected void execute() {
+    }
+
+    // Make this return true when this Command no longer needs to run execute()
+    protected boolean isFinished() {
+        return false;
+    }
+
+    // Called once after isFinished returns true
+    protected void end() {
+    }
+
+    // Called when another command which requires one or more of the same
+    // subsystems is scheduled to run
+    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
new file mode 100755 (executable)
index 0000000..53e4c24
--- /dev/null
@@ -0,0 +1,36 @@
+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);
+    }
+
+    // Called just before this Command runs the first time
+    protected void initialize() {
+    }
+
+    // Called repeatedly when this Command is scheduled to run
+    protected void execute() {
+    }
+
+    // Make this return true when this Command no longer needs to run execute()
+    protected boolean isFinished() {
+        return false;
+    }
+
+    // Called once after isFinished returns true
+    protected void end() {
+    }
+
+    // Called when another command which requires one or more of the same
+    // subsystems is scheduled to run
+    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
new file mode 100755 (executable)
index 0000000..30d1c20
--- /dev/null
@@ -0,0 +1,36 @@
+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);
+    }
+
+    // Called just before this Command runs the first time
+    protected void initialize() {
+    }
+
+    // Called repeatedly when this Command is scheduled to run
+    protected void execute() {
+    }
+
+    // Make this return true when this Command no longer needs to run execute()
+    protected boolean isFinished() {
+        return false;
+    }
+
+    // Called once after isFinished returns true
+    protected void end() {
+    }
+
+    // Called when another command which requires one or more of the same
+    // subsystems is scheduled to run
+    protected void interrupted() {
+    }
+}