Skip to content

Installation

To install NextFTC in an FTC robot project, open TeamCode/build.gradle, and add one of the following to your dependencies block:

implementation 'dev.nextftc.v2:control:0.3.0'
implementation 'dev.nextftc.v2:hardware:0.3.0'
implementation 'dev.nextftc.v2:robot:0.3.0'

You only need the last module you plan to use, because each one pulls its dependencies:

  • robot includes hardware and control.
  • hardware includes control.
  • control includes the units and linalg helper libraries.

For most robot projects, that means adding only robot.

If you are using the hardware and/or robot modules, add the following to the repositories block to allow Gradle to find the necessary dependencies.

maven {
url 'https://repo.dairy.foundation/releases'
}