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.4.16'
.
Note: If you’re using OpenRC or have non-standard SDK dependencies, add the following exclusion.
implementation('com.acmerobotics.dashboard:dashboard:0.4.16') {
exclude group: 'org.firstinspires.ftc'
}
Advanced
-
Clone this repo locally.
-
Append
-SNAPSHOT
to the end ofext.dashboard_version
inFtcDashboard/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 Manage
menu). -
Navigate to
192.168.49.1:8080/dash
with a phone RC or192.168.43.1:8080/dash
with a Control Hub.
Development
-
Run
yarn
inFtcDashboard/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.local
or prefix the following command withVITE_REACT_APP_HOST=<insert IP>
. -
Run
yarn start
to start the development server. -
Navigate to
localhost:3000
(although the previous command will likely open it for you).