mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-09 21:56:50 -04:00
Merge pull request #98 from ejordan376/master
Fix stack light so green light stays on during match
This commit is contained in:
@@ -753,10 +753,12 @@ func (arena *Arena) handlePlcOutput() {
|
||||
arena.Plc.SetCargoShipMagnets(true)
|
||||
arena.Plc.SetRocketLights(false, false)
|
||||
case AutoPeriod:
|
||||
arena.Plc.SetStackLights(false, false, false, true)
|
||||
fallthrough
|
||||
case PausePeriod:
|
||||
arena.Plc.SetCargoShipLights(false)
|
||||
case TeleopPeriod:
|
||||
arena.Plc.SetStackLights(false, false, false, true)
|
||||
if arena.lastMatchState != TeleopPeriod {
|
||||
arena.Plc.SetSandstormUp(true)
|
||||
go func() {
|
||||
|
||||
Reference in New Issue
Block a user