Remove indexer velocity

This commit is contained in:
mimigamin
2026-03-16 16:13:53 -06:00
parent d5f316b0c1
commit 86b36a687e
2 changed files with 0 additions and 4 deletions
@@ -26,7 +26,6 @@ public interface ShooterIO {
AngularVelocity motor1Velocity = RotationsPerSecond.of(0);
AngularVelocity motor2Velocity = RotationsPerSecond.of(0);
AngularVelocity indexerForwardVelocity = RotationsPerSecond.of(0);
double indexerOutput = 0;
Current motor1Current = Amps.of(0);
@@ -87,9 +87,6 @@ public class ShooterReal implements ShooterIO {
public void setIndexerOutput(ShooterState state, double percentOutput) {
state.indexerTargetOutput = percentOutput;
m_indexerMotor.set(percentOutput);
if (state.indexerTargetOutput - state.indexerOutput > 0.05){
state.indexerForwardVelocity = m_indexerMotor.getVelocity().getValue().div(ShooterConstants.INDEXER_GEAR_RATIO);
}
}