create compactrobot command
authorCindy Zhang <cindyzyx9@gmail.com>
Mon, 15 Feb 2016 01:23:42 +0000 (17:23 -0800)
committerKevin Zhang <icestormf1@gmail.com>
Mon, 15 Feb 2016 18:55:21 +0000 (10:55 -0800)
src/org/usfirst/frc/team3501/robot/commands/auton/CompactRobot.java [new file with mode: 0644]

diff --git a/src/org/usfirst/frc/team3501/robot/commands/auton/CompactRobot.java b/src/org/usfirst/frc/team3501/robot/commands/auton/CompactRobot.java
new file mode 100644 (file)
index 0000000..bde8aba
--- /dev/null
@@ -0,0 +1,44 @@
+package org.usfirst.frc.team3501.robot.commands.auton;
+
+import edu.wpi.first.wpilibj.command.Command;
+
+/**
+ *
+ */
+public class CompactRobot extends Command {
+
+  public CompactRobot() {
+    // Use requires() here to declare subsystem dependencies
+    // eg. requires(chassis);
+  }
+
+  // Called just before this Command runs the first time
+  @Override
+  protected void initialize() {
+    // move hood down
+    // move intakeArm out
+    // move defenseArm down
+  }
+
+  // Called repeatedly when this Command is scheduled to run
+  @Override
+  protected void execute() {
+  }
+
+  // Make this return true when this Command no longer needs to run execute()
+  @Override
+  protected boolean isFinished() {
+    return false;
+  }
+
+  // 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() {
+  }
+}