// RobotBuilder Version: 2.0
//
// 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 the future.


package org.usfirst.frc3824.PrototypeRobot.subsystems;

import org.usfirst.frc3824.PrototypeRobot.RobotMap;
import org.usfirst.frc3824.PrototypeRobot.commands.*;
import edu.wpi.first.wpilibj.AnalogGyro;
import edu.wpi.first.wpilibj.Joystick;
import edu.wpi.first.wpilibj.RobotDrive;
import edu.wpi.first.wpilibj.SpeedController;
import edu.wpi.first.wpilibj.command.Subsystem;


/**
 *
 */
public class Chassis extends Subsystem {

    // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTANTS

    // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTANTS

    // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=DECLARATIONS
    private final AnalogGyro gyro = RobotMap.chassisGyro;
    private final SpeedController motorLeftA = RobotMap.chassisMotorLeftA;
    private final SpeedController motorLeftB = RobotMap.chassisMotorLeftB;
    private final SpeedController motorRightA = RobotMap.chassisMotorRightA;
    private final SpeedController motorRightB = RobotMap.chassisMotorRightB;
    private final RobotDrive wCDrive4 = RobotMap.chassisWCDrive4;

    // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=DECLARATIONS


    // Put methods for controlling this subsystem
    // here. Call these from Commands.

    public void initDefaultCommand() {
        // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=DEFAULT_COMMAND


    // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=DEFAULT_COMMAND

        // Set the default command for a subsystem here.
        // setDefaultCommand(new MySpecialCommand());
    }
    
    public void driveWithJoystick(Joystick stick)
    {
    	wCDrive4.arcadeDrive(stick);
    }
    
    public void stop()
    {
    	wCDrive4.arcadeDrive(0, 0);
    }
}


@@ -1861,24 +1861,71 @@
 _COMMAND%0D%0A%0D%0A
+        setDefaultCommand(new TeleopDrive());%0D%0A
 %0D%0A    // END

Fix to KOP robot code - missing default command. KOP robot code should now work