From a82d5655753337a1b6d436ded6c56d9cc920016c Mon Sep 17 00:00:00 2001 From: Mason Vogt Date: Tue, 2 Jan 2024 23:44:51 -0600 Subject: [PATCH] [Robot] Unfortunately needed to make the patch work --- .../robot/subsystems/swerve/modules/SwerveModule3.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Robot/src/main/java/com/swrobotics/robot/subsystems/swerve/modules/SwerveModule3.java b/Robot/src/main/java/com/swrobotics/robot/subsystems/swerve/modules/SwerveModule3.java index dbc1818..2ccef65 100644 --- a/Robot/src/main/java/com/swrobotics/robot/subsystems/swerve/modules/SwerveModule3.java +++ b/Robot/src/main/java/com/swrobotics/robot/subsystems/swerve/modules/SwerveModule3.java @@ -76,6 +76,11 @@ public SwerveModulePosition getPosition(boolean refresh) { return pos; } + @Override + public SwerveModuleState getCurrentState() { + return getTargetState(); + } + /** * Updates the simulated version of the module. *