// 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.frc2129.swRobotics2016b.subsystems;

import org.usfirst.frc2129.swRobotics2016b.RobotMap;
import org.usfirst.frc2129.swRobotics2016b.commands.*;
import edu.wpi.first.wpilibj.RobotDrive;
import edu.wpi.first.wpilibj.SpeedController;
import edu.wpi.first.wpilibj.Talon;

import edu.wpi.first.wpilibj.command.Subsystem;


/**
 *
 */
public class Drive 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 SpeedController left1 = RobotMap.driveleft1;
    private final SpeedController left2 = RobotMap.driveleft2;
    private final SpeedController right1 = RobotMap.driveright1;
    private final SpeedController right2 = RobotMap.driveright2;
    private final RobotDrive tankDrive = RobotMap.drivetankDrive;

    // 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

        setDefaultCommand(new DriveCommand());

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

        // Set the default command for a subsystem here.
        // setDefaultCommand(new MySpecialCommand());
    }
}


@@ -21,19 +21,21 @@
 ion: 2.0
+%0D
 %0A//
+%0D
 %0A// This
@@ -94,16 +94,17 @@
 tions of
+%0D
 %0A// code
@@ -166,16 +166,17 @@
 builder.
+%0D
 %0A// Thes
@@ -234,16 +234,17 @@
 xport to
+%0D
 %0A// Java
@@ -304,16 +304,17 @@
 hange in
+%0D
 %0A// the 
@@ -374,16 +374,17 @@
 st on an
+%0D
 %0A// upda
@@ -444,16 +444,17 @@
  prevent
+%0D
 %0A// it f
@@ -485,18 +485,21 @@
  future.
-%0A%0A
+%0D%0A%0D%0A%0D
 %0Apackage
@@ -546,17 +546,19 @@
 systems;
-%0A
+%0D%0A%0D
 %0Aimport 
@@ -602,16 +602,17 @@
 obotMap;
+%0D
 %0Aimport 
@@ -658,16 +658,17 @@
 mands.*;
+%0D
 %0Aimport 
@@ -786,16 +786,17 @@
 Talon;%0D%0A
+%0D
 %0Aimport 
@@ -839,21 +839,27 @@
 tem;
-%0A%0A
+%0D%0A%0D%0A%0D
 %0A/**
+%0D
 %0A *
+%0D
 %0A */
+%0D
 %0Apub
@@ -893,17 +893,19 @@
 system %7B
-%0A
+%0D%0A%0D
 %0A    // 
@@ -954,33 +954,35 @@
 DER ID=CONSTANTS
-%0A
+%0D%0A%0D
 %0A    // END AUTO
@@ -1029,17 +1029,19 @@
 ONSTANTS
-%0A
+%0D%0A%0D
 %0A    // 
@@ -1101,16 +1101,17 @@
 ARATIONS
+%0D
 %0A    pri
@@ -1165,16 +1165,17 @@
 veleft1;
+%0D
 %0A    pri
@@ -1229,16 +1229,17 @@
 veleft2;
+%0D
 %0A    pri
@@ -1295,16 +1295,17 @@
 eright1;
+%0D
 %0A    pri
@@ -1361,16 +1361,17 @@
 eright2;
+%0D
 %0A    pri
@@ -1428,17 +1428,19 @@
 nkDrive;
-%0A
+%0D%0A%0D
 %0A    // 
@@ -1498,18 +1498,21 @@
 ARATIONS
-%0A%0A
+%0D%0A%0D%0A%0D
 %0A    // 
@@ -1553,16 +1553,17 @@
 ubsystem
+%0D
 %0A    // 
@@ -1593,17 +1593,19 @@
 ommands.
-%0A
+%0D%0A%0D
 %0A    pub
@@ -1635,16 +1635,17 @@
 mand() %7B
+%0D
 %0A       
@@ -1704,33 +1704,35 @@
 =DEFAULT_COMMAND
-%0A
+%0D%0A%0D
 %0A        setDefa
@@ -1762,17 +1762,19 @@
 mand());
-%0A
+%0D%0A%0D
 %0A       
@@ -1839,17 +1839,19 @@
 _COMMAND
-%0A
+%0D%0A%0D
 %0A       
@@ -1899,16 +1899,17 @@
 em here.
+%0D
 %0A       
@@ -1958,14 +1958,115 @@
 ());
+%0D
 %0A    %7D
-%0A%7D%0A
+%0D%0A    %0D%0A%09public void DriveCommand(double left, double right)%7B%0D%0A%09tankDrive.drive(left, right);%0D%0A%09%7D%0D%0A%7D%0D%0A%0D
 %0A

Update Drive.java