]> git.taranathan.com Git - FRC2027.git/commitdiff
Google Java Format
authorgithub-actions <>
Fri, 15 May 2026 21:55:43 +0000 (21:55 +0000)
committergithub-actions <>
Fri, 15 May 2026 21:55:43 +0000 (21:55 +0000)
src/main/java/frc/robot/Robot.java
src/main/java/frc/robot/commands/LogCommand.java
src/main/java/frc/robot/commands/auto_comm/DynamicAutoBuilder.java
src/main/java/frc/robot/commands/drive_comm/DefaultDriveCommand.java
src/main/java/frc/robot/subsystems/PowerControl/EMABreaker.java
src/main/java/frc/robot/util/Vision/DriverAssist.java

index 04af9e544448ce6b28684ac3663e7d553f792e1b..06e2c4db00d5bb5c473b6e9d36c832299d7c398c 100644 (file)
@@ -61,9 +61,8 @@ public class Robot extends LoggedRobot {
         Logger.addDataReceiver(new WPILOGWriter(LogFileUtil.addPathSuffix(logPath, "_sim")));
         break;
     }
-    Logger
-        .start(); // Start logging! No more data receivers, replay sources, or metadata values may
-                  // be added.
+    Logger.start(); // Start logging! No more data receivers, replay sources, or metadata values may
+    // be added.
   }
 
   /**
@@ -78,9 +77,8 @@ public class Robot extends LoggedRobot {
     //   Uncomment the next line, set the desired RobotId, deploy, and then comment the line out
     //  RobotId.setRobotId(RobotId.SwerveCompetition);
 
-    RobotController.setBrownoutVoltage(
-        4.6); // TODO might break on systemcores
-              // https://www.chiefdelphi.com/t/frc-1678-citrus-circuits-systemcore-alpha-testing-thread/506842
+    RobotController.setBrownoutVoltage(4.6); // TODO might break on systemcores
+    // https://www.chiefdelphi.com/t/frc-1678-citrus-circuits-systemcore-alpha-testing-thread/506842
     // obtain this robot's identity
     RobotId robotId = RobotId.getRobotId();
 
index d92b1f31eb8a22b1dc6ce18ee2c2bb5cdfc2849e..12f601ce4bcfe6b1e1b76c22dfc9d140f1d38a27 100644 (file)
@@ -1,6 +1,5 @@
 package frc.robot.commands;
 
-
 import edu.wpi.first.wpilibj2.command.Command;
 import frc.robot.constants.Constants;
 
index 6d58ecc29496ad1ba5f329005b1e155bd7dd946d..6b9353f14d9f2763dea33b23315c9ffc477a8472 100644 (file)
@@ -2,7 +2,6 @@ package frc.robot.commands.auto_comm;
 
 import edu.wpi.first.wpilibj2.command.*;
 
-
 public class DynamicAutoBuilder {
 
   public DynamicAutoBuilder() {}
index 88d9c5ffa51343dc2bd5cc7802410cfd69014b12..e5e1faa6a47a798c497bd721f064eda5dac92db2 100644 (file)
@@ -1,6 +1,5 @@
 package frc.robot.commands.drive_comm;
 
-
 import edu.wpi.first.math.controller.PIDController;
 import edu.wpi.first.math.kinematics.ChassisSpeeds;
 import edu.wpi.first.wpilibj.DriverStation.Alliance;
index 4f60b94ea3d3a71b66535a4182a59ca277385676..e84ae23f2f1418a3d6556af1cabbc40bb65eb156 100644 (file)
@@ -104,7 +104,7 @@ public class EMABreaker extends SubsystemBase {
   public double getCurrentFromPowerDistribution() {
     return pDis
         .getTotalCurrent(); // not using .getCurrent() and then an arguement for the port you can
-                            // get just
+    // get just
     // one port
   }
 
index d01c5a02f1d0b1cabe536817f7d782d20bb6f040..0db9741bf484954b97c40000726c0c0d2bfa0465 100644 (file)
@@ -66,7 +66,7 @@ public class DriverAssist {
         ChassisSpeeds.fromFieldRelativeSpeeds(
             driveSpeeds,
             yaw); // Changing this does not cause problems because getChassisSpeeds() creates a new
-                  // object
+    // object
     State xState = new State(currentPose.getX(), driveSpeeds.vxMetersPerSecond);
     State yState = new State(currentPose.getY(), driveSpeeds.vyMetersPerSecond);
     State angleState =