• Stars
    star
    155
  • Rank 240,864 (Top 5 %)
  • Language
    Go
  • License
    Other
  • Created over 10 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An alternative field management system for the FIRST Robotics Competition.

Cheesy Arena Build Status

A field management system that just works.

For the game-agnostic version, see Cheesy Arena Lite.

Key features

For participants and spectators

  • Same network isolation and security as the official FIRST FMS
  • No-lag realtime scoring
  • Team stack lights and seven-segment display are replaced by an LCD screen, which shows team info before the match and realtime scoring and timer during the match
  • Smooth-scrolling rankings display
  • Direct publishing of schedule, results, and rankings to The Blue Alliance

For scorekeepers and event staff

  • Runs on Windows, macOS, and Linux
  • No install prerequisites
  • No "pre-start" – hardware is configured automatically and in the background
  • Flexible and quick match schedule generation
  • Streamlined realtime score entry
  • Reports, results, and logs can be viewed from any computer
  • An arbitrary number of auxiliary displays can be set up using any computer with just a web browser, to show rankings, queueing, field status, etc.

License

Teams may use Cheesy Arena freely for practice, scrimmages, and off-season events. See LICENSE for more details.

Installing

From a pre-built release

Download the latest release. Pre-built packages are available for Linux, macOS (x64 and M1), and Windows.

On recent versions of macOS, you may be prevented from running an app from an unidentified developer; see these instructions on how to bypass the warning.

From source

  1. Download Go (version 1.20 or later recommended)
  2. Clone this GitHub repository to a location of your choice
  3. Navigate to the repository's directory in the terminal
  4. Compile the code with go build
  5. Run the cheesy-arena or cheesy-arena.exe binary
  6. Navigate to http://localhost:8080 in your browser (Google Chrome recommended)

IP address configuration

When running Cheesy Arena on a playing field with robots, set the IP address of the computer running Cheesy Arena to 10.0.100.5. By a convention baked into the FRC Driver Station software, driver stations will broadcast their presence on the network to this hardcoded address so that the FMS does not need to discover them by some other method.

When running Cheesy Arena without robots for testing or development, any IP address can be used.

Under the hood

Cheesy Arena is written using Go, a language developed by Google and first released in 2009. Go excels in the areas of concurrency, networking, performance, and portability, which makes it ideal for a field management system.

Cheesy Arena is implemented as a web server, with all human interaction done via browser. The graphical interfaces are implemented in HTML, JavaScript, and CSS. There are many advantages to this approach – development of new graphical elements is rapid, and no software needs to be installed other than on the server. Client web pages send commands and receive updates using WebSockets.

Bolt is used as the datastore, and making backups or transferring data from one installation to another is as simple as copying the database file.

Schedule generation is fast because pre-generated schedules are included with the code. Each schedule contains a certain number of matches per team for placeholder teams 1 through N, so generating the actual match schedule becomes a simple exercise in permuting the mapping of real teams to placeholder teams. The pre-generated schedules are checked into this repository and can be vetted in advance of any events for deviations from the randomness (and other) requirements.

Cheesy Arena includes support for, but doesn't require, networking hardware similar to that used in official FRC events. Teams are issued their own SSIDs and WPA keys, and when connected to Cheesy Arena are isolated to a VLAN which prevents any communication other than between the driver station, robot, and event server. The network hardware is reconfigured via SSH and Telnet commands for the new set of teams when each mach is loaded.

PLC integration

Cheesy Arena has the ability to integrate with an Allen-Bradley PLC setup similar to the one that FIRST uses, to read field sensors and control lights and motors. The PLC hardware travels with the FIRST California fields; contact your FTA for more information.

The PLC code can be found here.

LED hardware

Due to the prohibitive cost of the LEDs and LED controllers used on official fields, for years in which LEDs are mandatory for a proper game experience (such as 2018), Cheesy Arena integrates with Advatek controllers and LEDs.

Advanced networking

See the Advanced Networking wiki page for instructions on what equipment to obtain and how to configure it in order to support advanced network security.

Contributing

Cheesy Arena is far from finished! You can help by:

  • Checking out the TODO list, writing a missing feature, and sending a pull request
  • Filing any bugs or feature requests using the issue tracker
  • Contributing documentation to the wiki
  • Sending baked goods to Pat

Acknowledgements

Several folks have contributed pull requests. Thanks!

In addition, the following individuals have contributed to make Cheesy Arena a reality:

  • Tom Bottiglieri
  • James Cerar
  • Kiet Chau
  • Travis Covington
  • Nick Eyre
  • Patrick Fairbank
  • Eugene Fang
  • Thad House
  • Ed Jordan
  • Karthik Kanagasabapathy
  • Ken Mitchell
  • Andrew Nabors
  • Jared Russell
  • Ken Schenke
  • Austin Schuh
  • Colin Wilson

More Repositories

1

FRC-2017-Public

Public release of Team 254's 2017 FRC code
C++
89
star
2

FRC-2018-Public

Public release of Lockdown's 2018 FRC Code
Java
72
star
3

FRC-2019-Public

Public release of Backlash's 2019 FRC Code
Java
66
star
4

FRC-2016-Public

Public release of 2016 FRC code
C++
46
star
5

FRC-2014

Code for the 2014 FRC robot.
JavaScript
44
star
6

FRC-2022-Public

Java
35
star
7

TrajectoryLib

Library for trajectory generation and following
Java
31
star
8

FRC-2015

Code for The Cheesy Poofs' 2015 FRC robot.
JavaScript
28
star
9

FRC-2013

2013 FRC Code
Java
25
star
10

CheesyVision

Signal your robot during autonomous mode using computer vision and the webcam on your driver station laptop.
Python
23
star
11

FRC-2012

2012 FRC Code
C++
22
star
12

cheesy-parts

Part management database written for the 2013 season.
HTML
22
star
13

FRC-2023-Public

Java
22
star
14

FRC-2020-Public

Java
16
star
15

cheesy-arena-lite

A game-agnostic alternative field management system for the FIRST Robotics Competition.
Go
14
star
16

FRC-2011

The code for Slipstream
C++
12
star
17

cheesy-hours

Project hour tracking system for FRC.
HTML
11
star
18

FRC-2019-Offseason-Public

Code for an FRC swerve drive with Backlash's superstructure
Java
11
star
19

SDS-Mag-Public

Code for a swerve using SRX Mag Encoders wired to roboRIO. Based off SDS template code
Java
6
star
20

Sim-FRC-2015

Robot sim
Java
5
star
21

chezy-champs-website

Website for Team 254's Offseason FRC tournament: Chezy Champs
SCSS
3
star
22

cheesy-arena-rpi

Script and configurations for a Cheesy Arena remote display using a Raspberry Pi.
Go
2
star
23

cheesy-mail

A service for receiving e-mails and redistributing them to the team mailing lists
Go
2
star
24

ControlLoops

Control loop code
Python
2
star
25

pitdisplay

Basic FRC Pit Display - Shows Match Schedule & Results. Deployed on Heroku.
HTML
1
star
26

AppTemplate

A CSS template for web apps
HTML
1
star
27

rplidar_sdk

C++
1
star