Commit Graph

103 Commits

Author SHA1 Message Date
Patrick Fairbank
996331d60c Implement bracket audience display for single-elimination. 2022-08-20 17:50:27 -07:00
Patrick Fairbank
5426d56de5 Implement bracket audience display for double-elimination. 2022-08-20 17:48:45 -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
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
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
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
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
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
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
969f0f1c80 Fix match sounds after timeout. 2019-09-14 13:18:08 -07:00
Patrick Fairbank
edd3923fb4 Automatically reconfigure the network for the next match 10 seconds after the current one ends. 2019-08-31 00:26:27 -07:00
Patrick Fairbank
1c37b0fc06 Enable using one access point for each alliance. 2019-08-30 22:36:39 -07:00
Patrick Fairbank
6efc3108e8 Implement sandstorm/cargo ship/rocket PLC outputs. 2019-08-08 22:41:51 -07:00
Patrick Fairbank
5b66b5856d Implement PLC-driven field reset light. 2019-08-08 22:03:13 -07:00
Patrick Fairbank
a603840b0d Implement orange stack light. 2019-08-08 21:32:57 -07:00
Patrick Fairbank
06a91b8a3c Enforce that pre-match scoring is set validly before starting a match. 2019-08-04 13:50:20 -07:00
Patrick Fairbank
2609f121f6 Refactor scoring panel to support independant score commits for each active instance. 2019-08-03 13:21:16 -07:00
Patrick Fairbank
48055dc5ca Remove game-specific data functionality. 2019-07-27 12:09:35 -07:00