Skip to content

Team5045/2018-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FRC Dashboard

Setup

You'll need nodejs & npm.

Before running your dashboard, you'll need to install the node dependencies by cding into the dashboard directory and running npm install.

Configuration

  • 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.

Building

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.

Running

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.