// RobotBuilder Version: 1.5
//
// 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.frc1073.robot15.subsystems;

import org.usfirst.frc1073.robot15.RobotMap;
import org.usfirst.frc1073.robot15.commands.*;

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


/**
 *
 */
public class dashboard extends Subsystem {
    // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=DECLARATIONS

    // 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 SendToDashboard());

    // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=DEFAULT_COMMAND
	
        // Set the default command for a subsystem here.
        //setDefaultCommand(new MySpecialCommand());
    }
}


@@ -529,16 +529,58 @@
 stems;%0A%0A
+import org.usfirst.frc1073.robot15.Robot;%0A
 import o
@@ -616,16 +616,16 @@
 botMap;%0A
-
 import o
@@ -712,16 +712,76 @@
 system;%0A
+import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;%0A
 %0A%0A/**%0A *
@@ -1226,17 +1226,22 @@
 ard());%0A
+    %7D
 %0A
-
     // E
@@ -1306,9 +1306,490 @@
 AND%0A
-%09
+    private int CubicRel(boolean cubic, boolean fieldRel)%0A    %7B%0A    %09if(!cubic && !fieldRel)%0A    %09%7B%0A    %09%09return 0;%0A    %09%7D%0A    %09else if(cubic && !fieldRel)%0A    %09%7B%0A    %09%09return 1;%0A    %09%7D%0A    %09else if(!cubic && fieldRel)%0A    %09%7B%0A    %09%09return 2;%0A    %09%7D%0A    %09else if(cubic && fieldRel)%0A    %09%7B%0A    %09%09return 3;%0A    %09%7D%0A    %09return -1;%0A    %7D%0A%09public void sendData()%0A%09%7B%0A%09%09SmartDashboard.putInt(%22Driving Mode%22, CubicRel(Robot.driveTrain.isCubicDrive(), Robot.driveTrain.isFieldRelative()));%0A%09%7D
 %0A   

Revert "Revert "More Stuff""