mirror of
https://github.com/Team4388/2026KPopRobotHunters.git
synced 2026-06-09 00:38:03 -06:00
controls fix
This commit is contained in:
@@ -56,12 +56,6 @@ public class IntakeReal implements IntakeIO {
|
||||
@Override
|
||||
public void setRollerOutput(IntakeState state, double rollerOutput) {
|
||||
state.rollerTargetOutput = rollerOutput;
|
||||
|
||||
|
||||
if(rollerOutput == 0) {
|
||||
m_rollerMotor.set(0);
|
||||
return;
|
||||
}
|
||||
m_rollerMotor.set(rollerOutput);
|
||||
}
|
||||
|
||||
|
||||
@@ -86,15 +86,6 @@ public class ShooterReal implements ShooterIO {
|
||||
@Override
|
||||
public void setIndexerOutput(ShooterState state, double percentOutput) {
|
||||
state.indexerTargetOutput = percentOutput;
|
||||
|
||||
if(percentOutput == 0) {
|
||||
m_indexerMotor.set(0);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
// AngularVelocity motorRps = target.times(ShooterConstants.INDEXER_GEAR_RATIO);
|
||||
m_indexerMotor.set(percentOutput);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user