Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

import com.google.auto.value.AutoBuilder;
import com.team2813.lib2813.control.ControlMode;
import com.team2813.lib2813.control.PIDMotor;
import com.team2813.lib2813.control.Motor;
import edu.wpi.first.wpilibj2.command.Command;
import edu.wpi.first.wpilibj2.command.InstantCommand;
import edu.wpi.first.wpilibj2.command.SubsystemBase;

public abstract class ParameterizedIntakeSubsystem extends SubsystemBase implements AutoCloseable {
private final PIDMotor intakeMotor;
private final Motor intakeMotor;
private final Params params;

public record Params(ControlMode controlMode, double intakeDemand, double outtakeDemand) {
Expand Down Expand Up @@ -46,7 +46,7 @@ public interface Builder {
}
}

protected ParameterizedIntakeSubsystem(PIDMotor intakeMotor, Params params) {
protected ParameterizedIntakeSubsystem(Motor intakeMotor, Params params) {
this.intakeMotor = intakeMotor;
this.params = params;
}
Expand Down
Loading