Remove unimplemented sendErrorStreamToDriverStation method (fixes artf3617)

Change-Id: I35dc863b3318e22e503d95273812ab25a1ae0a70
This commit is contained in:
Kevin O'Connor
2014-10-29 14:30:22 -04:00
parent 80194e9809
commit 97f954aef6
2 changed files with 0 additions and 23 deletions

View File

@@ -36,11 +36,6 @@ public abstract class RobotBase {
*/
public static final int ROBOT_TASK_PRIORITY = 101;
/**
* Boolean System property. If true (default), send System.err messages to the driver station.
*/
public final static String ERRORS_TO_DRIVERSTATION_PROP = "first.driverstation.senderrors";
protected final DriverStation m_ds;
/**
@@ -56,9 +51,6 @@ public abstract class RobotBase {
// TODO: See if the next line is necessary
// Resource.RestartProgram();
// if (getBooleanProperty(ERRORS_TO_DRIVERSTATION_PROP, true)) {
// Utility.sendErrorStreamToDriverStation(true);
// }
NetworkTable.setServerMode();//must be before b
m_ds = DriverStation.getInstance();
NetworkTable.getTable(""); // forces network tables to initialize

View File

@@ -82,19 +82,4 @@ public class Utility {
HALUtil.checkStatus(status.asIntBuffer());
return value;
}
/**
* Control whether to send System.err output to the driver station's error
* pane.
*
* @param enabled
* if true, send error stream to driver station, otherwise
* disable sending error stream
*/
public static void sendErrorStreamToDriverStation(boolean enabled) {
final String url = "dserror:edu.wpi.first.wpilibj.Utility"; // the path
// is just a
// comment.
}
}