Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 0 additions & 6 deletions src/main/java/com/team2813/subsystems/Elevator.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
import edu.wpi.first.networktables.NetworkTableInstance;
import edu.wpi.first.units.Units;
import edu.wpi.first.units.measure.Angle;
import edu.wpi.first.units.measure.Current;
import java.util.function.Supplier;

/** This is the Elevator. His name is Pablo. Please be kind to him and say hi. Have a nice day! */
Expand Down Expand Up @@ -52,11 +51,6 @@ protected void useOutput(double output, double setpoint) {
super.useOutput(MathUtil.clamp(output, -6, 6), setpoint);
}

@Override
public Current getAppliedCurrent() {
return motor.getAppliedCurrent();
}

public enum Position implements Supplier<Angle> {
BOTTOM(-0.212500),
TEST(10),
Expand Down
6 changes: 0 additions & 6 deletions src/main/java/com/team2813/subsystems/GroundIntakePivot.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import edu.wpi.first.networktables.NetworkTableInstance;
import edu.wpi.first.units.Units;
import edu.wpi.first.units.measure.Angle;
import edu.wpi.first.units.measure.Current;
import edu.wpi.first.wpilibj.DriverStation;
import java.util.function.Supplier;

Expand Down Expand Up @@ -55,11 +54,6 @@ private static PIDMotor pivotMotor() {
return pivotMotor;
}

@Override
public Current getAppliedCurrent() {
return motor.getAppliedCurrent();
}

@Override
public void periodic() {
super.periodic();
Expand Down
6 changes: 0 additions & 6 deletions src/main/java/com/team2813/subsystems/IntakePivot.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import edu.wpi.first.networktables.NetworkTableInstance;
import edu.wpi.first.units.Units;
import edu.wpi.first.units.measure.Angle;
import edu.wpi.first.units.measure.Current;
import java.util.function.Supplier;

/**
Expand Down Expand Up @@ -46,11 +45,6 @@ protected void useOutput(double output, double setPoint) {
super.useOutput(output, setPoint);
}

@Override
public Current getAppliedCurrent() {
return motor.getAppliedCurrent();
}

private static PIDMotor pivotMotor() {
TalonFXWrapper pivotMotor =
new TalonFXWrapper(com.team2813.Constants.INTAKE_PIVOT, InvertType.COUNTER_CLOCKWISE);
Expand Down