This commit is contained in:
EdwardFaucher 2023-03-13 19:04:04 -04:00
parent d1ac0f57da
commit 2f8e51e701

View File

@ -13,9 +13,9 @@ public class PivotManuel extends CommandBase {
private Pivot pivot; private Pivot pivot;
private DoubleSupplier doubleSupplier; private DoubleSupplier doubleSupplier;
/** Creates a new PivotManuel. */ /** Creates a new PivotManuel. */
public PivotManuel(Pivot pivot,double d) { public PivotManuel(Pivot pivot,DoubleSupplier doubleSupplier) {
this.pivot = pivot; this.pivot = pivot;
this.doubleSupplier = doubleSupplier;
// Use addRequirements() here to declare subsystem dependencies. // Use addRequirements() here to declare subsystem dependencies.
addRequirements(pivot); addRequirements(pivot);
} }