Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add logging code to SuperCORE to make logging as simple as one line #278

Open
TaylerUva opened this issue Mar 30, 2024 · 0 comments
Open

Comments

@TaylerUva
Copy link
Member

TaylerUva commented Mar 30, 2024

// Set out log file to be in its own folder
if (Robot.isSimulation()) {
DataLogManager.start("src/main");
} else {
DataLogManager.start();
}
// Log data that is being put to shuffleboard
DataLogManager.logNetworkTables(true);
// Log the DS data and joysticks
DriverStation.startDataLog(DataLogManager.getLog(), true);
DriverStation.silenceJoystickConnectionWarning(Constants.constRobot.SILENCE_JOYSTICK_WARNINGS);

@TaylerUva TaylerUva changed the title This should be moved into SuperCORE to make logging as simple as one line Add logging code to SuperCORE to make logging as simple as one line Mar 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant