Skip to content
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.
Daniel Chen edited this page Jan 1, 2024 · 4 revisions

How Do I install ChargerLib?

At the moment, ChargerLib is a maven local repository. Currently, there are plans to move it to another system(I.E WPILib Vendordeps, or maven central); however, these have not been implemented yet.

Here are the steps:

A. Fork the ChargerLib master branch. B. Execute the publishToMavenLocal task. In windows, this should be .\gradlew.bat publishToMavenLocal. C. In your code's build.gradle file, add implementation "frc.chargers:ChargerLib:(Version Here) into the "dependencies" section of build.gradle. This should also install kmeasure for you! D. Because ChargerLib depends on the following libraries, you must follow the installation steps of these libraries(including adding their vendordeps):

  1. AdvantageKit
  2. REVLib
  3. Phoenix 6 & Phoenix 5
  4. PathPlannerLib
  5. NavX library
  6. PhotonLib

These can all be found online.

E. You're done!

Clone this wiki locally