Use absolute path for NT persistent storage.

Fixes artf4782.

Change-Id: I34c142b3e17e2ba26cff429ceb771e30196f9bfd
This commit is contained in:
Peter Johnson
2016-01-05 19:20:16 -08:00
parent 3cd1253977
commit 5765b13976
2 changed files with 2 additions and 0 deletions

View File

@@ -60,6 +60,7 @@ public abstract class RobotBase {
// Resource.RestartProgram();
NetworkTable.setNetworkIdentity("Robot");
NetworkTable.setPersistentFilename("/home/lvuser/networktables.ini");
NetworkTable.setServerMode();// must be before b
m_ds = DriverStation.getInstance();
NetworkTable.getTable(""); // forces network tables to initialize