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)
- Open WPILib VS Code and press
Ctrl+Shift+P - Run
WPILib: Manage Vendor Libraries - Select Check for updates (online)
- 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
- Open WPILib VS Code and press
Ctrl+Shift+P - Run
WPILib: Manage Vendor Libraries - Select Install new library (online)
- 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
- Open
vendordeps/absolutelib.jsonin your robot project - Update the
"version"field to the new version number - Update
javaDependencies[0].versionto match - 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.