This commit is contained in:
Michael Mikovsky
2026-02-14 11:50:09 -08:00
parent 8381ac4607
commit abc3dc6b14
3 changed files with 19 additions and 16 deletions
@@ -61,9 +61,9 @@ public class Shooter extends SubsystemBase {
private ShooterMode mode = ShooterMode.NotReady;
public void setShooterReady() {
if(this.mode == ShooterMode.NotReady) {
this.mode = ShooterMode.Ready;
}
// if(this.mode == ShooterMode.NotReady) {
this.mode = ShooterMode.Ready;
// }
}
public void setShooterNotReady() {
@@ -95,6 +95,9 @@ public class Shooter extends SubsystemBase {
double distanceToHub = robotPose2d.getTranslation().minus(FieldPositions.HUB_POSITION).getNorm();
this.mode = ShooterMode.Shooting;
// TODO: get if the robot is within the angle of the hub
// boolean driverError =