mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-09 13:46:44 -04:00
Set stack light to green on during the 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