Commit Graph

143 Commits

Author SHA1 Message Date
Patrick Fairbank
dd78c04c7f Add playoff series status indicator to in-match overlay. 2022-08-17 20:22:42 -07:00
Patrick Fairbank
2a228a4725 Refactor playoff series status text on audience display to use matchup data. 2022-08-17 18:38:21 -07:00
Patrick Fairbank
476daa8c5c Add setting to choose between single- and double-elimination. 2022-08-16 20:57:29 -07:00
Patrick Fairbank
bfc5e56fc9 Refactor playoff bracket logic to more easily support alternative formats. 2022-08-03 20:59:12 -07:00
Patrick Fairbank
38518b0dd4 Refactor alliance storage to use a single object per alliance instead of one per alliance-team association. 2022-07-31 12:38:40 -07:00
Patrick Fairbank
094be1ce5b Show playoff alliance numbers and 4th teams on announcer display. 2022-07-29 16:39:27 -07:00
Patrick Fairbank
3236456089 Allow setting a custom name for a test match. 2022-07-24 18:29:31 -07:00
Patrick Fairbank
8962b48f3e Add sound when match result is shown (closes #120). 2022-04-30 15:12:32 -07:00
Patrick Fairbank
d4d4292b6f Add warning sound when there is one minute remaining in a timeout (closes #121). 2022-04-30 15:12:25 -07:00
Jeff S
d369fddab3 Add a wrong station state to the field monitor 2021-10-20 16:08:36 -07:00
Patrick Fairbank
6cea008524 Convert ScheduleBlock, SponsorSlide, and UserSession models to use Bolt DB and clean up remaining SQLite artifacts. 2021-05-16 11:24:30 -07:00
Patrick Fairbank
ec71975e93 Convert Ranking and Team models to use Bolt DB. 2021-05-16 11:22:31 -07:00
Patrick Fairbank
1d523c5f37 Convert EventSettings, Match, and MatchResult models to use Bolt DB. 2021-05-16 11:19:44 -07:00
Patrick Fairbank
bd3921ce08 Add table wrapper struct for using Bolt DB instead of SQLite. 2021-05-16 11:01:35 -07:00
Patrick Fairbank
7028891d84 Fix imports after enabling modules. 2021-05-16 11:00:29 -07:00
Ken Schenke
2b414bcc69 Merge branch 'master' into lite 2020-04-16 18:02:00 -05:00
Patrick Fairbank
ad509aed5a Send reset signal to PLC on match load and again on match start. 2020-04-14 20:09:09 -07:00
Ken Schenke
f075b7bb8d Remove game-specific scoring 2020-04-14 19:38:14 -05:00
Patrick Fairbank
4e74a7a4cd Decode ArmorBlock status register from PLC and surface individual statuses on Match Play page. 2020-04-04 23:53:35 -07:00
Patrick Fairbank
3739cd8690 Implement PLC integration for all outputs. 2020-04-04 22:48:20 -07:00
Patrick Fairbank
ae4b03dfbc Implement PLC integration for the shield generator rung. 2020-04-04 21:54:35 -07:00
Patrick Fairbank
7f6277d42b Implement PLC integration for the control panel. 2020-04-04 21:54:28 -07:00
Patrick Fairbank
783791d42c Implement PLC integration for the power port. 2020-04-04 16:48:58 -07:00
Patrick Fairbank
0ed6f771d5 Move ControlPanel to within RealtimeScore to reduce complexity. 2020-04-04 15:59:05 -07:00
Patrick Fairbank
30b0679b6e Add ethernet connected, trip time, missed packets, and tooltips to the field monitor (closes #63). 2020-03-31 20:04:45 -07:00
Patrick Fairbank
7c7b90f8cc Refactor event status to include cycle time calculation. 2020-03-29 18:40:19 -07:00
Patrick Fairbank
d9437403e9 Fix bug with prematurely purging placeholder displays. 2020-03-29 17:07:37 -07:00
Patrick Fairbank
f12d37778e Refactor display registry to not broadcast all config changes to all displays. 2020-03-29 16:55:53 -07:00
Patrick Fairbank
305db8e0f2 Periodically purge unconnected displays. 2020-03-29 14:31:32 -07:00
Patrick Fairbank
df9c5dfbd9 Refactor to merge Match.Status and Match.Winner fields into one. 2020-03-29 00:04:15 -07:00
Patrick Fairbank
14c9815980 Calculate event lateness periodically to improve accuracy. 2020-03-28 23:13:41 -07:00
Patrick Fairbank
244ddce9e4 Decouple lower third from audience display mode so that it can be shown on top of other elements. 2020-03-28 14:37:26 -07:00
Patrick Fairbank
d33d10982c Show ranking changes on audience and announcer displays. 2020-03-27 22:17:27 -07:00
Patrick Fairbank
2f7d186554 Add field to Ranking model to track previous rank. 2020-03-27 22:12:27 -07:00
Patrick Fairbank
9d3100e65a Show timeout countdown on alliance station display and don't automatically trigger timeout overlay on audience display. 2020-03-26 20:27:38 -07:00
Patrick Fairbank
31505b265f Add Plc.IsEnabled() method and refactor places that were checking settings directly to use it instead. 2020-03-22 17:42:37 -07:00
Patrick Fairbank
27dc4a8773 Send out game data when Stage 3 capacity is reached. 2020-03-22 17:30:07 -07:00
Patrick Fairbank
80454117c7 Remove PLC functionality specific to the 2019 game. 2020-03-22 13:38:49 -07:00
Patrick Fairbank
60ad05199a Fire a realtime score notification at teleop start for Stage 1 activation. 2020-03-21 23:43:42 -07:00
Patrick Fairbank
712d739290 Simpify scoring model and fix RungIsLevel bonus logic. 2020-03-21 12:41:04 -07:00
Patrick Fairbank
ad1dd1ef64 Remove pre-match scoring enforcement since it's not needed for 2020. 2020-03-20 22:39:31 -07:00
Patrick Fairbank
938145109c Make Stage 1-3 capacity configurable in settings. 2020-03-20 22:29:25 -07:00
Patrick Fairbank
afcaa0e07c Update score/ranking models for 2020. 2020-03-18 22:42:36 -07:00
Patrick Fairbank
24a069d959 Update game sounds for 2020. 2020-03-15 22:26:21 -07:00
Patrick Fairbank
49758eaafd Refactor Rules to have an ID that is referenced instead of copying details everywhere. 2020-03-15 21:23:52 -07:00
Patrick Fairbank
20724ba0e1 Expand configurable period timings and adjust game sounds timing accordingly. 2020-03-15 15:55:30 -07:00
Ken Schenke
76ca5a4dcd Custom match times 2019-12-18 16:27:45 -06:00
Ed Jordan
b57e4b8b7e Set stack light to green on during the match. 2019-10-12 14:25:10 -07:00
Patrick Fairbank
e947151bb3 Turn off cargo ship lights during sandstorm period as well. 2019-09-22 10:34:13 -07:00
Patrick Fairbank
a39f3a0bd0 Use sequential new display IDs to preserve sorting on setup page. 2019-09-14 17:33:53 -07:00