From 7adb7ec3f88684aec79141009be99b6ee9f8a4b6 Mon Sep 17 00:00:00 2001 From: maxwtan <100314265+MaxwellTTan20@users.noreply.github.com> Date: Sat, 14 Feb 2026 11:48:28 -0800 Subject: [PATCH] Update Hood.java --- src/main/java/frc/robot/subsystems/hood/Hood.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/frc/robot/subsystems/hood/Hood.java b/src/main/java/frc/robot/subsystems/hood/Hood.java index fa8b6fc..f6e4d73 100644 --- a/src/main/java/frc/robot/subsystems/hood/Hood.java +++ b/src/main/java/frc/robot/subsystems/hood/Hood.java @@ -70,7 +70,7 @@ public class Hood extends SubsystemBase implements HoodIO{ } }); - setpoint = new State(getPositionRad(), 0.0); + setpoint = new State(getPositionRad() / GEAR_RATIO, 0.0); SmartDashboard.putData("max", new InstantCommand(() -> setFieldRelativeTarget(new Rotation2d(Units.degreesToRadians(HoodConstants.MAX_ANGLE)), 0))); SmartDashboard.putData("medium", new InstantCommand(() -> setFieldRelativeTarget(new Rotation2d(Units.degreesToRadians((HoodConstants.MAX_ANGLE + HoodConstants.MIN_ANGLE) / 2)), 0))); -- 2.39.5