mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
Merge "Remove unimplemented sendErrorStreamToDriverStation method (fixes artf3617)"
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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.
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user