This commit is contained in:
Antoine PerreaultE 2024-02-21 18:27:15 -05:00
commit f5919eb7f3

View File

@ -78,7 +78,7 @@ public class Lanceur extends SubsystemBase {
log.motor("shooter-wheel")
.voltage(
appliedVoltage.mut_replace(
lanceur4.get() * RobotController.getBatteryVoltage(), Volts))
lanceur4.getAppliedOutput() * lanceur4.getBusVoltage(), Volts))
.angularPosition(angle.mut_replace(lanceur4.getEncoder().getPosition(), Rotations))
.angularVelocity(
velocity.mut_replace(lanceur4.getEncoder().getVelocity(), RotationsPerSecond));