Aded puck detection using Esera
This commit is contained in:
@@ -57,7 +57,6 @@ public class PuckDetection extends DeviceBase{
|
||||
watchDog.start();
|
||||
}
|
||||
|
||||
|
||||
void subscriberTask(){
|
||||
try{
|
||||
setState(State.Ready);
|
||||
@@ -68,9 +67,9 @@ public class PuckDetection extends DeviceBase{
|
||||
try{
|
||||
while (!Thread.currentThread().isInterrupted()) {
|
||||
String type = subscriber.recvStr();
|
||||
System.out.println(type);
|
||||
//System.out.println(type);
|
||||
String contents = subscriber.recvStr();
|
||||
System.out.println(contents);
|
||||
//System.out.println(contents);
|
||||
processMessage(contents);
|
||||
if (MainPanel.getInstance()!=null){
|
||||
MainPanel.getInstance().repaint();
|
||||
|
||||
Reference in New Issue
Block a user