Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.

Commit

Permalink
chore: Format.
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenheroux committed Mar 31, 2024
1 parent 5cd9d4a commit 7b8c17b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/main/java/frc/robot/shooter/FlywheelMotorIOSim.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package frc.robot.shooter;

import edu.wpi.first.math.controller.PIDController;
import edu.wpi.first.math.controller.SimpleMotorFeedforward;
import edu.wpi.first.math.system.plant.DCMotor;
import edu.wpi.first.wpilibj.simulation.FlywheelSim;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/frc/robot/shooter/ShooterConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public static class SerializerConstants {

/** Maximum speed in rotations per second. */
public static final double MAXIMUM_SPEED = 4.75;

/** Speed tolerance in rotations per second. */
public static final double SPEED_TOLERANCE = 0.25;
}
Expand All @@ -31,7 +31,7 @@ public static class FlywheelConstants {

/** Maximum speed in rotations per second. */
public static final double MAXIMUM_SPEED = 5.65;

/** Speed tolerance in rotations per second. */
public static final double SPEED_TOLERANCE = 0.25;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,10 @@ public boolean atSerializerVelocityGoal(SuperstructureState goal) {
}

public boolean at(SuperstructureState other) {
return atShoulderAngleGoal(other) && atRollerVelocityGoal(other) && atFlywheelVelocityGoal(other) && atSerializerVelocityGoal(other);
return atShoulderAngleGoal(other)
&& atRollerVelocityGoal(other)
&& atFlywheelVelocityGoal(other)
&& atSerializerVelocityGoal(other);
}

/**
Expand Down

0 comments on commit 7b8c17b

Please sign in to comment.