/** Get the average vertical position reading from the last turn * */ public double getYAvg() { double yavg = 0.0; try { yavg = bpmNode.getYAvg(); } catch (ConnectionException e) { System.out.println("Could not connect with:" + bpmNode.getId()); } catch (GetException e) { System.out.println("Could not get value from:" + bpmNode.getId()); } return yavg; }
/** Name of the BPM as given by its unique ID */ public String name() { return bpmNode.getId(); }