package org.usfirst.frc.team4576.robot.commands;

import org.usfirst.frc.team4576.robot.Robot;

import edu.wpi.first.wpilibj.Timer;
import edu.wpi.first.wpilibj.command.Command;

public class Autonomous extends Command{

	@Override
	protected void initialize() {
		//requires(Robot.chassis);
		//requires(Robot.pneumatics);
		//requires(Robot.elevator);
		
		
		//=================TEST THIS=====================
		Robot.elevator.zero();
		Robot.chassis.initAuto();
		Robot.pneumatics.setArms(true);
		Timer.delay(0.5);
		Robot.chassis.setLeftRight(1, -1);
		Robot.elevator.up();
		//Robot.elevator.down();
		Timer.delay(1);
		Robot.chassis.setLeftRight(0, 0);
		Robot.chassis.disable();
		Robot.chassis.initTeleop();
		//Robot.pneumatics.setArms(false);
	}

	@Override
	protected void execute() {
		// TODO Auto-generated method stub
		
	}

	@Override
	protected boolean isFinished() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	protected void end() {
		// TODO Auto-generated method stub
		
	}

	@Override
	protected void interrupted() {
		// TODO Auto-generated method stub
		
	}

}

package org.usfirst.frc.team4576.robot.commands;

import org.usfirst.frc.team4576.robot.Robot;

import edu.wpi.first.wpilibj.Timer;
import edu.wpi.first.wpilibj.command.Command;

public class Autonomous extends Command{

	@Override
	protected void initialize() {
		//requires(Robot.chassis);
		//requires(Robot.pneumatics);
		//requires(Robot.elevator);
		
		
		//=================TEST THIS=====================
		//Robot.elevator.zero();
		//Robot.chassis.initAuto();
		Robot.pneumatics.setArms(true);
		Timer.delay(0.5);
		Robot.chassis.setLeftRight(1, -1);
		Robot.elevator.up();
		//Robot.elevator.down();
		Timer.delay(1);
		Robot.chassis.setLeftRight(0, 0);
		//Robot.chassis.disable();
		//Robot.chassis.initTeleop();
		//Robot.pneumatics.setArms(false);
	}

	@Override
	protected void execute() {
		// TODO Auto-generated method stub
		
	}

	@Override
	protected boolean isFinished() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	protected void end() {
		// TODO Auto-generated method stub
		
	}

	@Override
	protected void interrupted() {
		// TODO Auto-generated method stub
		
	}

}

Update Autonomous.java