This commit is contained in:
@@ -181,8 +181,12 @@ public class Controller {
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isLocalMode(){
|
||||
return getWorkingMode().equals("local");
|
||||
public boolean isManualMode(){
|
||||
try {
|
||||
return getMainFrame().eval("is_manual_mode()", true).equals(true);
|
||||
} catch (Exception ex) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public void imageDetectPucks() throws Context.ContextStateException {
|
||||
|
||||
Reference in New Issue
Block a user