Skip to content
Contains the web pages for the various screens that are displayed at the competition.
HTML JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
components
.gitignore
.mailmap
AUTHORS.md
LICENSE
Procfile
README.md
arena.html
bower.json
config.example.json
outside.html
package.json
server.js
shepherding.html
staging.html

README.md

Student Robotics Competition Screens

This repository contains the web pages for the various screens that are displayed at the competition.

Configuration

Create a file called config.json based on config.example.json.

Installation & Running

Dependencies are managed with Bower, therefore you must install them in the normal way:

$ bower install

The best way to test these screens is to run an HTTP server in the root of your clone and navigate to it with your web browser.

$ python3 -m http.server

Browser support

The canonical platform for these screens is the browsers available on the current version of Raspbian and as configured by srcomp-kiosk. This generally means Firefox and Chromium.

Current versions of Firefox and Chromium should also work, primarily so that development is easy without a Raspberry Pi.

Microsoft Edge (pre-Chromium) is known not to work, due to a lack of support for the EventSource API.

Screens

Here are the screens that are in this repository.

Arena

This screen is displayed in each corner of the arena.

You can configure which corner the screen should be displaying by altering the query parameters:

/arena.html?<arena>,<corner>

Outside

This screen is available to competitors at some strategic points around the competition venue. It displays information such as the current leaderboard, the match schedule, the scores and the knockout diagram.

Components

The screens use Web Components and Polymer to make the code more maintainable, flexible and reusable. They are stored in the components folder.

You can’t perform that action at this time.