From 92f9e26278e7257ed30f79466d6fb4cede68adcf Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Fri, 25 Oct 2024 18:56:44 +0000 Subject: [PATCH] style: format code with Ktlint This commit fixes the style issues introduced in 4920ceb according to the output from Ktlint. Details: None --- src/main/java/frc/robot/Robot.kt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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