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

@@ -49,6 +49,7 @@ RobotBase::RobotBase() : m_ds(DriverStation::GetInstance()) {
RobotBase::setInstance(this);
NetworkTable::SetNetworkIdentity("Robot");
NetworkTable::SetPersistentFilename("/home/lvuser/networktables.ini");
FILE *file = nullptr;
file = fopen("/tmp/frc_versions/FRC_Lib_Version.ini", "w");