Commit Graph

117 Commits

Author SHA1 Message Date
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
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
eed1f9b660 Remove LED code since it's unused in 2019.
Revert this commit to bring it back in a future year.
2019-08-09 20:39:57 -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
692135f721 Implement scoring panel web interface for 2019. 2019-08-03 00:46:44 -07:00
Patrick Fairbank
f601d1d391 Update audience display score overlay for 2019. 2019-07-27 14:57:02 -07:00
Patrick Fairbank
48055dc5ca Remove game-specific data functionality. 2019-07-27 12:09:35 -07:00
Patrick Fairbank
ad1891cd91 Update game module and dependents for the 2019 game. 2019-07-21 17:52:34 -07:00
Patrick Fairbank
e755913151 Refactor match sounds such that they only need to be listed in one place. 2019-07-20 23:23:26 -07:00
Patrick Fairbank
02fa6954bd Centralize some match-type-dependent logic. 2019-07-20 22:42:56 -07:00
Patrick Fairbank
016fcc907b Remove 2018-game-specific field/plc/led code. 2019-07-20 22:41:35 -07:00
Patrick Fairbank
adb0bbada1 Add framework for playing game sounds at arbitrary times during the match. 2019-04-12 18:40:35 -07:00
Patrick Fairbank
3f48e4fb92 Refactor sound playing into its own method. 2019-04-12 17:48:09 -07:00
Patrick Fairbank
5ed1204379 Remove 'endgame' match state since it's just used for playing a sound. 2019-04-12 17:38:58 -07:00
Patrick Fairbank
0f74de7ad8 Fix tests after last change. 2019-04-12 17:32:40 -07:00
Patrick Fairbank
74c1063a2d Remove warmup and pause periods for 2019 scrimmage. 2019-04-05 23:46:18 -07:00
Patrick Fairbank
f993736d17 Remove flaky test. 2018-11-11 15:13:48 -08:00
Patrick Fairbank
fa303b0cbb Fix bugs and test in pull request. 2018-11-11 11:42:51 -08:00
Patrick Fairbank
38e4d28eac Fix formatting, typo, and bug from pull request. 2018-11-11 11:31:56 -08:00
Ed Jordan
67b27ee700 added dsLinnked to Log files 2018-11-11 11:26:26 -08:00
Ed Jordan
d8f69d4fc5 Updated Scale green to not lock on 2018-11-11 11:26:26 -08:00