Skip to content

Commit

Permalink
fix processing id's not being decoded
Browse files Browse the repository at this point in the history
  • Loading branch information
varun7654 committed Jan 7, 2024
1 parent 81f9b98 commit 0b9c574
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public void start(HudRenderer hudRenderer, @NotNull DrawableRenderer drawableRen

NetworkTableInstance.getDefault()
.addListener(processingTable, EnumSet.of(Kind.kImmediate, Kind.kValueAll), entryNotification -> {
double processingId = entryNotification.valueData.value.getInteger();
double processingId = entryNotification.valueData.value.getDouble();
if (processingId == 1) {
NotificationHandler.addNotification(
new Notification(Color.CORAL, "The Roborio has started deserializing the auto",
Expand Down
4 changes: 2 additions & 2 deletions core/src/main/edu/wpi/first/math/spline/Spline.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

package edu.wpi.first.math.spline;

import edu.wpi.first.math.geometry.Pose2d;
import edu.wpi.first.math.geometry.Rotation2d;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import edu.wpi.first.math.geometry.Pose2d;
import edu.wpi.first.math.geometry.Rotation2d;
import org.ejml.simple.SimpleMatrix;
import org.jetbrains.annotations.NotNull;

Expand Down

0 comments on commit 0b9c574

Please sign in to comment.