Skip to content

Commit

Permalink
changed shootercalc constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver-Cushman committed Jan 23, 2024
1 parent 0d6dc90 commit 1876aad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/frc/robot/commands/ShooterCalc.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ public class ShooterCalc {
private Shooter shooter;
private BooleanSupplier aiming;

public ShooterCalc() {
this.pivot = new Pivot();
this.shooter = new Shooter();
public ShooterCalc(Shooter shooter, Pivot pivot) {
this.pivot = pivot;
this.shooter = shooter;
this.aiming = (() -> false);
}

Expand Down

0 comments on commit 1876aad

Please sign in to comment.