mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-09 13:46:44 -04:00
Decode ArmorBlock status register from PLC and surface individual statuses on Match Play page.
This commit is contained in:
@@ -187,6 +187,9 @@ var handleArenaStatus = function(data) {
|
||||
$("#plcStatus").attr("data-ready", false);
|
||||
}
|
||||
$("#fieldEstop").attr("data-ready", !data.FieldEstop);
|
||||
$.each(data.PlcArmorBlockStatuses, function(name, status) {
|
||||
$("#plc" + name + "Status").attr("data-ready", status);
|
||||
});
|
||||
};
|
||||
|
||||
// Handles a websocket message to update the match time countdown.
|
||||
|
||||
Reference in New Issue
Block a user