]> git.taranathan.com Git - FRC2026.git/commitdiff
a
authormaxwtan <100314265+MaxwellTTan20@users.noreply.github.com>
Sat, 21 Feb 2026 19:37:43 +0000 (11:37 -0800)
committermaxwtan <100314265+MaxwellTTan20@users.noreply.github.com>
Sat, 21 Feb 2026 19:37:43 +0000 (11:37 -0800)
src/main/java/frc/robot/subsystems/hood/Hood.java

index c9ffa107d401a3af61f845e91681610bb66f8e6f..34f8c27aa75817f93e4d8ba1697df4162abe7f9d 100644 (file)
@@ -30,6 +30,8 @@ public class Hood extends SubsystemBase implements HoodIO{
 
        private final MotionMagicVoltage mmVoltageRequest = new MotionMagicVoltage(0);
 
+       private boolean calibrating = false;
+
     private HoodIOInputsAutoLogged inputs = new HoodIOInputsAutoLogged();
 
     public Hood(){
@@ -115,7 +117,11 @@ public class Hood extends SubsystemBase implements HoodIO{
 
         Logger.recordOutput("Hood/Voltage", motor.getMotorVoltage().getValue());
                Logger.recordOutput("Hood/velocitySetpoint", goalVelocityRadPerSec / HoodConstants.HOOD_GEAR_RATIO);
-               Logger.recordOutput("Hood/SetpointDeg", Units.radiansToDegrees(goalAngle.getRadians()) / HoodConstants.HOOD_GEAR_RATIO);
+               Logger.recordOutput("Hood/SetpointDeg", Units.radiansToDegrees(goalAngle.getRadians()));
+
+       }
+
+       public void calibrate(){
 
        }