Skip to content

Commit

Permalink
Spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
frc1987 committed Jun 6, 2024
1 parent 07f9aca commit a5a3d83
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
1 change: 0 additions & 1 deletion src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
import frc.robot.commands.movement.PointAtSpeaker;
import frc.robot.commands.movement.SwerveCommand;
import frc.robot.commands.qol.AsyncRumble;
import frc.robot.commands.qol.DefaultCANdle;
import frc.robot.constants.Constants;
import frc.robot.constants.DriveConstants;
import frc.robot.subsystems.AmpSensors;
Expand Down
4 changes: 1 addition & 3 deletions src/main/java/frc/robot/commands/control/auto/Madtown.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@

package frc.robot.commands.control.auto;

import java.util.function.BooleanSupplier;

import com.pathplanner.lib.auto.AutoBuilder;

import edu.wpi.first.wpilibj.DriverStation.Alliance;
import edu.wpi.first.wpilibj2.command.ConditionalCommand;
import edu.wpi.first.wpilibj2.command.InstantCommand;
Expand All @@ -18,6 +15,7 @@
import frc.robot.RobotContainer;
import frc.robot.subsystems.CommandSwerveDrivetrain;
import frc.robot.util.Util;
import java.util.function.BooleanSupplier;

// NOTE: Consider using this command inline, rather than writing a subclass. For more
// information, see:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@

package frc.robot.commands.control.auto;

import java.util.function.BooleanSupplier;

import com.ctre.phoenix6.mechanisms.swerve.SwerveRequest;
import edu.wpi.first.math.kinematics.ChassisSpeeds;
import edu.wpi.first.wpilibj2.command.Command;
import frc.robot.RobotContainer;
import java.util.function.BooleanSupplier;

public class RotateUntilNote extends Command {

Expand All @@ -24,13 +23,12 @@ public RotateUntilNote(final BooleanSupplier isClockwise) {
this.isClockwise = isClockwise;
// Use addRequirements() here to declare subsystem dependencies.
addRequirements(RobotContainer.DRIVETRAIN);

}

// Called when the command is initially scheduled.
@Override
public void initialize() {
shouldTurnClockwise = isClockwise.getAsBoolean() ? -1.0 : 1.0;
shouldTurnClockwise = isClockwise.getAsBoolean() ? -1.0 : 1.0;
}

// Called every time the scheduler runs while the command is scheduled.
Expand Down

0 comments on commit a5a3d83

Please sign in to comment.