]> git.taranathan.com Git - FRC2026.git/commitdiff
auto working
authormaxwtan <100314265+MaxwellTTan20@users.noreply.github.com>
Fri, 3 Apr 2026 17:23:08 +0000 (10:23 -0700)
committermaxwtan <100314265+MaxwellTTan20@users.noreply.github.com>
Fri, 3 Apr 2026 17:23:08 +0000 (10:23 -0700)
src/main/java/frc/robot/RobotContainer.java
src/main/java/frc/robot/subsystems/Intake/Intake.java

index dd147dc299a59822347b842491304e27c3d6e7b6..9248a782d9fca8b0fe5da8f5394bf997678d1141 100644 (file)
@@ -215,8 +215,8 @@ public class RobotContainer {
         (chassisSpeeds) -> {
           if (!Constants.DISABLE_LOGGING) {
             Logger.recordOutput("Auto/ChassisSpeeds", chassisSpeeds);
-            drive.setChassisSpeeds(chassisSpeeds, false); // problem??
           }
+          drive.setChassisSpeeds(chassisSpeeds, false); // problem??
         },
         AutoConstants.AUTO_CONTROLLER,
         AutoConstants.CONFIG,
index 2e54cd1ecea2226e46926035f9b89edf10a4912e..bfbd44de738a5d826b1ffee6e77794c77ba1bdc6 100644 (file)
@@ -193,9 +193,9 @@ public class Intake extends SubsystemBase implements IntakeIO{
         double inchExtension = getPosition();
         
         if (!Constants.DISABLE_LOGGING) {
-            Logger.recordOutput("Intake/Setpoint", setpointInches);
-            robotExtension.setLength(inchExtension);
+            Logger.recordOutput("Intake/Setpoint", setpointInches);     
         }
+        robotExtension.setLength(inchExtension);
         if (!Constants.DISABLE_SMART_DASHBOARD) {
             SmartDashboard.putNumber("Intake Extension (in)", inchExtension);
             SmartDashboard.putBoolean("Intake Extended", inchExtension > 1.0);