Skip to content

🚦 The Stack Light is used by the FTAs and Field Staff to determine what state the field is in.

License

Notifications You must be signed in to change notification settings

FIRSTIsrael/ftc-stack-light

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FIRST Tech Challenge Stack Light

The Stack Light is used by the FTAs and Field Staff to determine what state the field is in.


Match Flow

Red LED Blue LED Amber LED Green LED
Flashing 8s Preparing Period 8s Preparing Period Randomaized Field Reset
Solid Red Alliance ready Blue Alliance ready Randomaized Match running
Off Red Alliance not ready Blue Alliance not ready N/A N/A

Red Flashing = Disconnected from server
Red + Amber Flashing = Match Aborted

Running locally

Node.js 12 and later is required.

  1. Clone the repository and run npm install
  2. Setup your configuration in config.js
  3. Start the server with npm run start
  4. Update the variables in the Arduino code and download it to each board