Installation

Install via WPILib Vendor Libraries (online):

https://team4308.github.io/absolutelib/lib/absolutelib.json

Required Dependencies

Ensure you have the following vendor libraries installed to avoid build errors:

  • Phoenix6 Replay & Phoenix5 Replay
  • REVLib
  • AdvantageKit
  • PhotonLib
  • PathPlannerLib

Updating AbsoluteLib

When a new version is released, you can update your robot project using any of these methods:

Option 1: Check for Updates (Recommended)

  1. Open WPILib VS Code and press Ctrl+Shift+P
  2. Run WPILib: Manage Vendor Libraries
  3. Select Check for updates (online)
  4. If AbsoluteLib shows an available update, accept it

This works automatically because the vendor JSON URL always points to the latest published version.

Option 2: Re-install Online

  1. Open WPILib VS Code and press Ctrl+Shift+P
  2. Run WPILib: Manage Vendor Libraries
  3. Select Install new library (online)
  4. Paste the URL:
https://team4308.github.io/absolutelib/lib/absolutelib.json

If prompted to replace the existing version, confirm. Then rebuild your project.

Option 3: Manual JSON Edit

  1. Open vendordeps/absolutelib.json in your robot project
  2. Update the "version" field to the new version number
  3. Update javaDependencies[0].version to match
  4. Rebuild your project

After Updating

Always do a clean build after updating to avoid stale cached artifacts:

./gradlew clean build

Check the Changelog for details on what changed in each version.