MainPanel prototype
This commit is contained in:
@@ -38,7 +38,7 @@ public class EseraDetection implements AutoCloseable{
|
||||
for (int i=0; i<NUMBER_OF_PUCKS; i++ ){
|
||||
try{
|
||||
List det = (List) l.get(i);
|
||||
puckState[i].set(det.get(0).equals(0), det.get(1).equals(0));
|
||||
puckState[i].set((det.get(0).equals(0)) ? 1 : 0, (det.get(1).equals(0)) ? 1 : 0);
|
||||
} catch (Exception ex){
|
||||
puckState[i].clear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user