Merge "Remove unimplemented sendErrorStreamToDriverStation method (fixes artf3617)"

This commit is contained in:
Brad Miller (WPI)
2014-11-05 08:44:48 -08:00
committed by Gerrit Code Review
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.
}
}