Skip to content

Releases: Mechanical-Advantage/AdvantageKit

v4.1.0

17 Jan 21:27
55d4c62
Compare
Choose a tag to compare

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

  • Updated to WPILib 2025.2.1
  • Added support for superclass fields with AutoLog (#156)
  • Fixed initialization of LoggedNetwork values before first periodic cycle (#160)
  • Added support for simulation on Linux arm64 devices
  • Fixed support for Ubuntu 22.04

v4.0.0

06 Jan 01:09
6b2357f
Compare
Choose a tag to compare

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 of build.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

  • Added 2025 KitBot template project
  • Moved Maven hosting to WPILib Artifactory
  • Updated for compatibility with 2025 WPILib projects
  • Improved behavior of setDefault method for LoggedNetwork classes (#144)
  • Fixed NetworkTables paths for deprecated LoggedDashboard classes (#142)

v4.0.0-beta-1

04 Dec 19:07
6858ed7
Compare
Choose a tag to compare
v4.0.0-beta-1 Pre-release
Pre-release

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

17 Oct 01:47
252cbe1
Compare
Choose a tag to compare
v4.0.0-alpha-1 Pre-release
Pre-release

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

27 May 19:53
Compare
Choose a tag to compare

This release fixes an issue causing joystick buttons, axes, and POVs to be inaccessible when a TCP connection is not established to the Driver Station.

Based on WPILib 2024.3.2

v3.2.0

14 Mar 14:31
2ebb623
Compare
Choose a tag to compare
  • 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

06 Mar 23:45
580d72e
Compare
Choose a tag to compare

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

21 Feb 02:47
501a6c9
Compare
Choose a tag to compare

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 to Logger (#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 throwing NullPointerException

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

22 Jan 21:22
5aa701f
Compare
Choose a tag to compare

This is a patch release to fix robot code builds on Windows. For more information on the changes since v3.0.0, see the v3.0.1 release.

Based on WPILib 2024.2.1

v3.0.1

22 Jan 05:42
4c2785d
Compare
Choose a tag to compare

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