From aee1d5fb983f606277f0ec118a521bd2f524e843 Mon Sep 17 00:00:00 2001 From: iefomit Date: Fri, 27 Mar 2026 17:29:40 -0700 Subject: [PATCH] oops --- src/main/java/frc/robot/subsystems/Intake/Intake.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/frc/robot/subsystems/Intake/Intake.java b/src/main/java/frc/robot/subsystems/Intake/Intake.java index 7904f3b..ab4ded6 100644 --- a/src/main/java/frc/robot/subsystems/Intake/Intake.java +++ b/src/main/java/frc/robot/subsystems/Intake/Intake.java @@ -239,7 +239,7 @@ public class Intake extends SubsystemBase implements IntakeIO{ * @param setpoint in inches */ public void setPosition(double setpoint) { - double motorRotations = inchesToRotations(setpoint); + double motorRotations = -inchesToRotations(setpoint); rightMotor.setControl(voltageRequest.withPosition(motorRotations)); leftMotor.setControl(voltageRequest.withPosition(motorRotations)); @@ -304,7 +304,7 @@ public class Intake extends SubsystemBase implements IntakeIO{ /** * Reverses the intake roller */ - public void spinReverse(){ + public void spinReverse() { spin(-IntakeConstants.SPEED); } -- 2.39.5