From: moo Date: Fri, 17 Apr 2026 22:43:56 +0000 (-0700) Subject: u need to multiply by 12 to get same behavior as dutycycleout X-Git-Url: https://git.taranathan.com/?a=commitdiff_plain;h=15640ea6709f578ae804a62ad0daa450ad428cac;p=FRC2026.git u need to multiply by 12 to get same behavior as dutycycleout --- diff --git a/src/main/java/frc/robot/subsystems/spindexer/Spindexer.java b/src/main/java/frc/robot/subsystems/spindexer/Spindexer.java index a7f5046..62d7d39 100644 --- a/src/main/java/frc/robot/subsystems/spindexer/Spindexer.java +++ b/src/main/java/frc/robot/subsystems/spindexer/Spindexer.java @@ -88,8 +88,8 @@ public class Spindexer extends SubsystemBase implements SpindexerIO { } public void setMotorVoltages(double voltage) { - motorOne.setControl(new VoltageOut(voltage).withEnableFOC(true)); - motorTwo.setControl(new VoltageOut(voltage).withEnableFOC(true)); + motorOne.setControl(new VoltageOut(voltage * 12).withEnableFOC(true)); + motorTwo.setControl(new VoltageOut(voltage * 12).withEnableFOC(true)); } public void maxSpindexer() {