Skip to content

Commit

Permalink
spotlessApply
Browse files Browse the repository at this point in the history
  • Loading branch information
kirbt committed Mar 21, 2024
1 parent b4281c7 commit 6e4ce78
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion src/main/java/frc/team2412/robot/util/AutonomousField.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public static void configureShuffleboardTab(
addPeriodic.accept(
() -> {
watchdog.reset();

autonomousField.update(AutoLogic.getSelectedAutoName());
watchdog.addEpoch("AutonomousField.update()");
watchdog.disable();
Expand Down
11 changes: 0 additions & 11 deletions src/main/java/frc/team2412/robot/util/auto/AutoPath.java
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
package frc.team2412.robot.util.auto;

import java.util.ArrayList;
import java.util.List;

import com.pathplanner.lib.auto.AutoBuilder;
import com.pathplanner.lib.commands.PathPlannerAuto;
import com.pathplanner.lib.path.PathPlannerPath;
import com.pathplanner.lib.path.PathPlannerTrajectory;

import edu.wpi.first.math.MathUtil;
import edu.wpi.first.math.geometry.Pose2d;
import edu.wpi.first.math.geometry.Rotation2d;
import edu.wpi.first.math.kinematics.ChassisSpeeds;
import edu.wpi.first.wpilibj2.command.Command;
import frc.team2412.robot.util.auto.AutoLogic.StartPosition;

Expand All @@ -24,7 +16,6 @@ public class AutoPath {
private final Command autoCommand;
private final boolean vision;


public AutoPath(String displayName, String pathPlannerAutoName, boolean vision) {
this.displayName = displayName;
this.pathPlannerAutoName = pathPlannerAutoName;
Expand Down Expand Up @@ -91,6 +82,4 @@ public boolean matchesStartPosition(StartPosition expectedStartPosition) {
startPose2d.getRotation().getDegrees(),
5));
}


}

0 comments on commit 6e4ce78

Please sign in to comment.