Before running your dashboard, you'll need to install the node dependencies by cd
ing into the dashboard directory and running npm install
.
- In
ui.js
, there are a bunch of key handler functions which controls the updating of control elements in the dashboard. Example NetworkTables key names are used, but you'll need to change them to match those used in your team's robot code for them to affect anything on your robot.
Some users may wish to compile their dashboard applications into standalone .exe or .app files.
Assuming the necessary setup steps have been performed, users may run npm run dist
to pack the entire application into a single executable or npm run dist-all
to do the same for all platforms.
Connect to your robot's network if you haven't already. (If you're just testing the dashboard and don't currently need to use it with your robot, you can skip this step.)
While in the dashboard directory, run:
npm start
This will open the dashboard application. Note that you can refresh the page and client-side updates will take effect; reopening the whole application is usually unnecessary.
It is recommended that while using the dashboard on your driver station, you close the top panel of the FRC DriverStation to make room for the dashboard.