// RobotBuilder Version: 0.0.2
//
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// Java from RobotBuilder. Do not put any code or make any change in
// the blocks indicating autogenerated code or it will be lost on an
// update. Deleting the comments indicating the section will prevent
// it from being updated in th future.
package org.usfirst.frc330.Beachbot2013Java.commands;
import edu.wpi.first.wpilibj.command.Command;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
import org.usfirst.frc330.Beachbot2013Java.Robot;
/*
 * $Log: ManualArm.java,v $
 * Revision 1.6  2013-03-15 02:50:55  echan
 * added cvs log comments
 *
 */
/**
 *
 */
public class  ManualArm extends Command {
    public ManualArm() {
        // Use requires() here to declare subsystem dependencies
        // eg. requires(chassis);
	
        // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=REQUIRES
        requires(Robot.arm);
    // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=REQUIRES
    }
    // Called just before this Command runs the first time
    protected void initialize() {
    }
    // Called repeatedly when this Command is scheduled to run
    protected void execute() {
        Robot.arm.manualArm();
        SmartDashboard.putNumber("ArmPosition", Robot.arm.getArmPosition());
    }
    // 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() {
    }
}

@@ -720,16 +720,86 @@
 ava,v $%0A
+ * Revision 1.7  2013-03-15 02:58:19  echan%0A * robotbuilder update%0A *%0A
  * Revis
@@ -1737,24 +1737,50 @@
 oid end() %7B%0A
+        Robot.arm.set(0);%0A
     %7D%0A    //
@@ -1916,20 +1916,35 @@
 rrupted() %7B%0A
+        end();%0A
     %7D%0A%7D%0A

set arm to 0 during end