]> git.taranathan.com Git - FRC2026.git/commitdiff
Update Turret.java
authormaxwtan <100314265+MaxwellTTan20@users.noreply.github.com>
Mon, 16 Feb 2026 20:18:34 +0000 (12:18 -0800)
committermaxwtan <100314265+MaxwellTTan20@users.noreply.github.com>
Mon, 16 Feb 2026 20:18:34 +0000 (12:18 -0800)
src/main/java/frc/robot/subsystems/turret/Turret.java

index cc787a97ef65b274aa439543fa781efe003edc7c..f097167aab23b2d7c8a2d46264d1274f1a349921 100644 (file)
@@ -80,6 +80,7 @@ public class Turret extends SubsystemBase implements TurretIO{
        private Rotation2d goalAngle = Rotation2d.kZero;
        private double goalVelocityRadPerSec = 0.0;
        private double lastGoalRad = 0.0;
+       private State setpoint = new State();
 
     // private final MotionMagicVelocityVoltage velocityRequest = new MotionMagicVelocityVoltage(0.0).withUpdateFreqHz(0);