@@ -0,0 +1,1502 @@
+/*%0A * To change this template, choose Tools %7C Templates%0A * and open the template in the editor.%0A */%0Apackage com.badrobots.y2012.technetium.commands;%0A%0Aimport edu.wpi.first.wpilibj.Timer;%0A%0A%0A/**%0A *%0A * @author 1014%0A */%0Apublic class DriveToWall extends CommandBase %7B%0A%0A    public DriveToWall() %7B%0A        requires(driveTrain);%0A        requires(sensors);%0A%0A    %7D%0A%0A    // Called just before this Command runs the first time%0A    protected void initialize() %7B%0A    %7D%0A%0A    // Called repeatedly when this Command is scheduled to run%0A    protected void execute() %7B%0A        if(sensors.getUtraFrontRange() %3C 1000 && sensors.getUtraFrontRange() %3E 750)%0A        %7B%0A            driveTrain.autoMechanumDrive(0, 0, 0);%0A        %7D%0A        else if(sensors.getUtraFrontRange() %3C= 750)%0A        %7B%0A            driveTrain.autoMechanumDrive(0,.16,0);%0A        %7D%0A        else%0A            driveTrain.autoMechanumDrive(0,-.16,0);%0A%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; //sensors.closerThan(900);%0A    %7D%0A%0A    // Called once after isFinished returns true%0A    protected void end() %7B%0A%0A        driveTrain.autoMechanumDrive(0, -.1, 0);%0A        Timer.delay(.25);%0A        driveTrain.autoMechanumDrive(0, 0, 0);%0A        System.out.println(%22OH DEAR GOD STOOOOOOPPPPPPP!!!!!!!!!!%22);%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

Revert "Revert "added movetowall""