diff --git a/src/main/java/frc/robot/Robot.kt b/src/main/java/frc/robot/Robot.kt index 703175c..b38bd79 100755 --- a/src/main/java/frc/robot/Robot.kt +++ b/src/main/java/frc/robot/Robot.kt @@ -11,11 +11,9 @@ import edu.wpi.first.wpilibj.PowerDistribution import edu.wpi.first.wpilibj2.command.Command import edu.wpi.first.wpilibj2.command.CommandScheduler import frc.robot.Util.LocalADStarAK -import org.littletonrobotics.junction.LogFileUtil import org.littletonrobotics.junction.LoggedRobot import org.littletonrobotics.junction.Logger import org.littletonrobotics.junction.networktables.NT4Publisher -import org.littletonrobotics.junction.wpilog.WPILOGReader import org.littletonrobotics.junction.wpilog.WPILOGWriter class Robot : LoggedRobot() { @@ -29,9 +27,9 @@ class Robot : LoggedRobot() { Logger.recordMetadata("ProjectName", "FRC2024-offseason") // Set a metadata value // if (isReal()) { - Logger.addDataReceiver(WPILOGWriter()) // Log to a USB stick ("/U/logs") TODO get usb stick - Logger.addDataReceiver(NT4Publisher()) // Publish data to NetworkTables - PowerDistribution(1, PowerDistribution.ModuleType.kRev) // Enables power distribution logging + Logger.addDataReceiver(WPILOGWriter()) // Log to a USB stick ("/U/logs") TODO get usb stick + Logger.addDataReceiver(NT4Publisher()) // Publish data to NetworkTables + PowerDistribution(1, PowerDistribution.ModuleType.kRev) // Enables power distribution logging // } // else { // setUseTiming(false) // Run as fast as possible