Skip to content

Commit 7ae78ff

Browse files
committed
Cleanup PivotKrakenHardware.java
Forgot to remove CANCoder object before last commit
1 parent 6a15cd5 commit 7ae78ff

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/main/java/frc/robot/subsystems/pivot/PivotKrakenHardware.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
import com.ctre.phoenix6.controls.MotionMagicVoltage;
1414
import com.ctre.phoenix6.controls.NeutralOut;
1515
import com.ctre.phoenix6.controls.VoltageOut;
16-
import com.ctre.phoenix6.hardware.CANcoder;
1716
import com.ctre.phoenix6.hardware.TalonFX;
1817
import com.ctre.phoenix6.signals.FeedbackSensorSourceValue;
1918
import com.ctre.phoenix6.signals.InvertedValue;
@@ -54,7 +53,6 @@ public static class PivotInputs {
5453
? new TalonFX(PivotConstants.kFollowerMotorID, PivotConstants.kCANBusName)
5554
: new TalonFX(PivotConstants.kFollowerMotorID);
5655

57-
private CANcoder absoluteEncoder;
5856
private DutyCycleEncoder throughBoreEncoder;
5957

6058
private TalonFXConfiguration motorConfiguration = new TalonFXConfiguration();

0 commit comments

Comments
 (0)