From 4f7640240d74822b09f31baae232c58774a2f3d1 Mon Sep 17 00:00:00 2001 From: Jonah <47046556+jwbonner@users.noreply.github.com> Date: Thu, 14 Mar 2024 16:59:04 -0400 Subject: [PATCH] Update WPILib and AdvantageKit (#216) --- build.gradle | 2 +- src/main/java/org/littletonrobotics/frc2024/Robot.java | 6 +++--- vendordeps/AdvantageKit.json | 10 +++++----- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/build.gradle b/build.gradle index e0a738e6..cabbed6c 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,6 @@ plugins { id "java" - id "edu.wpi.first.GradleRIO" version "2024.3.1" + id "edu.wpi.first.GradleRIO" version "2024.3.2" id "com.peterabeles.gversion" version "1.10" id "com.diffplug.spotless" version "6.25.0" id "io.freefair.lombok" version "8.4" diff --git a/src/main/java/org/littletonrobotics/frc2024/Robot.java b/src/main/java/org/littletonrobotics/frc2024/Robot.java index 03b05100..1bd0ba37 100644 --- a/src/main/java/org/littletonrobotics/frc2024/Robot.java +++ b/src/main/java/org/littletonrobotics/frc2024/Robot.java @@ -34,7 +34,7 @@ import org.littletonrobotics.junction.LogFileUtil; import org.littletonrobotics.junction.LoggedRobot; import org.littletonrobotics.junction.Logger; -import org.littletonrobotics.junction.networktables.NT4Publisher; +import org.littletonrobotics.junction.rlog.RLOGServer; import org.littletonrobotics.junction.wpilog.WPILOGReader; import org.littletonrobotics.junction.wpilog.WPILOGWriter; @@ -107,12 +107,12 @@ public void robotInit() { case REAL: // Running on a real robot, log to a USB stick ("/U/logs") Logger.addDataReceiver(new WPILOGWriter()); - Logger.addDataReceiver(new NT4Publisher()); + Logger.addDataReceiver(new RLOGServer()); break; case SIM: // Running a physics simulator, log to NT - Logger.addDataReceiver(new NT4Publisher()); + Logger.addDataReceiver(new RLOGServer()); break; case REPLAY: diff --git a/vendordeps/AdvantageKit.json b/vendordeps/AdvantageKit.json index 1b8f4df6..55a634db 100644 --- a/vendordeps/AdvantageKit.json +++ b/vendordeps/AdvantageKit.json @@ -1,7 +1,7 @@ { "fileName": "AdvantageKit.json", "name": "AdvantageKit", - "version": "3.1.1", + "version": "3.2.0", "uuid": "d820cc26-74e3-11ec-90d6-0242ac120003", "frcYear": "2024", "mavenUrls": [], @@ -10,24 +10,24 @@ { "groupId": "org.littletonrobotics.akit.junction", "artifactId": "wpilib-shim", - "version": "3.1.1" + "version": "3.2.0" }, { "groupId": "org.littletonrobotics.akit.junction", "artifactId": "junction-core", - "version": "3.1.1" + "version": "3.2.0" }, { "groupId": "org.littletonrobotics.akit.conduit", "artifactId": "conduit-api", - "version": "3.1.1" + "version": "3.2.0" } ], "jniDependencies": [ { "groupId": "org.littletonrobotics.akit.conduit", "artifactId": "conduit-wpilibio", - "version": "3.1.1", + "version": "3.2.0", "skipInvalidPlatforms": false, "isJar": false, "validPlatforms": [