]> git.taranathan.com Git - FRC2026.git/commitdiff
working
authorWesleyWong-972 <wesleycwong@gmail.com>
Sat, 28 Mar 2026 00:02:06 +0000 (17:02 -0700)
committerWesleyWong-972 <wesleycwong@gmail.com>
Sat, 28 Mar 2026 00:02:06 +0000 (17:02 -0700)
src/main/java/frc/robot/subsystems/turret/Turret.java

index e9b2e6fd1e5023b9e4aa48e71661578a396c9715..3dddcd2b69667b4ab0f9a5d100921bc131f23f21 100644 (file)
@@ -208,9 +208,9 @@ public class Turret extends SubsystemBase implements TurretIO{
                        }
                } else{
                        // Sets motor control with feedforward
-                       // motor.setControl(mmVoltageRequest
-                       // .withPosition(motorGoalRotations)
-                       // .withFeedForward(robotTurnCompensation));
+                       motor.setControl(mmVoltageRequest
+                       .withPosition(motorGoalRotations)
+                       .withFeedForward(robotTurnCompensation));
                }
 
         Logger.recordOutput("Turret/Voltage", motor.getMotorVoltage().getValue());