@@ -0,0 +1,1625 @@
+package org.robockets.stronghold.robot.intake;%0A%0Aimport org.robockets.stronghold.robot.Robot;%0A%0Aimport edu.wpi.first.wpilibj.command.Command;%0A%0A/**%0A * A Command to spin the intake motor forward or backward%0A */%0Apublic class ManualVerticalIntake extends Command %7B%0A%09%0A%09/**%0A%09 * Object for the Direction enum%0A%09 * */%0A%09public Direction direction;%0A%09%0A%09/**%0A%09 * Used to set timeout%0A%09 * */%0A%09int time;%0A%09%0A%09%0A%09/**%0A%09 * Initalizes some variables%0A%09 * %0A%09 * @param direction  Used to initalize Direction enum%0A%09 * @param time  Takes input for time%0A%09 * */%0A    public ManualVerticalIntake(Direction direction, int time) %7B%0A        // Use requires() here to declare subsystem dependencies%0A        // eg. requires(chassis);%0A    %09requires(Robot.intake);%0A    %09this.direction = direction;%0A    %09this.time = time;%0A    %7D%0A%0A    // Called just before this Command runs the first time%0A    protected void initialize() %7B%0A    %09setTimeout(time);%0A    %7D%0A%0A    // Called repeatedly when this Command is scheduled to run%0A    protected void execute() %7B%0A    %09if(direction == Direction.UP) %7B%0A    %09%09Robot.intake.moveUp();%0A    %09%7D else if(direction == Direction.DOWN)%7B%0A    %09%09Robot.intake.moveDown();%0A    %09%7D else %7B%0A    %09%09Robot.intake.stopVertical();%0A    %09%7D%0A    %7D%0A%0A    // Make this return true when this Command no longer needs to run execute()%0A    protected boolean isFinished() %7B%0A        return false;%0A    %7D%0A%0A    // Called once after isFinished returns true%0A    protected void end() %7B%0A    %09Robot.intake.stopVertical();%0A    %7D%0A%0A    // Called when another command which requires one or more of the same%0A    // subsystems is scheduled to run%0A    protected void interrupted() %7B%0A    %7D%0A%7D%0A

Add manual vertical intake command