Decode ArmorBlock status register from PLC and surface individual statuses on Match Play page.

This commit is contained in:
Patrick Fairbank
2020-04-04 23:53:25 -07:00
parent 3739cd8690
commit 4e74a7a4cd
8 changed files with 102 additions and 11 deletions

View File

@@ -123,6 +123,9 @@
<p>
<span class="label label-scoring" id="plcStatus"></span><br />
<span class="label label-scoring" id="fieldEstop">E-Stop</span>
{{range $name, $status := .PlcArmorBlockStatuses}}
<br /><span class="label label-scoring" id="plc{{$name}}Status">{{$name}}</span>
{{end}}
</p>
{{end}}
</div>