Skip to content

Commit

Permalink
Fix Alerts in ArmIOKrakenFOC.java
Browse files Browse the repository at this point in the history
Visualizer working
  • Loading branch information
suryatho committed Feb 15, 2024
1 parent 2a71b0c commit 84e38a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit 84e38a4

Please sign in to comment.