This commit is contained in:
@@ -173,6 +173,18 @@ public class Controller {
|
||||
}
|
||||
}
|
||||
|
||||
public String getWorkingMode(){
|
||||
try {
|
||||
return String.valueOf(getMainFrame().eval("robot.working_mode", true));
|
||||
} catch (Exception ex) {
|
||||
return "Unknown";
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isLocalMode(){
|
||||
return getWorkingMode().equals("local");
|
||||
}
|
||||
|
||||
public void imageDetectPucks() throws Context.ContextStateException {
|
||||
imageDetectPucks(null, null, null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user