mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
Use default path for networktables.ini in simulation (#2205)
This commit is contained in:
@@ -94,7 +94,11 @@ public abstract class RobotBase implements AutoCloseable {
|
||||
m_threadId = Thread.currentThread().getId();
|
||||
setupCameraServerShared();
|
||||
inst.setNetworkIdentity("Robot");
|
||||
inst.startServer("/home/lvuser/networktables.ini");
|
||||
if (isReal()) {
|
||||
inst.startServer("/home/lvuser/networktables.ini");
|
||||
} else {
|
||||
inst.startServer();
|
||||
}
|
||||
m_ds = DriverStation.getInstance();
|
||||
inst.getTable("LiveWindow").getSubTable(".status").getEntry("LW Enabled").setBoolean(false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user