Installation #
FTC #
Quickstart #
The easiest way to get started is the quickstart. The quickstart
is a full FTC Android Studio project with preinstalled Road Runner,
FTC Dashboard, and tuning utilities. You
can download it from the GitHub page
or clone it with git clone https://github.com/acmerobotics/road-runner-quickstart.git
.
Then open the folder as an FTC project and head over to the tuning page for next steps.
Installing into an Existing Project #
Even if you have an existing project, it may be easier to start with the quickstart and copy your other files over.
If you’re migrating from Road Runner 0.5.x, start by removing all references to Road Runner in your Gradle files and elsewhere in your project. Road Runner 1.0.x is not backwards compatible.
-
Open the
TeamCode
build.gradle
file and addrepositories { maven { url = 'https://maven.brott.dev/' } }
between the
android
anddependencies
blocks. Also putimplementation "com.acmerobotics.roadrunner:ftc:0.1.14" implementation "com.acmerobotics.roadrunner:core:1.0.0" implementation "com.acmerobotics.roadrunner:actions:1.0.0" implementation "com.acmerobotics.dashboard:dashboard:0.4.16"
at the end of the
dependencies
block. -
Run a Gradle sync.
-
Download the quickstart here, by either cloning it with
git
or downloading it from GitHub. -
Navigate to the
teamcode
folder (in the project it’s atTeamCode/src/main/java/org/firstinspires/ftc/teamcode
) and copy all of the files there (including themessages
andtuning
folders) to theteamcode
folder of your existing project.
You’re done! Time to continue on to tuning or read about the new features in Road Runner 1.0 here.