From c878d6fa4e96ecc992f21d94761b86480d9f7a48 Mon Sep 17 00:00:00 2001 From: William Yuan <66759156+Wi11iamYuan@users.noreply.github.com> Date: Mon, 7 Oct 2024 16:19:17 -0700 Subject: [PATCH] fix to advkit issue --- 3128-Common.json | 4 ++-- 3128-common.json | 4 ++-- doc/index.html | 2 +- gradle.properties | 2 +- src/main/java/common/core/swerve/SwerveBase.java | 2 +- src/main/resources/overview.html | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/3128-Common.json b/3128-Common.json index 59ab368..04dd661 100644 --- a/3128-Common.json +++ b/3128-Common.json @@ -1,6 +1,6 @@ { "name": "3128-common", - "version": "1.8.8", + "version": "1.8.9", "uuid": "ae3fa5a2-78d9-47e8-921a-dba45b889445", "frcYear": "2024", "mavenUrls": [ @@ -12,7 +12,7 @@ { "groupId": "com.github.Team3128", "artifactId": "3128-common", - "version": "1.8.8" + "version": "1.8.9" } ], "jniDependencies": [], diff --git a/3128-common.json b/3128-common.json index 59ab368..04dd661 100644 --- a/3128-common.json +++ b/3128-common.json @@ -1,6 +1,6 @@ { "name": "3128-common", - "version": "1.8.8", + "version": "1.8.9", "uuid": "ae3fa5a2-78d9-47e8-921a-dba45b889445", "frcYear": "2024", "mavenUrls": [ @@ -12,7 +12,7 @@ { "groupId": "com.github.Team3128", "artifactId": "3128-common", - "version": "1.8.8" + "version": "1.8.9" } ], "jniDependencies": [], diff --git a/doc/index.html b/doc/index.html index 9b64195..80d4afc 100644 --- a/doc/index.html +++ b/doc/index.html @@ -51,7 +51,7 @@

3128-common

FRC Team 3128 Robot Control Program Utility Library

Provides utility classes and functions for FRC robot control programs.

-

Version 1.8.8 (October 5 2024)

+

Version 1.8.9 (October 7 2024)

Packages
diff --git a/gradle.properties b/gradle.properties index 6084b7a..2794ec4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -LibraryVersion=1.8.8 +LibraryVersion=1.8.9 archivesGroup = com.github.Team3128 archivesBaseName = 3128-common jsonFileName = 3128-common.json diff --git a/src/main/java/common/core/swerve/SwerveBase.java b/src/main/java/common/core/swerve/SwerveBase.java index c94756f..1466c0a 100644 --- a/src/main/java/common/core/swerve/SwerveBase.java +++ b/src/main/java/common/core/swerve/SwerveBase.java @@ -84,7 +84,7 @@ public void drive(ChassisSpeeds velocity) { twistVel.dtheta / dtConstant); } setModuleStates(kinematics.toSwerveModuleStates(velocity)); - Logger.recordOutput("Swerve/DesiredModuleStates", kinematics.toSwerveModuleStates(velocity)); + if(NAR_Robot.logWithAdvantageKit) Logger.recordOutput("Swerve/DesiredModuleStates", kinematics.toSwerveModuleStates(velocity)); } /** diff --git a/src/main/resources/overview.html b/src/main/resources/overview.html index 8ecbbe0..a1e0521 100644 --- a/src/main/resources/overview.html +++ b/src/main/resources/overview.html @@ -8,5 +8,5 @@

FRC Team 3128 Robot Control Program Utility Library

Provides utility classes and functions for FRC robot control programs.

-

Version 1.8.8 (October 5 2024)

+

Version 1.8.9 (October 7 2024)

\ No newline at end of file