From 65bfe90cb8ebb30dc96be0de85ced122f4150dfb Mon Sep 17 00:00:00 2001 From: Alex Schokking Date: Thu, 16 Jan 2025 16:12:55 -0800 Subject: [PATCH 1/3] update wpilib to 2025.2.1 --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index fa956e1..ae76741 100644 --- a/build.gradle +++ b/build.gradle @@ -2,7 +2,7 @@ import edu.wpi.first.gradlerio.deploy.roborio.RoboRIO plugins { id "java" - id "edu.wpi.first.GradleRIO" version "2025.1.1" + id "edu.wpi.first.GradleRIO" version "2025.2.1" id 'checkstyle' id 'jacoco' id 'org.hidetake.ssh' version "2.9.0" From 54db91bc0930ebb9b40e2a178d45f72c8fb0dc03 Mon Sep 17 00:00:00 2001 From: Alex Schokking Date: Thu, 16 Jan 2025 16:13:01 -0800 Subject: [PATCH 2/3] Update SCL --- SeriouslyCommonLib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SeriouslyCommonLib b/SeriouslyCommonLib index 83ca43d..6628f4e 160000 --- a/SeriouslyCommonLib +++ b/SeriouslyCommonLib @@ -1 +1 @@ -Subproject commit 83ca43d9a0e23354a0fe44f9e1988668b9afef0f +Subproject commit 6628f4e3ed29f3b09547f5bd7c1893a0d882881b From c3b5e795fadccefe8a32cad089aed939829ba85b Mon Sep 17 00:00:00 2001 From: Alex Schokking Date: Thu, 16 Jan 2025 16:13:14 -0800 Subject: [PATCH 3/3] Add get simulated pose impl to posesubsystem --- .../java/competition/subsystems/pose/PoseSubsystem.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/competition/subsystems/pose/PoseSubsystem.java b/src/main/java/competition/subsystems/pose/PoseSubsystem.java index 4ea21a9..20cd9d9 100644 --- a/src/main/java/competition/subsystems/pose/PoseSubsystem.java +++ b/src/main/java/competition/subsystems/pose/PoseSubsystem.java @@ -102,4 +102,10 @@ public void setCurrentPoseInMeters(Pose2d newPoseInMeters) { WrappedRotation2d.fromRotation2d(newPoseInMeters.getRotation()) ); } + + + @Override + public Pose2d getGroundTruthPose() { + return this.getCurrentPose2d(); + } } \ No newline at end of file