mirror of
https://github.com/Team4388/2026KPopRobotHunters.git
synced 2026-06-09 00:38:03 -06:00
Remove indexer velocity
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user