Skip to content

Commit

Permalink
spotless Apply
Browse files Browse the repository at this point in the history
  • Loading branch information
StewardHail3433 committed Jan 20, 2024
1 parent dffa504 commit d1590bd
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,13 @@ public ShooterIOSparkMax() {

@Override
public void updateInputs(ShooterIOInputs inputs) {
inputs.velocityRadPerSec =
inputs.velocityRadPerSec =
Units.rotationsPerMinuteToRadiansPerSecond(encoder.getVelocity() / GEAR_RATIO);
inputs.appliedVolts = leader.getAppliedOutput() * leader.getBusVoltage();
}

@Override
public void setVoltage(double volts) {
leader.setVoltage(volts);

}
}
}

0 comments on commit d1590bd

Please sign in to comment.