Getting Started
Installation
Basic
Open build.dependencies.gradle. In the repositories section add maven { url = 'https://maven.brott.dev/' }, and in the dependencies section add implementation 'com.acmerobotics.dashboard:dashboard:0.5.1'.
Note: If you’re using OpenRC or have non-standard SDK dependencies, add the following exclusion.
implementation('com.acmerobotics.dashboard:dashboard:0.5.1') {
exclude group: 'org.firstinspires.ftc'
}
Advanced
-
Clone this repo locally.
-
Append
-SNAPSHOTto the end ofext.dashboard_versioninFtcDashboard/build.gradle. -
After making changes, publish them locally with
./gradlew publishToMavenLocal(this has to be done on each computer). -
Complete the basic instructions, adjusting the version and adding
mavenLocal()torepositories. -
Build and deploy like normal.
Usage
Basic
-
Connect to the WiFi network broadcast by the RC (the passphrase is located in the
Program and Managemenu). -
Navigate to
192.168.49.1:8080/dashwith a phone RC or192.168.43.1:8080/dashwith a Control Hub.
Development
-
Run
yarninFtcDashboard/dash/(this only needs to be done once!). -
Optionally specify the server IP address through the environment variable
VITE_REACT_APP_HOST. I prefer to saveVITE_REACT_APP_HOST=<insert IP>in.env.development.localor prefix the following command withVITE_REACT_APP_HOST=<insert IP>. -
Run
yarn startto start the development server. -
Navigate to
localhost:3000(although the previous command will likely open it for you).