diff --git a/src/main/java/org/littletonrobotics/frc2024/subsystems/superstructure/arm/ArmIOKrakenFOC.java b/src/main/java/org/littletonrobotics/frc2024/subsystems/superstructure/arm/ArmIOKrakenFOC.java index edac6c4d..4806c874 100644 --- a/src/main/java/org/littletonrobotics/frc2024/subsystems/superstructure/arm/ArmIOKrakenFOC.java +++ b/src/main/java/org/littletonrobotics/frc2024/subsystems/superstructure/arm/ArmIOKrakenFOC.java @@ -139,7 +139,7 @@ public void updateInputs(ArmIOInputs inputs) { inputs.absoluteEncoderConnected = BaseStatusSignal.refreshAll(armEncoderPositionRotations, armAbsolutePositionRotations) .isOK(); - absoluteEncoderDisconnected.set(inputs.absoluteEncoderConnected); + absoluteEncoderDisconnected.set(!inputs.absoluteEncoderConnected); inputs.armPositionRads = Units.rotationsToRadians(armInternalPositionRotations.getValue()); inputs.armEncoderPositionRads =