Skip to content

Commit

Permalink
Added logging tool
Browse files Browse the repository at this point in the history
  • Loading branch information
MrTinker64 committed Sep 24, 2023
1 parent 894323a commit 56dacc8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/frc/robot/Robot.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package frc.robot;

import edu.wpi.first.wpilibj.DataLogManager;
import edu.wpi.first.wpilibj.DriverStation;
import edu.wpi.first.wpilibj.TimedRobot;
import edu.wpi.first.wpilibj2.command.Command;
Expand All @@ -17,6 +18,9 @@ public class Robot extends TimedRobot {
public void robotInit() {
m_robotContainer = new RobotContainer(m_swerveSubsystem);
DriverStation.silenceJoystickConnectionWarning(true);
// Logging stuff
DataLogManager.start();
DriverStation.startDataLog(DataLogManager.getLog());
}

@Override
Expand Down

0 comments on commit 56dacc8

Please sign in to comment.