Files
cheesy-arena-lite/README.md

78 lines
4.2 KiB
Markdown
Raw Normal View History

2014-09-07 01:36:55 -07:00
Cheesy Arena
2014-05-08 21:55:00 -07:00
============
2014-09-07 01:36:55 -07:00
A field management system that just works.
2014-05-08 21:55:00 -07:00
2014-09-07 01:36:55 -07:00
##Key Features
2014-09-07 20:43:17 -07:00
Check out a [video overview](http://video.team254.com/watch/Z5ZWI2cDqsvVe--AjHhePAHlOhLK8MT0) of Cheesy Arena's functionality.
2014-09-07 01:36:55 -07:00
**For participants and spectators:**
* No-lag goal/pedestal lighting and realtime scoring
* Team stack lights and sevent-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:**
* Runs on Windows, Mac OS X, 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
##License
2014-09-07 01:45:24 -07:00
Teams may use Cheesy Arena freely for practice, scrimmages, and off-season events. See [LICENSE](LICENSE) for more details.
2014-09-07 01:36:55 -07:00
##Installation and use
**Via binaries:**
1. Download the [latest release](https://github.com/Team254/cheesy-arena/releases) for OS X or Windows
1. Unzip the file
1. From the command line, run the `cheesy-arena` or `cheesy-arena.exe` binary
1. Navigate to http://localhost:8080 in your browser (Google Chrome recommended)
**From source:**
1. Download [Go](http://golang.org/doc/install)
1. Set up your [Go workspace](http://golang.org/doc/code.html)
2014-09-07 01:45:24 -07:00
1. If you're using Windows and don't already have a working version of GCC (needed to compile a dependency), install [TDM-GCC](http://tdm-gcc.tdragon.net).
2014-09-07 01:36:55 -07:00
1. Download the Cheesy Arena source and dependencies with `go get github.com/Team254/cheesy-arena`
1. Compile the code with `go build`
1. Run the `cheesy-arena` or `cheesy-arena.exe` binary
1. Navigate to http://localhost:8080 in your browser (Google Chrome recommended)
##Under the hood
Cheesy Arena is written using [Go](http://golang.org), a relatively new language developed by Google. 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.
SQLite3 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 pregenerated 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 pregenerated 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 configured via Telnet commands for the new set of teams when each mach is loaded.
##Contributing
Cheesy Arena is far from finished! You can help by:
* Checking out the [TODO list](TODO.md), writing a missing feature, and sending a pull request
* Filing any bugs or feature requests using the [issue tracker](https://github.com/Team254/cheesy-arena/issues)
* Contributing documentation to the [wiki](https://github.com/Team254/cheesy-arena/wiki)
* Sending baked goods to Pat
##Acknowledgements
The following individuals contributed to make Cheesy Arena a reality:
* Tom Bottiglieri
* James Cerar
* Travis Covington
* Nick Eyre
* Patrick Fairbank
* Eugene Fang
* Karthik Kanagasabapathy
* Ken Mitchell
* Andrew Nabors
* Jared Russell
* Austin Schuh
* Colin Wilson