Skip to content
This repository was archived by the owner on Sep 14, 2019. It is now read-only.

Commit e87b9c6

Browse files
committed
remove DashboardInterface
Removed DashboardInterface, a wrapper for SmartDashboard, since it was determined that we don't need it.
1 parent a13bc36 commit e87b9c6

4 files changed

Lines changed: 4 additions & 76 deletions

File tree

Robot2018/src/org/usfirst/frc/team199/Robot2018/DashboardInterface.java

Lines changed: 0 additions & 68 deletions
This file was deleted.

Robot2018/src/org/usfirst/frc/team199/Robot2018/commands/AutonomousInterface.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
package org.usfirst.frc.team199.Robot2018.commands;
22

3-
import org.usfirst.frc.team199.Robot2018.DashboardInterface;
43

5-
import edu.wpi.first.wpilibj.DriverStation;
6-
7-
public interface AutonomousInterface extends DashboardInterface{
4+
public interface AutonomousInterface {
85
public enum Position {
96
LEFT,
107
CENTER,

Robot2018/src/org/usfirst/frc/team199/Robot2018/commands/TestAuto.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package org.usfirst.frc.team199.Robot2018.commands;
22

33
import edu.wpi.first.wpilibj.command.CommandGroup;
4+
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
45

56
/**
67
* Used for testing the autonomous interfaces. Runs the script specified in
@@ -17,6 +18,6 @@ public TestAuto() {
1718
*/
1819
@Override
1920
public String getScriptToTest() {
20-
return getString("Auto Script", "NOTHING");
21+
return SmartDashboard.getString("Auto Script", "NOTHING");
2122
}
2223
}

Robot2018/src/org/usfirst/frc/team199/Robot2018/commands/TestAutoInterface.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
package org.usfirst.frc.team199.Robot2018.commands;
22

3-
import org.usfirst.frc.team199.Robot2018.DashboardInterface;
4-
5-
public interface TestAutoInterface extends DashboardInterface {
3+
public interface TestAutoInterface {
64
/**
75
* gets the script name that we want to run from SmartDashboard
86
*

0 commit comments

Comments
 (0)