Installation Guide
This guide will walk you through the steps to install the CoreControl library in your FIRST Tech Challenge project.
Option 1: Start fresh with CoreControl Quickstart
Section titled “Option 1: Start fresh with CoreControl Quickstart”The easiest way to get started with CoreControl is to use our Quickstart repository, which comes pre-configured with everything you need.
- Go to the CoreControl Quickstart GitHub repository.
- Click on the “Code” button and select “Download ZIP” or clone the repository using GitHub Desktop.
- Open the downloaded project in Android Studio.
- Read the
FeatureListfile in the repository to understand the included features. You can find it atTeamCode/src/main/java/org/firstinspires/ftc/teamcode/FeatureList.java.
Option 2: Add CoreControl to an existing project
Section titled “Option 2: Add CoreControl to an existing project”If you already have a FIRST Tech Challenge project and want to add CoreControl to it, follow these steps:
-
Open your existing project in Android Studio.
-
Open the
build.gradlefile located in theTeamCodemodule of your project. -
Add the following lines to the
repositoriessection to include the CoreControl Maven repository:repositories {maven {url "https://remote.corecontrollib.com"}} -
Add the following line to the
dependenciessection:dependencies {implementation 'com.andreidurlea:corecontrol:1.1.0.1'} -
Sync your project with Gradle files.