/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008. All Rights Reserved.                             */
/* Open Source Software - may be modified and shared by FRC teams. The code   */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project.                                                               */
/*----------------------------------------------------------------------------*/

package edu.wpi.first.wpilibj.technobots;


import edu.wpi.first.wpilibj.IterativeRobot;
import edu.wpi.first.wpilibj.command.Command;
import edu.wpi.first.wpilibj.command.Scheduler;
import edu.wpi.first.wpilibj.technobots.commands.CommandBase;
import edu.wpi.first.wpilibj.technobots.commands.SweeterOn;

/**
 * The VM is configured to automatically run this class, and to call the
 * functions corresponding to each mode, as described in the IterativeRobot
 * documentation. If you change the name of this class or the package after
 * creating this project, you must also update the manifest file in the resource
 * directory.
 */
public class Technobots extends IterativeRobot {

    Command autonomousCommand;

    /**
     * This function is run when the robot is first started up and should be
     * used for any initialization code.
     */
    public void robotInit() {
        // instantiate the command used for the autonomous period
        autonomousCommand = new SweeterOn();

        // Initialize all subsystems
        CommandBase.init();
    }

    public void autonomousInit() {
        // schedule the autonomous command (example)
        autonomousCommand.start();
    }

    /**
     * This function is called periodically during autonomous
     */
    public void autonomousPeriodic() {
        Scheduler.getInstance().run();
    }

    public void teleopInit() {
	// This makes sure that the autonomous stops running when
        // teleop starts running. If you want the autonomous to
        // continue until interrupted by another command, remove
        // this line or comment it out.
        autonomousCommand.cancel();
    }

    /**
     * This function is called periodically during operator control
     */
    public void teleopPeriodic() {
        Scheduler.getInstance().run();
    }
}

@@ -479,17 +479,16 @@
 -----*/%0A
-%0A
 package 
@@ -522,17 +522,16 @@
 obots;%0A%0A
-%0A
 import e
@@ -782,16 +782,57 @@
 eeterOn;
+%0Aimport edu.wpi.first.wpilibj.Compressor;
 %0A%0A/**%0A *
@@ -1233,16 +1233,129 @@
 Command;
+%0A    Compressor compressor;%0A%0A    public Technobots() %7B%0A        %0A        compressor = new Compressor(3, 1);%0A%0A    %7D
 %0A%0A    /*
@@ -1685,24 +1685,52 @@
 ase.init();%0A
+        compressor.start();%0A
     %7D%0A%0A    p
@@ -2052,9 +2052,16 @@
 ) %7B%0A
-%09
+        
 // T

Add compressor