Releases: Mechanical-Advantage/AdvantageKit
v4.1.0
This is the second release of AdvantageKit for 2025. For more information, check the What's New in 2025? page of the documentation. Projects using AdvantageKit v4.0.0 can be upgraded using the dependency manager in VSCode. Projects running older versions of AdvantageKit (including the 2025 beta) cannot be upgraded in-place; start with one of the template projects and copy code from previous projects as necessary. Feedback, feature requests, and bug reports are welcome on the issues page.
Template Changes
- Fixed
DriveIOTalonSRX
implementation in diff drive and KitBot templates (9f96069) - Added vision template
- Updated WPILib and vendordep versions
Library Changes
v4.0.0
This is the kickoff release of AdvantageKit for 2025. For more information, check the What's New in 2025? page of the documentation. To get started, we highly recommend starting with one of the template projects and copying code from other projects as necessary. Feedback, feature requests, and bug reports are welcome on the issues page.
Notably, this release includes the 2025 KitBot template project and switches Maven hosting from GitHub Packages to the WPILib Artifactory site. This change will improve the stability of Maven hosting and simplify the installation process. Please see the updated installation docs for details, or download one of the updated template projects.
Warning
This release does not include the AdvantageKit vision template because the 2025 version of PhotonVision/PhotonLib is not available as of release. We will release the updated version of the vision template once PhotonVision 2025 is available.
Template Project Updates
Important
Teams updating from the 2025 beta template projects should carefully review and apply the relevant changes below. Additionally, teams should review the template updates published December 2024 related to annotation processing and garbage collection.
- All Projects: Removed
repositories
section ofbuild.gradle
due to new Maven hosting - TalonFX Swerve: Significant breaking changes to support 2025 Phoenix release (2b97121)
- TalonFX Swerve: Fixed drive base radius calculation (699709b)
- Spark/TalonFX Swerve: Updated
ChassisSpeeds
methods due to reverted WPILib change (7985f4c) - Spark/TalonFX Swerve & Differential Drive: Fixed imports to support 2025 NavX library (bcd9170)
- Spark Swerve & Differential Drive: Updated
setReference
calls for compatibility with latest REVLib (a76275f) - Differential Drive: Removed invalid
countsPerRevolution
config for Spark implementation (13770ca) - Differential Drive: Removed unnecessary start delay from feedforward command (7141472)
- Vision: Added support for single-tag PhotonVision results (90be723)
- Vision: Fixed timestamp units in Limelight implementation (ef1f0a8 and bac2037)
- Vision: Fixed data array indices in Limelight implementation (d421ab8 and 2498207)
Full Changelog
v4.0.0-beta-1
THIS IS A BETA. You will encounter issues not present in stable releases. Users looking for a stable release should use AdvantageKit v3.2.1, the latest 2024 release.
This is the first beta release of AdvantageKit for 2025. For more information, check the What's New in 2025? page of the documentation. Feedback, feature requests, and bug reports are welcome on the issues page.
v4.0.0-alpha-1
This release adds support for the first 2025 beta of WPILib. No example projects or functional changes are included. This release is intended only for teams updating existing projects to the 2025 WPILib beta. The full beta of AdvantageKit 2025 will be released at a later date.
Based on WPILib 2025.1.1-beta-1
v3.2.1
v3.2.0
- Updated to WPILib 2024.3.2
- Added garbage collection timing data to
LoggedRobot
- Use thread for file IO in RIO console source (improves reliability and reduces impact on robot loop timing)
- Added method to optionally disable console capture
- Added thread safety warnings to Javadoc for common methods (#80)
- Fixed SparkMax
registerSignal
call in advanced swerve template (#84) - Added support for RLOG R2
Based on WPILib 2024.3.2
v3.1.1
This release fixes several issues, and we recommend that all teams update to the latest version. See the release post for more details.
- Fixed alliance and station numbers published to the "FMSInfo" table
- Added warning when logging data using protobuf
- Fixed RIO console capture loop overruns after removing SD card
Based on WPILib 2024.3.1
v3.1.0
Several of the changes in this release affect the AdvantageKit example projects. See the announcement post for more details on adapting existing projects.
- Updated WPILib to 2024.3.1
- Added support for new URCL format introduced in 2024.1.0
- Added
runEveryN
method toLogger
(#70) - Decreased default write period for
WPILOGWriter
in simulation - Improved performance of conduit system stats read
- Improved performance of RIO console capture
- Decreased rate of CAN status polling to reduce measurement noise (#71)
- Fixed brownout voltage logging
- Added warning when attempting to log incompatible types
- Skip logging
null
values instead of throwingNullPointerException
Example project changes:
- Fixed
LocalADStarAK
in example projects (#69) - Added limit for queue capacity for advanced swerve example (#73)
- Added error checking for odometry Spark Max values in advanced swerve example
- Switched stator current to supply current for all Talon FX/SRX examples
- Fixed measured state logging in swerve example projects
- Added note visualizer to KitBot example project
- Updated all vendordeps
Based on WPILib 2024.3.1
v3.0.2
v3.0.1
Several of the changes in this release affect the AdvantageKit example projects. See the announcement post for more details on adapting existing projects.
- Updated to WPILib 2024.2.1
- Added alliance flipping for teleop driving in swerve examples
- Switched swerve example projects to use
SwerveDrivePoseEstimator
- Added SysId to all example projects (replacing the
FeedForwardCharacterization
command, see the docs) - Fixed
updateInputs
implementation for differential drive examples (#66) - Removed
SysIdRoutineLog
shim (related to wpilibsuite/allwpilib#6259) - Improved parsing of WPILib version for
CheckInstall
- Updated example project vendordeps
- Added realistic defaults for all shimmed values (fixes #63)
Based on WPILib 2024.2.1