mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Use default path for networktables.ini in simulation (#2205)
This commit is contained in:
@@ -124,7 +124,11 @@ RobotBase::RobotBase() : m_ds(DriverStation::GetInstance()) {
|
||||
|
||||
auto inst = nt::NetworkTableInstance::GetDefault();
|
||||
inst.SetNetworkIdentity("Robot");
|
||||
#ifdef __FRC_ROBORIO__
|
||||
inst.StartServer("/home/lvuser/networktables.ini");
|
||||
#else
|
||||
inst.StartServer();
|
||||
#endif
|
||||
|
||||
SmartDashboard::init();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user