A number of incomplete changes, and fixing OI constants which didn't get properly saved

This commit is contained in:
2026-01-14 21:15:21 -05:00
parent 58a6971704
commit 95e15ed75e
6 changed files with 27 additions and 13 deletions

View File

@@ -22,11 +22,12 @@ public class Robot extends LoggedRobot {
private final RobotContainer m_robotContainer;
@SuppressWarnings("resource")
public Robot() {
Logger.recordMetadata("ProjectName", "2026_Robot_Code");
if(isReal()) {
if(CompetitionConstants.logToNetworkTables) {
if(CompetitionConstants.kLogToNetworkTables) {
Logger.addDataReceiver(new NT4Publisher());
}
@@ -41,7 +42,7 @@ public class Robot extends LoggedRobot {
}
Logger.start();
m_robotContainer = new RobotContainer();
}